Pablo Galindo Salgado <[email protected]> added the comment:
There is some discrepancy with the codeop module when running with the new
parser:
./python -c "import codeop; codeop.CommandCompiler()('raise = 2\n\n',
symbol='exec')"
(No error)
./python -Xoldparser -c "import codeop; codeop.CommandCompiler()('raise =
2\n\n', symbol='exec')"
...
File "<input>", line 1
raise = 2
^
SyntaxError: invalid syntax
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40334>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com