Issue475445
Created on 2001-10-26.22:14:11 by anonymous, last changed 2001-10-30.20:16:40 by bckfnn.
History | |||
---|---|---|---|
Date | User | Action | Args |
2001-10-26 22:14:11 | anonymous | create |
Created on 2001-10-26.22:14:11 by anonymous, last changed 2001-10-30.20:16:40 by bckfnn.
Messages | |||
---|---|---|---|
msg431 (view) | Author: Nobody/Anonymous (nobody) | Date: 2001-10-26.22:14:11 | |
The following three-line python program works as expected when stored in a file and run through python: for t in range(10): # a comment print t However the Jython interpreter, even in version 2.1a3, chokes on the comment inside the block: $ ./jython < bug.py Jython 2.1a3 on java1.3.1_01 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> ... Traceback (innermost last): (no code object) at line 0 File "<console>", line 2 # a comment ^ SyntaxError: invalid syntax >>> Traceback (innermost last): File "<console>", line 1, in ? NameError: t >>> |
|||
msg432 (view) | Author: Nobody/Anonymous (nobody) | Date: 2001-10-26.22:17:51 | |
Logged In: NO Although the bug submission has stripped leading blanks in lines 2 and 3 of the example, they are necessary for the bug report to make sense. To duplicate the bug, indent lines 2 and 3 ... |
|||
msg433 (view) | Author: Finn Bock (bckfnn) | Date: 2001-10-30.20:16:40 | |
Logged In: YES user_id=4201 Added as test329.py |
History | |||
---|---|---|---|
Date | User | Action | Args |
2001-10-26 22:14:11 | anonymous | create |
Supported by Python Software Foundation,
Powered by Roundup