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 serhiy.storchaka
Recipients docs@python, ethan.furman, r.david.murray, serhiy.storchaka, woo yoo
Date 2016-12-17.15:18:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481987902.1.0.551264145122.issue29000@psf.upfronthosting.co.za>
In-reply-to
Content
This is not documentation issue, but a bug in formatting octals in bytes.

>>> '%#07x' % 123
'0x0007b'
>>> b'%#07x' % 123
b'0x0007b'
>>> '%#07o' % 123
'0o00173'
>>> b'%#07o' % 123
b'000o173'
     ^
History
Date User Action Args
2016-12-17 15:18:22serhiy.storchakasetrecipients: + serhiy.storchaka, r.david.murray, docs@python, ethan.furman, woo yoo
2016-12-17 15:18:22serhiy.storchakasetmessageid: <1481987902.1.0.551264145122.issue29000@psf.upfronthosting.co.za>
2016-12-17 15:18:22serhiy.storchakalinkissue29000 messages
2016-12-17 15:18:21serhiy.storchakacreate