Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!uio.no!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'python3': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'skip:/ 10': 0.09; 'wrong,': 0.09; 'python': 0.11; 'programs.': 0.14; '"python"': 0.16; 'expecting': 0.16; 'guilty': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'url:fedoraproject': 0.16; 'subject:python': 0.16; 'discussions': 0.16; 'wrote:': 0.18; 'thu,': 0.19; '>>>': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'package.': 0.24; 'received:comcast.net': 0.24; "shouldn't": 0.24; "i've": 0.25; 'changes,': 0.26; 'tutorials': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'point': 0.28; 'url:wiki': 0.31; '>>>>': 0.31; "d'aprano": 0.31; 'default,': 0.31; 'fedora': 0.31; 'steven': 0.31; 'themselves': 0.32; 'linux': 0.33; 'skip:# 10': 0.33; 'but': 0.35; 'version': 0.36; 'doing': 0.36; 'next': 0.36; 'url:org': 0.36; 'being': 0.38; 'expected': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'little': 0.38; 'explain': 0.39; 'moving': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'users': 0.40; 'how': 0.40; 'skip:u 10': 0.60; 'chain': 0.60; 'tell': 0.60; 'times': 0.62; 'making': 0.63; 'refer': 0.63; 'our': 0.64; 'forward': 0.65; 'great': 0.65; 'within': 0.65; 'mar': 0.68; 'pleasure': 0.74; 'batchelder': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ned Batchelder Subject: Re: running python 2 vs 3 Date: Thu, 20 Mar 2014 21:20:47 -0400 References: <87ob10nbeh.fsf@elektro.pacujo.net> <532b88b0$0$29994$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: c-50-133-228-126.hsd1.ma.comcast.net User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: 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: 49 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395364858 news.xs4all.nl 2833 [2001:888:2000:d::a6]:56939 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68655 On 3/20/14 9:06 PM, Ned Batchelder wrote: > On 3/20/14 8:32 PM, Steven D'Aprano wrote: >> On Thu, 20 Mar 2014 16:26:39 -0400, Ned Batchelder wrote: >> >>> On 3/20/14 3:07 PM, Eric Jacoboni wrote: >>>> Le 20/03/2014 16:21, Marko Rauhamaa a écrit : >>>> >>>> >>>>> All tutorials will tell you to start it with >>>>> >>>>> #!/usr/bin/env python >>>>> >>>>> which will start python2 on all (?) existing linux distros, but is >>>>> expected to start python3 within the next decade. >>>> >>>> With Arch-Linux, python is python3... >>>> >>>> >>> Yes, and they have been told many times that this was foolish and wrong, >>> but it persists, much to our pain. >> >> How bizarre. I've been looking forward with great pleasure to Fedora >> moving to Python 3 as the standard system Python, expecting that this >> move from one of the big distros will start a chain reaction of others >> doing the same thing. Perhaps Arch-Linux is guilty of being prematurely >> Python 3, a little like those people hauled up to explain themselves to >> the House Unamerican Activities Committee to explain why they were a >> "premature anti-fascist". >> > > My understanding is that Fedora's move will not include making the word > "python" mean Python 3. Their move means that Python 3 will be > installed by default, and that their Python programs that are part of > the distro will be Python 3 programs. They can still refer to it as > "python3". From http://fedoraproject.org/wiki/Changes/Python_3_as_Default : Users shouldn't notice any changes, ... /usr/bin/python will still point to Python 2 and depending on result of discussions with FPC, "yum install python-foo" will still install Python 2 version of the package. -- Ned Batchelder, http://nedbatchelder.com