From: Frode R. <fro...@er...> - 2001-03-09 23:58:25
|
Hi Kent, This is because a bug in MRJ. Some time it return wrong number of byte read from the file. Finn have add a workaround to the CVS version. I have not get time to test the CVS version. I have made my own hack on Jython 2.0 to be able to run it. Are you not able to run the CVS version send me a mail and I can send you my hack. -- /Frode Reinsnes > 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 > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-users > |