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
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
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
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
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