Mika Eloranta added the comment:
Mark, can you explain why the first example is valid syntax, but the second one
is not:
>>> 0xaor 1
10
>>> 0xaand 1
File "<stdin>", line 1
0xaand 1
^
SyntaxError: invalid syntax
I do understand how "0xaor 1" is currently parsed, but I'm not still convinced
it should be valid syntax ("0xa or 1" or "(0xa)or 1" would be ok).
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue21979>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com