[New-bugs-announce] [issue29000] Not matched behavior within printf style bytes formatting
woo yoo
report at bugs.python.org
Sat Dec 17 08:41:04 EST 2016
New submission from woo yoo:
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'
----------
assignee: docs at python
components: Documentation
messages: 283485
nosy: docs at python, woo yoo
priority: normal
severity: normal
status: open
title: Not matched behavior within printf style bytes formatting
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29000>
_______________________________________
More information about the New-bugs-announce
mailing list