Message3612
$ echo -en "print 'Hello'\n " > test.py
$ /opt/jython2.5a3/jython test.py
Traceback (most recent call last):
(no code object) at line 0
File "test.py", line 2
^
SyntaxError: line 2:2 mismatched input '' expecting EOF (test.py, line 2)
$ echo -en "def hello():\n print 'Hello'\n " > test.py
$ /opt/jython2.5a3/jython test.py
Traceback (most recent call last):
(no code object) at line 0
File "test.py", line 3
^
IndentationError: unindent does not match any outer indentation level
(test.py, line 3)
$ echo -en "class Foo:\n def hello(self):\n print 'Hello'\n " > test.py
$ /opt/jython2.5a3/jython test.py
Traceback (most recent call last):
(no code object) at line 0
File "test.py", line 4
^
SyntaxError: line 4:2 mismatched input '' expecting DEDENT (test.py, line 4) |
|
Date |
User |
Action |
Args |
2008-09-23 10:55:04 | yanne | set | recipients:
+ yanne |
2008-09-23 10:55:04 | yanne | set | messageid: <1222167304.18.0.519983062807.issue1136@psf.upfronthosting.co.za> |
2008-09-23 10:55:04 | yanne | link | issue1136 messages |
2008-09-23 10:55:03 | yanne | create | |
|