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; 'https': 0.07; 'python': 0.08; '(it': 0.09; 'run.': 0.09; 'pm,': 0.10; 'written': 0.14; 'wrote:': 0.14; 'library': 0.15; '2to3': 0.16; 'angelico': 0.16; 'fixing,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'with?': 0.16; 'working.': 0.19; 'header:In- Reply-To:1': 0.21; 'received:209.85.210.174': 0.23; 'received :mail-iy0-f174.google.com': 0.23; 'unlikely': 0.23; '(or': 0.24; 'code': 0.24; 'monitor': 0.26; 'message-id:@mail.gmail.com': 0.28; 'installed': 0.28; 'sat,': 0.29; 'fine.': 0.29; 'unicode': 0.29; 'strings,': 0.30; "didn't": 0.31; 'to:addr:python-list': 0.33; 'actually': 0.33; 'things': 0.33; 'question': 0.34; 'chris': 0.34; 'that,': 0.34; 'there': 0.35; 'couple': 0.35; 'quite': 0.36; 'running': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.37; 'run': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'unless': 0.39; 'received:209': 0.39; 'stopped': 0.39; 'to:addr:python.org': 0.39; 'under': 0.40; 'more': 0.60; 'your': 0.60; 'bulk': 0.80; 'bandwidth': 0.97 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=Nh27SlmalmMtQG4Iohga9rIPb7xDNutWGJEXmIqwlGE=; b=diqWiuABJYmnfHIc7OzemlxQA43wROaNvxcUKHptgPb6whMZZjwyW3CWgnKPLrVimp O1RJ47NXpNfZVJphH4RsrG8/s0s8TmHWV+5+GUkaRvMR15dn6EkjYQw7yeA3c6gQlgoO BKnEGL47tgvYSPwAeuHthTIyVIqfyUO7h2L0Y= 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=PMvnfrh3Z7AO/JUoOWvDnJz4Vm/TduESx1BCsEDTTZNjN/G8uLHrlFanNtGaNKTQLH nSdVUbNNcu/Ig2MICpAf23Focvm690aXxUkd5CKFNAImxGVmgBb+V5p+yORYPHhjYGJ8 a3+tup7uacWtddtij4M8z7GmgwlSOGaAzPMK4= MIME-Version: 1.0 In-Reply-To: References: <4DDC7938.5000900@gmail.com> <4ddfc8ae$0$29996$c3e8da3$5496439d@news.astraweb.com> Date: Sat, 28 May 2011 16:44:47 +1000 Subject: Re: Beginner needs advice From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 18 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306565090 news.xs4all.nl 49044 [::ffff:82.94.164.166]:36981 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6457 On Sat, May 28, 2011 at 4:38 PM, Thorsten Kampe wrote: > The question is: if you want (or have) to run your code under Python3, > how likely is that it will run unmodified? My experience is: unless the > code is especially written with Python3 compatability or just a short > snippet, it's actually quite unlikely that it will run. > But what about the 2to3 tool? If you use that, then how much more is there to deal with? I installed Python 3 and found that a little bandwidth monitor stopped working. After running it through 2to3, there were only a couple of things needing fixing, including the HTTPS library (it didn't like my Unicode strings, I had to go b" " for them), but the bulk of it was fine. Chris Angelico