Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #70306

Re: Martijn Faassen: The Call of Python 2.8

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 <python-python-list@m.gmane.org>
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 <ned@nedbatchelder.com>
Subject Re: Martijn Faassen: The Call of Python 2.8
Date Tue, 15 Apr 2014 20:39:41 -0400
References <liglsq$djb$1@ger.gmane.org> <mailman.9249.1397481610.18130.python-list@python.org> <87y4z8koi0.fsf@elektro.pacujo.net> <mailman.9267.1397534089.18130.python-list@python.org> <87r44zgp5y.fsf@elektro.pacujo.net> <CAN1F8qXF_XtgXVszphOUYyq4nWHJXzErXBCAncRHcJwNh5tMBA@mail.gmail.com> <likb78$2s6$1@ger.gmane.org> <CAN1F8qU_1t697yY_zGgowMNx2DDkXgLsfisvGGx5MLbAB1hiZg@mail.gmail.com>
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 <CAN1F8qU_1t697yY_zGgowMNx2DDkXgLsfisvGGx5MLbAB1hiZg@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.9307.1397608793.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On 4/15/14 7:11 PM, Joshua Landau wrote:
> On 15 April 2014 23:18, Ned Batchelder <ned@nedbatchelder.com> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Martijn Faassen: The Call of Python 2.8 Chris Angelico <rosuav@gmail.com> - 2014-04-14 23:20 +1000
  Re: Martijn Faassen: The Call of Python 2.8 Marko Rauhamaa <marko@pacujo.net> - 2014-04-14 16:51 +0300
    Re: Martijn Faassen: The Call of Python 2.8 Chris Angelico <rosuav@gmail.com> - 2014-04-15 00:19 +1000
      Re: Martijn Faassen: The Call of Python 2.8 Marko Rauhamaa <marko@pacujo.net> - 2014-04-14 17:40 +0300
        Re: Martijn Faassen: The Call of Python 2.8 Chris Angelico <rosuav@gmail.com> - 2014-04-15 01:01 +1000
    Re: Martijn Faassen: The Call of Python 2.8 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-04-14 15:46 +0100
      Re: Martijn Faassen: The Call of Python 2.8 Pete Forman <petef4+usenet@gmail.com> - 2014-04-14 19:39 +0100
    Re: Martijn Faassen: The Call of Python 2.8 Chris Angelico <rosuav@gmail.com> - 2014-04-15 01:04 +1000
      Re: Martijn Faassen: The Call of Python 2.8 wxjmfauth@gmail.com - 2014-04-14 10:41 -0700
        Re: Martijn Faassen: The Call of Python 2.8 Ian Kelly <ian.g.kelly@gmail.com> - 2014-04-14 12:59 -0600
          Re: Martijn Faassen: The Call of Python 2.8 wxjmfauth@gmail.com - 2014-04-15 01:25 -0700
        Re: Martijn Faassen: The Call of Python 2.8 Ned Batchelder <ned@nedbatchelder.com> - 2014-04-14 15:28 -0400
    Re: Martijn Faassen: The Call of Python 2.8 Terry Reedy <tjreedy@udel.edu> - 2014-04-14 23:54 -0400
      Re: Martijn Faassen: The Call of Python 2.8 Marko Rauhamaa <marko@pacujo.net> - 2014-04-15 08:03 +0300
        Re: Martijn Faassen: The Call of Python 2.8 Terry Reedy <tjreedy@udel.edu> - 2014-04-15 04:32 -0400
        Re: Martijn Faassen: The Call of Python 2.8 Ben Finney <ben+python@benfinney.id.au> - 2014-04-15 21:33 +1000
        Re: Martijn Faassen: The Call of Python 2.8 Albert-Jan Roskam <fomcl@yahoo.com> - 2014-04-15 10:21 -0700
        Re: Martijn Faassen: The Call of Python 2.8 Terry Reedy <tjreedy@udel.edu> - 2014-04-15 15:01 -0400
        Re: Martijn Faassen: The Call of Python 2.8 Terry Reedy <tjreedy@udel.edu> - 2014-04-15 15:29 -0400
        Re: Martijn Faassen: The Call of Python 2.8 Joshua Landau <joshua@landau.ws> - 2014-04-15 22:34 +0100
        Re: Martijn Faassen: The Call of Python 2.8 Ned Batchelder <ned@nedbatchelder.com> - 2014-04-15 18:18 -0400
          Re: Martijn Faassen: The Call of Python 2.8 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-04-16 01:18 +0000
        Re: Martijn Faassen: The Call of Python 2.8 Andrew Berg <aberg010@my.hennepintech.edu> - 2014-04-15 17:32 -0500
          Re: Martijn Faassen: The Call of Python 2.8 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-04-16 01:21 +0000
            Re: Martijn Faassen: The Call of Python 2.8 Andrew Berg <aberg010@my.hennepintech.edu> - 2014-04-16 02:32 -0500
              Re: Martijn Faassen: The Call of Python 2.8 Rustom Mody <rustompmody@gmail.com> - 2014-04-16 01:07 -0700
              Re: Martijn Faassen: The Call of Python 2.8 Steven D'Aprano <steve@pearwood.info> - 2014-04-16 08:13 +0000
            Re: Martijn Faassen: The Call of Python 2.8 Chris Angelico <rosuav@gmail.com> - 2014-04-16 18:02 +1000
            Re: Martijn Faassen: The Call of Python 2.8 Andrew Berg <aberg010@my.hennepintech.edu> - 2014-04-16 03:42 -0500
        Re: Martijn Faassen: The Call of Python 2.8 Joshua Landau <joshua@landau.ws> - 2014-04-16 00:11 +0100
        Re: Martijn Faassen: The Call of Python 2.8 Ned Batchelder <ned@nedbatchelder.com> - 2014-04-15 20:39 -0400
        Re: Martijn Faassen: The Call of Python 2.8 Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-04-15 17:42 -0700
        Re: Martijn Faassen: The Call of Python 2.8 Joshua Landau <joshua@landau.ws> - 2014-04-16 03:27 +0100
    Re: Martijn Faassen: The Call of Python 2.8 Ben Finney <ben+python@benfinney.id.au> - 2014-04-15 16:08 +1000
    Re: Martijn Faassen: The Call of Python 2.8 Terry Reedy <tjreedy@udel.edu> - 2014-04-15 04:33 -0400
      Re: Martijn Faassen: The Call of Python 2.8 Steven D'Aprano <steve@pearwood.info> - 2014-04-15 09:41 +0000
    Re: Martijn Faassen: The Call of Python 2.8 Chris Angelico <rosuav@gmail.com> - 2014-04-15 19:05 +1000
    Re: Martijn Faassen: The Call of Python 2.8 Terry Reedy <tjreedy@udel.edu> - 2014-04-15 15:48 -0400
      Re: Martijn Faassen: The Call of Python 2.8 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-04-16 02:52 +0000
        Re: Martijn Faassen: The Call of Python 2.8 Chris Angelico <rosuav@gmail.com> - 2014-04-16 16:22 +1000
          Re: Martijn Faassen: The Call of Python 2.8 wxjmfauth@gmail.com - 2014-04-15 23:30 -0700

csiph-web