[Python-Dev] FixedPoint and % specifiers.

Guido van Rossum guido@python.org
Wed, 05 Feb 2003 20:38:29 -0500


> I sure wouldn't <wink>.  Note that use of %f ends up calling
> FixedPoint.__float__(), though, and so sucks users right back into
> binary fp surprises:

Hm, maybe we should have an optional __format_as_float_string__ method
that the %f and %g specifiers can use.

--Guido van Rossum (home page: http://www.python.org/~guido/)