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 mgedmin
Recipients benjamin.peterson, mgedmin, serhiy.storchaka
Date 2014-02-15.12:41:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392468098.22.0.609521985143.issue20608@psf.upfronthosting.co.za>
In-reply-to
Content
I see that I misunderstood Serhiy's comment.  I assumed he meant the caret will be pointing to the 1st digit that is invalid.  Instead what actually happens is that E_TOKEN is emitted only if the 1st digit after the 0x/0o/0b prefix is invalid.

So, I get the nice error messages for 0b2, 0o8, 0xz and 0e-x (but the caret incorrectly points to the previous character).
History
Date User Action Args
2014-02-15 12:41:38mgedminsetrecipients: + mgedmin, benjamin.peterson, serhiy.storchaka
2014-02-15 12:41:38mgedminsetmessageid: <1392468098.22.0.609521985143.issue20608@psf.upfronthosting.co.za>
2014-02-15 12:41:38mgedminlinkissue20608 messages
2014-02-15 12:41:37mgedmincreate