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 <rep...@bugs.python.org> <http://bugs.python.org/issue17705> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com