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 woo yoo
Recipients docs@python, woo yoo
Date 2016-12-17.13:41:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481982064.72.0.399504561165.issue29000@psf.upfronthosting.co.za>
In-reply-to
Content
Per the documentation,"The alternate form causes a leading octal specifier ('0o') to be inserted before the first digit", However the actual behavior didn't conform to the principle.

Code:
>>>b'%#07o' % 34

Output: b'0000o42'
History
Date User Action Args
2016-12-17 13:41:04woo yoosetrecipients: + woo yoo, docs@python
2016-12-17 13:41:04woo yoosetmessageid: <1481982064.72.0.399504561165.issue29000@psf.upfronthosting.co.za>
2016-12-17 13:41:04woo yoolinkissue29000 messages
2016-12-17 13:41:04woo yoocreate