[Python-3000] str.format() -- poss. code or doc bug?

Eric Smith eric+python-dev at trueblade.com
Fri Nov 30 16:52:43 CET 2007

Facundo Batista wrote:
> 2007/11/30, Mark Summerfield <mark at qtrac.eu>:
>> BTW I notice that decimal.Decimal() numbers can't be used with the 'e',
>> 'f', or 'g' formats. I know that these numbers aren't floating-point
>> under the hood, but this still seems a bit counter-intuitive to me.
> Adding __format__ to the Decimal data type is on my queue of pendings...

That's great to hear!

And backporting __format__ and friends back to trunk is on my pending 
list.  The fact that upgrading to Leopard broke my compilation 
environment isn't helping me out, unfortunately.

More information about the Python-3000 mailing list