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


Groups > comp.lang.python > #24529

Re: 2to6 ?

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!204.52.135.9.MISMATCH!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'converts': 0.07; 'tool,': 0.07; 'python': 0.09; '2to3': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'terry': 0.09; 'feasible': 0.16; 'message- id:@dough.gmane.org': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'runs': 0.22; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'am,': 0.27; 'header:X-Complaints-To:1': 0.28; 'unchanged': 0.29; 'subject: ?': 0.30; 'code': 0.31; 'anyone': 0.33; 'to:addr:python-list': 0.33; 'similar': 0.35; 'there': 0.35; 'received:org': 0.36; 'but': 0.36; 'be.': 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'thomas': 0.62; 'received:fios.verizon.net': 0.84; 'wish,': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: 2to6 ?
Date Wed, 27 Jun 2012 14:06:45 -0400
References <a50k2nFh5gU1@mid.individual.net>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-74-109-121-73.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
In-Reply-To <a50k2nFh5gU1@mid.individual.net>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1556.1340820431.4697.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1340820431 news.xs4all.nl 6965 [2001:888:2000:d::a6]:47251
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:24529

Show key headers only | View raw


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.

-- 
Terry Jan Reedy


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