[issue7237] Syntax error with not

Benjamin Peterson report at bugs.python.org
Fri Oct 30 01:56:15 CET 2009


Benjamin Peterson <benjamin at python.org> added the comment:

I believe this is actually correct. not does not bind its operand as
powerfully as + does. Thus the parser sees (1 + not) x, which is quite
correctly a syntax error.

----------
nosy: +benjamin.peterson

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


More information about the Python-bugs-list mailing list