[issue1588] str.format() wrongly formats complex() numbers (Py30a2)

Eric Smith report at bugs.python.org
Mon Apr 27 19:07:00 CEST 2009


Eric Smith <eric at trueblade.com> added the comment:

> More specifically, how about allowing widths, and the
> '<', '>' and '^' alignment specifiers, but not '=', or
> '0' for zero-padding.

That sounds correct.

> I suppose that thousands separators should be permitted
> here too?  Though it's difficult to imagine anyone actually
> using them.  If we allow ',' but not '0' then we avoid
> the crazy zero-padding--thousands-separators interaction.

That was my thinking, too.

----------

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


More information about the Python-bugs-list mailing list