Re: 2to6 ?

2012-07-02 Thread Thomas Heller
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 -- http://mail.python.org/mailman/listinfo/python-list

Re: 2to6 ?

2012-07-02 Thread Terry Reedy
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 I had not, obviously. I'm glad you found it and hope it works for you. -- Terry Jan Reedy

2to6 ?

2012-06-27 Thread Thomas Heller
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? Thomas -- http://mail.python.org/mailman/listinfo/python-list

Re: 2to6 ?

2012-06-27 Thread 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

I wish for a tool named 2to6.

2010-07-11 Thread Zooko O'Whielacronx
programmers who want to do that: http://packages.python.org/six/ This note to the list is to express my wish for an automated tool named 2to6 which converts my Python 2.6 codebase to being both py2- and py2- compatible using Benjamin Peterson's six library. Regards, Zooko -- http://mail.python.org