Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #24774

Re: 2to6 ?

From Thomas Heller <theller@ctypes.org>
Newsgroups comp.lang.python
Subject Re: 2to6 ?
Date 2012-07-02 17:02 +0200
Message-ID <a5drg8Fu12U1@mid.individual.net> (permalink)
References <a50k2nFh5gU1@mid.individual.net> <mailman.1556.1340820431.4697.python-list@python.org>

Show all headers | View raw


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


Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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