Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #24787
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: 2to6 ? |
| Date | 2012-07-02 15:24 -0400 |
| References | <a50k2nFh5gU1@mid.individual.net> <mailman.1556.1340820431.4697.python-list@python.org> <a5drg8Fu12U1@mid.individual.net> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1719.1341257123.4697.python-list@python.org> (permalink) |
On 7/2/2012 11:02 AM, Thomas Heller wrote: > 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 I had not, obviously. I'm glad you found it and hope it works for you. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
2to6 ? Thomas Heller <theller@ctypes.org> - 2012-06-27 16:36 +0200
Re: 2to6 ? Terry Reedy <tjreedy@udel.edu> - 2012-06-27 14:06 -0400
Re: 2to6 ? Thomas Heller <theller@ctypes.org> - 2012-07-02 17:02 +0200
Re: 2to6 ? Terry Reedy <tjreedy@udel.edu> - 2012-07-02 15:24 -0400
csiph-web