Serhiy Storchaka <storchaka+cpyt...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue33305> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com