Message137285
>>> compile('def foo(', '', 'exec')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "", line 1
def foo(
^
SyntaxError: unexpected EOF while parsing
vs
>>> compile('from __future__ import print_function\ndef foo(', '', 'exec')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "", line 2
def foo(
^
SyntaxError: invalid syntax |
|
Date |
User |
Action |
Args |
2011-05-30 14:54:57 | Ronny.Pfannschmidt | set | recipients:
+ Ronny.Pfannschmidt |
2011-05-30 14:54:57 | Ronny.Pfannschmidt | set | messageid: <1306767297.7.0.76540444561.issue12216@psf.upfronthosting.co.za> |
2011-05-30 14:54:57 | Ronny.Pfannschmidt | link | issue12216 messages |
2011-05-30 14:54:56 | Ronny.Pfannschmidt | create | |
|