[issue33305] Improve syntax error for numbers with leading zero
Serhiy Storchaka
report at bugs.python.org
Wed Apr 18 05:35:43 EDT 2018
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
It still can cause when copy octal constants from other languages or from old Python 2 books and articles.
Perhaps it should emit SyntaxWarning if all digits are in range 0-7 and the number is larger than 7.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33305>
_______________________________________
More information about the Python-bugs-list
mailing list