Antoine Pitrou added the comment: Eric, your diagnostic looks right, format() gets confused when it tries to remove padding characters to account for the added thousands separators. It does not check that there were padding characters in the first place, and it assumes that the thousands separator is not a space character itself.
Since Georg Brandl and Martin von Loewis are listed as co-authors, I add them to the cc list ;) ---------- nosy: +georg.brandl, loewis __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1222> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com