[issue31161] Only check for print and exec parentheses cases for SyntaxError, not subclasses
Martijn Pieters
report at bugs.python.org
Sun Aug 13 10:52:37 EDT 2017
Martijn Pieters added the comment:
This does not increase clarity. It creates confusion.
There are two distinct syntax errors, and they should be reported separately, just like `print "abc" 42` is two syntax errors; you'll hear about the second one once the first one is fixed.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31161>
_______________________________________
More information about the Python-bugs-list
mailing list