Message6685
The attached Jython code, with a comment following some code at the same indentation level and no newline at the end of the file, causes a SyntaxError:
File "../jythonfun.py", line 4
# comment
^
SyntaxError: required (...)+ loop did not match anything at character '<EOF>'
With a newline at the end of the file, it's fine. In CPython, it's fine with or without the trailing newline. |
|
Date |
User |
Action |
Args |
2011-10-27 10:22:33 | glyphobet | set | recipients:
+ glyphobet |
2011-10-27 10:22:33 | glyphobet | set | messageid: <1319710953.26.0.695847312054.issue1812@psf.upfronthosting.co.za> |
2011-10-27 10:22:33 | glyphobet | link | issue1812 messages |
2011-10-27 10:22:32 | glyphobet | create | |
|