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


Groups > comp.lang.python > #8470

Re: Python 3 syntax error question

References <Xns9F105B30356CArzantowgmailcom@74.209.131.13> <4e074768$0$29982$c3e8da3$5496439d@news.astraweb.com> <Xns9F1073B21B96Frzantowgmailcom@74.209.131.13> <BANLkTiknsyDUhJeVwqFobQ4ppT+50-HLKw@mail.gmail.com>
Date 2011-06-26 12:50 -0400
Subject Re: Python 3 syntax error question
From Jerry Hill <malaclypse2@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.419.1309107054.1164.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Jun 26, 2011 at 11:31 AM, Chris Angelico <rosuav@gmail.com> wrote:
> Sure, but you don't _have_ to look at the diff. Just run it through
> 2to3 and see how it runs. Never know, it might work direct out of the
> box!

This has been my experience, by the way.  I've used a few small pure
python libraries written for python 2.x that don't have 3.x versions,
and they've all worked just fine with just a quick run through the
2to3 process.  I can't speak for larger libraries, or ones with lots
of compiled code, but my experience with 2to3 has been great.

-- 
Jerry

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


Thread

Python 3 syntax error question rzed <rzantow@gmail.com> - 2011-06-26 13:04 +0000
  Re: Python 3 syntax error question steve+comp.lang.python@pearwood.info - 2011-06-27 00:51 +1000
    Re: Python 3 syntax error question rzed <rzantow@gmail.com> - 2011-06-26 15:28 +0000
      Re: Python 3 syntax error question Chris Angelico <rosuav@gmail.com> - 2011-06-27 01:31 +1000
      Re: Python 3 syntax error question Noah Hall <enalicho@gmail.com> - 2011-06-26 16:32 +0100
      Re: Python 3 syntax error question Jerry Hill <malaclypse2@gmail.com> - 2011-06-26 12:50 -0400
      Re: Python 3 syntax error question Terry Reedy <tjreedy@udel.edu> - 2011-06-26 13:31 -0400
  Re: Python 3 syntax error question Peter Otten <__peter__@web.de> - 2011-06-26 16:59 +0200
  Re: Python 3 syntax error question Noah Hall <enalicho@gmail.com> - 2011-06-26 16:10 +0100

csiph-web