[issue7237] Syntax error with not
David W. Lambert
report at bugs.python.org
Thu Oct 29 16:56:27 CET 2009
New submission from David W. Lambert <b49P23TIvg at stny.rr.com>:
lambertdw$ p3
Python 3.1.1 (r311:74480, Oct 2 2009, 12:29:57)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> not 23
False
>>> not(23&1)
False
>>> 1+not(23&1)
File "<stdin>", line 1
1+not(23&1)
^
SyntaxError: invalid syntax
>>>
----------
components: Interpreter Core
messages: 94675
nosy: LambertDW
severity: normal
status: open
title: Syntax error with not
type: compile error
versions: Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7237>
_______________________________________
More information about the Python-bugs-list
mailing list