[issue17705] Fill Character cannot be \0

Jason Michalski report at bugs.python.org
Sat Apr 13 22:57:04 CEST 2013


Jason Michalski added the comment:

I worked on a patch that allows NUL padding for longs, floats and complex numbers. It seems NUL was being used as a sentinel in the format string parsing when no padding character is given. It was then replaced with a space in each call to fill_padding if it was NUL.

----------
keywords: +patch
nosy: +Jason.Michalski
Added file: http://bugs.python.org/file29827/cpython-3.3-17705.patch

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


More information about the Python-bugs-list mailing list