[Python-3000] lib2to3 refactor.py has a lot of 2.6-isms
python at rcn.com
Fri Jul 25 06:34:48 CEST 2008
The intended upgrade path is through 2.6.
If you go straight from 2.5, you don't get
to go through a step with the -3 warnings
and optional text/bytes annotations.
IMO, it would be a mistake to create a 2.5 to 3.0 converter.
----- Original Message -----
From: "Robert Brewer" <fumanchu at aminus.org>
To: "Python 3000" <python-3000 at python.org>
Sent: Thursday, July 24, 2008 9:24 PM
Subject: [Python-3000] lib2to3 refactor.py has a lot of 2.6-isms
> The README at
> says: "2to3 must be run (at the moment) with Python 2.x!" However, it
> doesn't even import under 2.5.2 because of print() statements,
> 'Exception as err', .relative imports, etc.
> Is this an attempt to make people upgrade to 2.6 before converting to 3?
> Or is the desire to eventually run under 3.0? If neither, would y'all
> welcome a version that ran under 2.5? I'd be happy to try my hand at
> Robert Brewer
> fumanchu at aminus.org
> Python-3000 mailing list
> Python-3000 at python.org
> Unsubscribe: http://mail.python.org/mailman/options/python-3000/python%40rcn.com
More information about the Python-3000