Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed1a.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'package,': 0.03; 'source,': 0.04; 'explicitly': 0.05; 'repository': 0.05; 'subject:Python': 0.06; 'python3': 0.07; 'report.': 0.07; 'lines:': 0.09; 'mind,': 0.09; 'pep': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'vast': 0.09; 'yeah,': 0.09; 'python': 0.11; 'bug': 0.12; '"python"': 0.16; '(when': 0.16; '*default*.': 0.16; 'preparing': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'trivially': 0.16; 'url:peps': 0.16; 'why,': 0.16; 'wrote:': 0.18; 'normally': 0.19; 'written,': 0.19; 'written': 0.21; 'command': 0.22; '>>>': 0.22; 'header:User- Agent:1': 0.23; '2.x': 0.24; 'received:comcast.net': 0.24; "shouldn't": 0.24; 'url:dev': 0.24; 'developers': 0.25; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'patch': 0.29; 'statement': 0.30; 'work.': 0.31; 'getting': 0.31; 'that.': 0.31; 'file': 0.32; 'run': 0.32; 'another': 0.32; 'url:python': 0.33; 'skip:# 10': 0.33; 'problem': 0.35; 'something': 0.35; 'prepare': 0.35; 'done': 0.36; 'url:org': 0.36; 'wrong': 0.37; 'ahead': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'release': 0.40; 'ago.': 0.61; 'break': 0.61; 'subject:The': 0.64; 'more': 0.64; 'mar': 0.68; '2014,': 0.84; '3.4': 0.84; 'batchelder': 0.84; 'occasion': 0.84; 'or:': 0.84; 'why?': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ned Batchelder Subject: Re: Martijn Faassen: The Call of Python 2.8 Date: Tue, 15 Apr 2014 20:39:41 -0400 References: <87y4z8koi0.fsf@elektro.pacujo.net> <87r44zgp5y.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 45 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1397608794 news.xs4all.nl 2864 [2001:888:2000:d::a6]:56350 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:70306 On 4/15/14 7:11 PM, Joshua Landau wrote: > On 15 April 2014 23:18, Ned Batchelder wrote: >> On 4/15/14 5:34 PM, Joshua Landau wrote: >>> Arch is on 3.4 *default*. >>> >>> $> python >>> Python 3.4.0 (default, Mar 17 2014, 23:20:09) >>> [...] >>> >> Yeah, that's the wrong way to do it, and they shouldn't have done that. >> "python" needs to mean Python 2.x for a long time. > > Why? > > The only things that break are things outside of the official repos, > and the vast majority of the user repository works flawlessly. If I > get something from the source, I normally run it explicitly ("python > the_thing") and on the very rare occasion it breaks (when it's 2.x and > uses "python" to mean "python2") I can trivially patch or wrap it, and > file a bug report. > > The python = python3 choice of Arch is not what takes up maintenance > time, and it's good to prepare developers ahead of time. That's what > rolling release is all about: getting the best and preparing the rest. > The problem is files that use shebang lines: #!/usr/bin/python or: #!/usr/bin/env python If these are Python 2 files, they now don't work. Keep in mind, these might not be files that you have written, they may have been installed as part of another package, or written long ago. For the official statement on "python" meaning Python 2, and more on why, see PEP 394: 'The "python" Command on Unix-Like Systems': http://legacy.python.org/dev/peps/pep-0394/ -- Ned Batchelder, http://nedbatchelder.com