[issue12546] str.format cannot fill with \x00 char
Eric V. Smith
report at bugs.python.org
Wed Jul 13 10:24:56 CEST 2011
Eric V. Smith <eric at trueblade.com> added the comment:
\x00 is used as a flag internally meaning "use the default fill character". That's clearly a bug. I'll look at fixing it.
I think there are other places in the built in __format__ functions where special values are used instead of flags. I'll review those as well.
Thanks for the report!
----------
assignee: -> eric.smith
components: +Interpreter Core -Library (Lib)
stage: -> needs patch
versions: +Python 3.2, Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12546>
_______________________________________
More information about the Python-bugs-list
mailing list