float default formatting

Bernard Delmée bdelmee at advalvas.REMOVEME.be
Sat Mar 26 13:49:00 CET 2005

> Are you trying to do currency?  There are better ways, using the locale
> methods.

No, just dumping some data structures and I'd rather not
check every item's type and format floats explicitly.
I was hoping the sprintf mask float's __str__ probably
uses was somehow exposed and could be altered.

More information about the Python-list mailing list