Marius Gedminas added the comment:
Version 3 of the patch catches bad digits in the middle of a literal, like this:
>>> 0o01010118001
File "<stdin>", line 1
0o01010118001
^
SyntaxError: bad digit in octal literal
----------
Added file: http://bugs.python.org/file34092/better-errors-v3.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue20608>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com