[issue24612] not operator expression raising a syntax error

Stefan Behnel report at bugs.python.org
Sat Jul 11 21:13:59 CEST 2015


Stefan Behnel added the comment:

Hmm, right. I see your point and also the analogy with "yield". I could live with (maybe) giving it a better error message suggesting to use parentheses for clarity and otherwise keeping it a SyntaxError.

----------

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


More information about the Python-bugs-list mailing list