[Python-ideas] Create Python 2.8 as a transition step to Python 3.x

Chris Angelico rosuav at gmail.com
Sat Jan 18 05:49:39 CET 2014


On Sat, Jan 18, 2014 at 2:22 PM, Neil Schemenauer
<nas-python at arctrix.com> wrote:
> - it would be a huge amount of work.  There are thousands of
>   commits to Python 3.x since it was branched.  Most of them are not
>   related to the above features but back porting them would still be
>   a huge effort.  I tried backport 'print' as a function just to get
>   an idea of the work.
>

Guido's time machine strikes again. Put this at the top of your script
and run it under 2.7 or 2.6:

from __future__ import print_function

ChrisA


More information about the Python-ideas mailing list