[issue1580] Use shorter float repr when possible

Christian Heimes report at bugs.python.org
Tue Dec 11 10:11:02 CET 2007

Christian Heimes added the comment:

It's really a shame. It was a nice idea ...

Could we at least use the new formating for str(float) and the display
of floats? In Python 2.6 floats are not displayed with repr(). They seem
to use yet another hook.

>>> repr(11./5)
>>> 11./5
>>> str(11./5)

Tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list