Marius Gedminas added the comment:

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).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20608>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to