This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steven.daprano
Recipients BTaskaya, serhiy.storchaka, steven.daprano, wyz23x2
Date 2020-02-11.12:21:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581423668.44.0.518697699851.issue39608@roundup.psfhosted.org>
In-reply-to
Content
Its not a bug, it's deliberately designed that way. 0000 is not ambiguous: it's just zero, in any base. 0012 is ambiguous.

There's a recent thread about it here:

https://mail.python.org/archives/list/python-ideas@python.org/message/7IKEXSMVVDOTLHA7CNI7MIOBK4EU2ZSG/


If you want to change the behaviour, your first step is to get a consensus on the mailing list that it should change.
History
Date User Action Args
2020-02-11 12:21:08steven.dapranosetrecipients: + steven.daprano, serhiy.storchaka, BTaskaya, wyz23x2
2020-02-11 12:21:08steven.dapranosetmessageid: <1581423668.44.0.518697699851.issue39608@roundup.psfhosted.org>
2020-02-11 12:21:08steven.dapranolinkissue39608 messages
2020-02-11 12:21:07steven.dapranocreate