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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com