Eric Smith <e...@trueblade.com> added the comment: The '0' fill character is forcing '=' alignment (per the PEP). This looks like a bug to me, since it should use the specified alignment.
This is not a float-only problem, it applies to the other built-in types as well: >>> format(2, '0<20') '00000000000000000002' >>> format(2, '1<20') '21111111111111111111' There are too many distinct issues combined here, I'll create a new issue just for this bug. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6871> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com