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


Groups > linux.debian.maint.python > #8969

Re: Python 4 and ‘python3’

From Ben Finney <bignose@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Python 4 and ‘python3’
Date 2016-11-02 23:30 +0100
Message-ID <szccG-3OO-13@gated-at.bofh.it> (permalink)
References (2 earlier) <syODn-5xo-17@gated-at.bofh.it> <syPpL-63q-5@gated-at.bofh.it> <syRUB-7vj-7@gated-at.bofh.it> <syTWp-hG-1@gated-at.bofh.it> <sz4oN-7k0-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Barry Warsaw <barry@debian.org> writes:

> On Nov 02, 2016, at 01:57 PM, Ben Finney wrote:
>
> >Certainly the command ‘python3’ should only ever point to the Python
> >3 interpreter.
> >
> >If upstream ever releases a “Python 4” but expects the interpreter
> >for that to also be named ‘python3’, I think we can declare upstream
> >to be directly courting user pain, and secede on behalf of our users.
>
> I wouldn't at all be surprised if /usr/bin/python is reclaimed for
> some future post-Python2-demise Python 4 interpreter. It might even be
> a good thing since I'm not sure I'd want a /usr/bin/python4.

What about a Python 4.0 that is just “the release that comes after 3.9”?

    <URL:http://www.curiousefficiency.org/posts/2014/08/python-4000.html>

Such a “Python 4.0” release would inevitably be referred to as Python 4,
and inevitably will be considered *not the same* as ‘/usr/bin/python3’.

That's what I'm saying is pointless user confusion: do we use
‘/usr/bin/python3’ for the interpreter? Do we use ‘/usr/bin/python4’?
Why, if they're deliberately compatible interpreters — indeed, they may
be the *same* interpreter?

Such a thoroughly, and persistently, confusing state of affairs is
entirely avoidable (just use Semantic Versioning, don't name it “4.0”
until it's backward-incompatible with all “3.xx”). I had thought that
was the sane and prevailing attitude of the Python release managers.

But the above post implies that pointless confusion will be directly
courted, merely because of some aesthetic objection to a two-digit
component in the version string.

> Not that I'm expecting Python 4 any time soon […]

At the current rate of Python releases, it's not very far in the future
before the Python release managers must decide what the version string
for “the release that comes after 3.9” will be.

Is there anyone seriously courting the idea that “Python 4.0 is part of
the Python 3 line”? I would hope not, yet the above post implies it. Can
that be quashed decisively?

-- 
 \        “If you go parachuting, and your parachute doesn't open, and |
  `\        you friends are all watching you fall, I think a funny gag |
_o__)             would be to pretend you were swimming.” —Jack Handey |
Ben Finney

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

/usr/bin/python2 shebangs Barry Warsaw <barry@debian.org> - 2016-11-01 15:30 +0100
  Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-01 16:40 +0100
    Re: /usr/bin/python2 shebangs Barry Warsaw <barry@debian.org> - 2016-11-01 22:20 +0100
      Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-01 23:10 +0100
        Re: /usr/bin/python2 shebangs Donald Stufft <donald@stufft.io> - 2016-11-02 01:50 +0100
          Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-02 02:10 +0100
          Python 4 and ‘python3’ (was:  /usr/bin/python2 shebangs) Ben Finney <bignose@debian.org> - 2016-11-02 04:00 +0100
            Re: Python 4 and ‘python3’ (was:  /usr/bin/python2 shebangs) Barry Warsaw <barry@debian.org> - 2016-11-02 15:10 +0100
              Re: Python 4 and ‘python3’ Ben Finney <bignose@debian.org> - 2016-11-02 23:30 +0100
                Re: Python 4 and ‘python3’ Barry Warsaw <barry@debian.org> - 2016-11-02 23:50 +0100
                Re: Python 4 and ‘python3’ Ben Finney <bignose@debian.org> - 2016-11-03 00:50 +0100
        Re: /usr/bin/python2 shebangs Thomas Goirand <zigo@debian.org> - 2016-11-07 11:50 +0100
          Re: /usr/bin/python2 shebangs Barry Warsaw <barry@debian.org> - 2016-11-07 16:10 +0100
            Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-07 16:30 +0100
              Re: /usr/bin/python2 shebangs Thomas Goirand <zigo@debian.org> - 2016-11-09 17:10 +0100
                Re: /usr/bin/python2 shebangs Paul Wise <pabs@debian.org> - 2016-11-10 03:40 +0100

csiph-web