[issue1588] str.format() wrongly formats complex() numbers (Py30a2)
report at bugs.python.org
Tue Apr 28 13:15:44 CEST 2009
Eric Smith <eric at trueblade.com> added the comment:
Mark Dickinson wrote:
> The trailing zeros thing is heavily bound up with issue 5858, of course;
> I think we need a decision on that, one way or the other. One problem
> is that I'm only proposing the issue 5858 change for py3k, not trunk.
I don't have a problem with trunk's complex.__format__ not agreeing with
trunk's complex.__str__. If it's a big deal, we can just take
complex.__format__ completely out of trunk with a #define. In any event,
there's lots of time before 2.7 and not so much before 3.1, so let's
concentrate on trunk. Which is what I should have done with starting
this issue (but forward porting is easier for me that back porting).
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list