[Python-Dev] Shorter float repr in Python 3.1?

Aahz aahz at pythoncraft.com
Tue Apr 7 18:01:31 CEST 2009

On Tue, Apr 07, 2009, Mark Dickinson wrote:
> Executive summary (details and discussion points below)
> =================
> Some time ago, Noam Raphael pointed out that for a float x,
> repr(x) can often be much shorter than it currently is, without
> sacrificing the property that eval(repr(x)) == x, and proposed
> changing Python accordingly.  See
> http://bugs.python.org/issue1580

Sounds good to me!  
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"...string iteration isn't about treating strings as sequences of strings, 
it's about treating strings as sequences of characters.  The fact that
characters are also strings is the reason we have problems, but characters 
are strings for other good reasons."  --Aahz

More information about the Python-Dev mailing list