Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!news.osn.de!diablo2.news.osn.de!news.tele.dk!news.tele.dk!small.news.tele.dk!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'scripts': 0.03; '21,': 0.07; 'explicit': 0.07; 'referring': 0.07; 'suddenly': 0.07; 'assumed': 0.09; 'difference,': 0.09; 'fix.': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'bug': 0.12; '2.7': 0.14; '"python"': 0.16; '"python",': 0.16; '"your': 0.16; '11:32': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'guilty': 0.16; 'progressive': 0.16; 'subject:python': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'work,': 0.20; 'cc:addr:python.org': 0.22; '(by': 0.24; '2.x': 0.24; 'refers': 0.24; 'earlier': 0.24; 'cc:2**0': 0.24; 'script': 0.25; 'supported': 0.26; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'am,': 0.29; "doesn't": 0.30; 'moved': 0.30; 'message- id:@mail.gmail.com': 0.30; '3.x': 0.31; 'breaking': 0.31; "d'aprano": 0.31; 'default,': 0.31; 'steven': 0.31; 'fri,': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; '2.6': 0.36; 'complete.': 0.36; 'doubt': 0.36; 'transition': 0.36; 'ubuntu': 0.36; 'being': 0.38; 'hat': 0.38; 'somebody': 0.38; 'list,': 0.38; 'anything': 0.39; 'expect': 0.39; 'mailing': 0.39; 'even': 0.60; 'easy': 0.60; 'name': 0.63; 'more': 0.64; 'mar': 0.68; 'difficulty': 0.68; 'default': 0.69; 'to,': 0.72; 'confusion.': 0.84; 'python-dev': 0.84; 'reports:': 0.84; 'absolutely': 0.87; 'to:none': 0.92 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=SkiuRQlB77z3+stGSMf2ZIizG0lI5+N16980gHAs9v8=; b=BIFz+SVX8E8D876+IGWnP0im66OT1PtJ4HskwwxwHExrDBCYk8VlIMJnEqZpyeT1Vv Xm3cdq5M8vErRRaES2dGzIYpyuqpzKkidam8t3AarurNYUHs/TrA5IDkSsgdbibvATvf wBOGEEIME4XNumO0pOU7+sYOwH9CgjTLlT3YxQKyNygaUTwdF5aLEOUiGOJQx0IwTK/L 7osb+H6Hd5wFt4cnCE6buTXnaJJCc0pMWy/+wH1jQEGplMaOyj/nyQc+q83Td/Vcn8rd Tg3ffkRtEnYwqmzjVS3c7jope0tHXy0+LGFyYHJiyGx2DeW/YhG9RtH3Wr3D8eWORFG5 sDXw== MIME-Version: 1.0 X-Received: by 10.69.25.69 with SMTP id io5mr51460915pbd.22.1395364221936; Thu, 20 Mar 2014 18:10:21 -0700 (PDT) In-Reply-To: <532b88b0$0$29994$c3e8da3$5496439d@news.astraweb.com> References: <87ob10nbeh.fsf@elektro.pacujo.net> <532b88b0$0$29994$c3e8da3$5496439d@news.astraweb.com> Date: Fri, 21 Mar 2014 12:10:21 +1100 Subject: Re: running python 2 vs 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: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395364231 news.xs4all.nl 2834 [2001:888:2000:d::a6]:48276 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68653 On Fri, Mar 21, 2014 at 11:32 AM, Steven D'Aprano wrote: > Perhaps Arch-Linux is guilty of being prematurely Python 3... > > I have no idea what "our pain" you are referring to, or who "our" refers > to. In the three or five years or so since Arch-Linux moved to Python 3 > by default, I don't recall ever seeing even a single email from somebody > confused by Arch-Linux's move, not here, or on the tutor mailing list, or > on Python-Dev or Python-Ideas. Nor have I seen any signs of difficulty or > confusion on Python-related blogs, or StackOverflow. > > That's not to say that there has been absolutely none at all. There definitely has been a little. Scripts that began with a "python" shebang and assumed 2.x would suddenly fail on Arch. But not a huge amount of confusion. I expect that there'll be a progressive shift - more distros will start shipping 3.x under the name "python", so script authors will be more and more aware of the difference, and before long we'll settle on explicit use of "python2" or "python3" for anything that matters. Think of the bug reports: "Your program doesn't work on Ubuntu 14.04, but change the shebang and it'll work, without breaking it for anything else". Easy fix. And then once Debian and Red Hat move to 3.x as the default system Python, everyone'll use "python2" for 2.7 (by that time, I doubt 2.6 or earlier will be supported much anywhere) and "python" for 3.x, and the transition will be complete. ChrisA