Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.035 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'subject:Python': 0.06; '(especially': 0.07; 'python3': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; '2.7': 0.14; 'alpha,': 0.16; 'buggy': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; '3.0': 0.19; 'cc:addr:python.org': 0.22; 'install': 0.23; 'installation': 0.23; 'effort.': 0.24; 'stick': 0.24; 'helpful': 0.24; 'versions': 0.24; 'cc:2**0': 0.24; 'source': 0.25; 'supported': 0.26; 'header:In-Reply-To:1': 0.27; 'quickly': 0.29; 'dec': 0.30; 'restrict': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'getting': 0.31; '(perhaps': 0.31; 'bunch': 0.31; "d'aprano": 0.31; 'dropped': 0.31; 'own,': 0.31; 'steven': 0.31; 'subject:what': 0.31; 'probably': 0.32; 'quite': 0.32; '(e.g.': 0.33; 'fri,': 0.33; 'core': 0.34; 'subject:the': 0.34; "i'd": 0.34; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'acceptable': 0.36; 'subject:?': 0.36; 'should': 0.36; 'whatever': 0.38; 'pm,': 0.38; 'that,': 0.38; 'expect': 0.39; 'users': 0.40; 'release': 0.40; 'even': 0.60; 'providing': 0.61; "you're": 0.61; 'myself': 0.63; 'worth': 0.66; '3.4': 0.84; 'compiling': 0.84; 'it"': 0.84; 'pike': 0.84; '"apt-get': 0.91; 'to:none': 0.92; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=sZ3D08M46HbhAUIR8gmVdY40G/sXIPpQz4Ak7KL5gD8=; b=i2QyeiBTr/vcZMYtH3M2H1bBz5Sf+bT/AW60dw4Hox2eWmRLCpMpTHMBxssVPeXrcx WkCbpwrNgM40IDzhh8WndLV/iOdG0vxXOBmaIE/NGITJra5bNNKf8mtzjDTmX9GKRyUk fO+WmYoq1p/Z71vjZUOeosNRnZNSQ1+OEGL2mGCgDdUicTF66CV17iWm8spL9bH65g1v CK6OCt4yOG/Y4LHex6hzVJS4bBDHmw9T1FDmVC+e35Qj5iau7AC36uEh2qQnHpsqScI4 1TU+ZWEKJIZOS4fXT45S7NO++HSoROo1SI/FZAd7Ij6SsEZVpJ7rTvF8lgru9TzKJX53 3XNQ== MIME-Version: 1.0 X-Received: by 10.66.160.2 with SMTP id xg2mr49813505pab.23.1388144764656; Fri, 27 Dec 2013 03:46:04 -0800 (PST) In-Reply-To: <52bd65c3$0$29999$c3e8da3$5496439d@news.astraweb.com> References: <52BD0E12.3040108@gmail.com> <52bd65c3$0$29999$c3e8da3$5496439d@news.astraweb.com> Date: Fri, 27 Dec 2013 22:46:04 +1100 Subject: Re: So, what's the real story on Python 2 vs Python 3? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1388144773 news.xs4all.nl 2920 [2001:888:2000:d::a6]:54038 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62791 On Fri, Dec 27, 2013 at 10:34 PM, Steven D'Aprano wrote: > Alternatively, if you don't care about the OS-provided Python (perhaps > you're providing your own, or you expect your users to install from > source), then I think it is acceptable to target 2.7 and 3.3 or better > (e.g. drop support for 3.1 and 3.2). 3.0 is not supported at all -- it was > a buggy release and was quickly dropped for 3.1. If you're not constrained > by "yum python3" or "apt-get python3", then 3.3 is probably the version you > should aim for. That's about the size of it. I'm quite happy to work with a 3.4 alpha, but when it comes to installation instructions, "get this and compile it" is a lot less helpful than "install python3 via your OS package manager" (especially since compiling Python from source also means getting the development versions of whatever modules you need - apt-getting a bunch of -dev packages, or whatever - and if you don't get them, some modules mightn't work even though core Python does). Hence I'd like to stick to OS-provided versions *where reasonable* - I'm not going to warp my code around Python 2.4 unless there's a large slab of users on that, but I will restrict myself to Pike 7.8.700 because it's worth the effort. ChrisA