This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mel
Recipients mark.dickinson, mel
Date 2014-07-14.11:26:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405337180.62.0.832457330603.issue21979@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2014-07-14 11:26:20melsetrecipients: + mel, mark.dickinson
2014-07-14 11:26:20melsetmessageid: <1405337180.62.0.832457330603.issue21979@psf.upfronthosting.co.za>
2014-07-14 11:26:20mellinkissue21979 messages
2014-07-14 11:26:20melcreate