[issue22551] Anything results in a SyntaxError after -u on 2.7.8 on Windows 7

Taylor Marks report at bugs.python.org
Fri Oct 3 23:32:03 CEST 2014


Taylor Marks added the comment:

Sorry for multiple consecutive posts... I don't see a way to edit prior posts. The stack trace I posted in my first message has the arrow in the wrong spot. It should actually be pointing to the first space after the closing brace.

Here's a simpler (and correct) stack trace:

$ python -u
>>> print("Test")
  File "<stdin>", line 1
    print("Test")
                 ^
SyntaxError: invalid syntax

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22551>
_______________________________________


More information about the Python-bugs-list mailing list