[issue43566] Docs say int('010', 0) is not legal, but it is
Chris Wilson added the comment: Actually, octal is not a legal literal in Python 3, sorry. -- resolution: -> rejected ___ Python tracker <https://bugs.python.org/issu
[issue43566] Docs say int('010', 0) is not legal, but it is
New submission from Chris Wilson : The documentation for the int() builtin says: Base 0 means to interpret exactly as a code literal, so that the actual base is 2, 8, 10, or 16, and so that int('010', 0) is not legal, while int('010') is, as well as int('010',