[Python-Dev] Backport new float repr to Python 2.7?

Eric Smith eric at trueblade.com
Mon Oct 12 17:00:53 CEST 2009


Glyph Lefkowitz wrote:

> I'd much rather have my doctests and float-repr'ing code break on 2.7 so 
> I can deal with it as part of a minor-version upgrade than have it break 
> on 3.x and have to deal with this at the same time as the unicode->str 
> explosion.  It feels like a backport of this behavior would make the 
> 2->3 transition itself a little easier.

I'm +0 on making the change, primarily for this reason.

We can reuse the vast majority of the code from 3.x.

Eric.


More information about the Python-Dev mailing list