[issue12546] str.format cannot fill with \x00 char

Davide Rizzo report at bugs.python.org
Wed Jul 13 10:36:14 CEST 2011


Davide Rizzo <sorcio at gmail.com> added the comment:

This patch removes the special meaning for \x00 and defines the default padding character (' ') in parse_internal_render_format_spec. Test included. Maybe the default padding character should be defined elsewhere?

----------
keywords: +patch
nosy: +davide.rizzo
Added file: http://bugs.python.org/file22639/format00.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12546>
_______________________________________


More information about the Python-bugs-list mailing list