From: Kent J. <kjo...@tr...> - 2001-03-09 23:09:54
|
Hello, I am experimenting with jython 2.0 on MacOS and I am getting some very strange syntax errors in the supplied Python library. For example: >>> import codecs Traceback (innermost last): File "<console>", line 1, in ? File "/Heron/Applications/jython-2.0/Lib/codecs.py", line 396 SyntaxError: Lexical error at line 396, column 41. Encountered: <EOF> after : "" >>> import httplib Traceback (innermost last): File "<console>", line 1, in ? File "/Heron/Applications/jython-2.0/Lib/httplib.py", line 580 SyntaxError: invalid syntax Looking at the indicated lines they look fine to me. For example the error in codecs.py is in the middle of a long doc comment. If I try to delete the offending line in httplib the error moves to another line. I am perplexed; I don't know if this is a Mac-related problem or what. Any help in tracking this down would be appreciated. Thanks, Kent Johnson Transparent Language, Inc. kjo...@tr... http://www.transparent.com |