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 martin.panter
Recipients docs@python, martin.panter, woo yoo
Date 2016-12-09.07:31:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481268686.11.0.227733454597.issue28916@psf.upfronthosting.co.za>
In-reply-to
Content
Looks like a leftover relic from Python 2. In Python 3, the prefix is “0o”, not just “0”. This matches to change in Python 2 to 3 octal literal syntax. And there is no special handling of zero in 3:

>>> "%#o" % 0
'0o0'
History
Date User Action Args
2016-12-09 07:31:26martin.pantersetrecipients: + martin.panter, docs@python, woo yoo
2016-12-09 07:31:26martin.pantersetmessageid: <1481268686.11.0.227733454597.issue28916@psf.upfronthosting.co.za>
2016-12-09 07:31:25martin.panterlinkissue28916 messages
2016-12-09 07:31:25martin.pantercreate