[Python-Dev] Language Summit Follow-Up
Terry Reedy
tjreedy at udel.edu
Thu May 29 18:30:14 CEST 2014
On 5/28/2014 6:26 PM, Glyph Lefkowitz wrote:
> I hope it's
> not controversial to say that most new Python code is still being
> written against Python 2.7 today;
Given that Python 3 downloads now outnumber Python 2 downloads, I think
'most' might be an overstatement. But I think it a moot point.
> if people are writing that code in such a way that it's not
> 3-friendly, it should be a more immediately noticeable issue.
If the truth were, conservatively, 1/4 of new Python code in 2.7, or
even less, I would still be in favor of making 3-friendly 2.7 code easier.
This is also important for the separate codebase approach, as in the
stdlib. Just last week, I got a rejected chunk when backporting because
a 2.7 idlelib module uses 'file(...' instead of 'open(...'.
--
Terry Jan Reedy
More information about the Python-Dev
mailing list