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