Message4706
Jython 2.5rc2 (Release_2_5rc2:6341, May 11 2009, 17:07:28)
[OpenJDK Client VM (Sun Microsystems Inc.)] on java1.6.0_0
double-intended/nested code read by the interpreter through manual entry
or a file read on stdin fails with a syntax error, but read as a file
specified as an argument to jython, it works fine.
$ jython test.py
True
$ jython <test.py
File "<stdin>", line 3
if True:
^
SyntaxError: mismatched input '' expecting INDENT
File "<stdin>", line 1
print 'True'
^
SyntaxError: no viable alternative at input ' ' |
|
Date |
User |
Action |
Args |
2009-05-22 02:56:42 | undefined | set | recipients:
+ undefined |
2009-05-22 02:56:42 | undefined | set | messageid: <1242961002.14.0.990774424224.issue1354@psf.upfronthosting.co.za> |
2009-05-22 02:56:41 | undefined | link | issue1354 messages |
2009-05-22 02:56:41 | undefined | create | |
|