Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'versions,': 0.05; 'subject:Python': 0.06; 'python': 0.08; 'subject:error': 0.11; 'am,': 0.13; 'wrote:': 0.15; '2to3': 0.16; 'runs.': 0.16; 'subject:syntax': 0.16; 'sure,': 0.16; 'great.': 0.16; 'written': 0.17; '2.x': 0.19; 'subject:question': 0.21; 'header:In-Reply- To:1': 0.22; 'received:209.85.215.46': 0.23; 'received:mail- ew0-f46.google.com': 0.23; "they've": 0.23; 'compiled': 0.23; 'worked': 0.24; 'libraries': 0.25; 'fine': 0.26; 'message- id:@mail.gmail.com': 0.28; 'code,': 0.29; '3.x': 0.30; 'sun,': 0.30; 'chris': 0.32; 'pure': 0.32; "i've": 0.33; 'to:addr:python- list': 0.34; "can't": 0.34; 'received:google.com': 0.37; 'but': 0.37; 'received:209.85': 0.38; 'subject:: ': 0.38; 'experience,': 0.38; 'run': 0.39; 'speak': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'might': 0.40; 'direct': 0.66; '26,': 0.67; 'jun': 0.67; '11:31': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=0tD0V9bJNpwcTN3DQ19Zq7yvcW1IfGN0wvlGiW8t6pQ=; b=FMkD49X3Vvl6KsDuAiYRHgzbLnrAm8TuRtAt7n9q4DV/B6c53eQ4JRG3XGe9Jo2FbK jwPS3kaAIKCSjGV2FO2Y1jtHPRMK9uDjLuXN5do0/PNotnCb8f133bm6Fd1mvSPe+3O7 QR6vc+2ZtReEXdxXUGaQFDfHirhWj6nFByz4o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=s5ixOLfPFL59tDYVkDTE/YHQeB6CZV8yRIBBsae//pcD/xvaCRHTRVoICVd4Qh59Pr VTw8wvvVYhqbc8rih+w0XIIvu1FxOo5SaxmsbMAl0BO/+ZQiuv/r+ZjrmL5ahwHQUKS/ lMzKLdGENXuKILBpraYjrKJaAwxbduCXJ0Inw= MIME-Version: 1.0 In-Reply-To: References: <4e074768$0$29982$c3e8da3$5496439d@news.astraweb.com> Date: Sun, 26 Jun 2011 12:50:52 -0400 Subject: Re: Python 3 syntax error question From: Jerry Hill To: python-list@python.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1309107054 news.xs4all.nl 4352 [::ffff:82.94.164.166]:44431 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8470 On Sun, Jun 26, 2011 at 11:31 AM, Chris Angelico 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