2to6 ?

Thomas Heller theller at ctypes.org
Mon Jul 2 17:02:32 CEST 2012


Am 27.06.2012 20:06, schrieb Terry Reedy:
> On 6/27/2012 10:36 AM, Thomas Heller wrote:
>> Is there a tool, similar to 2to3, which converts python2 code
>> to code using six.py, so that it runs unchanged with python2
>> *and* python 3?
>
> Others have expressed a similar wish, but I do not know that anyone has
> actually revised 2to3 to make a 2to6, or how feasible that would be.
>

Has nobody heard of, or even tried, modernize?

http://pypi.python.org/pypi/modernize


Thomas






More information about the Python-list mailing list