New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>: >>> int('1_2_3_4_5_6_7_89', 16) 4886718345 >>> int('1_2_3_4_5_6_7_8_9', 16) Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: int string too large to convert
---------- components: Interpreter Core messages: 303240 nosy: georg.brandl, mark.dickinson, serhiy.storchaka priority: normal severity: normal status: open title: Strange error when convert hexadecimal with underscores to int versions: Python 3.6, Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31619> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com