[Python-Dev] Another update for PEP 394 -- The "python" Command on Unix-Like Systems

Brett Cannon brett at python.org
Thu Feb 14 12:59:06 EST 2019


On Thu, Feb 14, 2019 at 7:50 AM Victor Stinner <vstinner at redhat.com> wrote:

> Le jeu. 14 févr. 2019 à 14:38, Matthias Klose <doko at ubuntu.com> a écrit :
> > Debian's concern about pointing python to python3 is that it will break
> software
> > after an upgrade.  The current state seems is still the same that Debian
> doesn't
> > want to ship a python symlink after the Python2 removal.
>
> The other safer alternative is to start to provide "py" launcher on
> Unix as well. Since it's something new, it's perfectly fine to decide
> from the start to make it point to the latest Python version by
> default.
>

Since it has come up a couple of times and in case people are curious, the
Python Launcher for UNIX is currently available at
https://crates.io/crates/python-launcher and the basics are there. I have
one more key feature to implement -- `py --list` -- before I view it as
having all the basics in place. Once I have --list done it will be trying
to tackle the hard issue of how to tie in things like PyPy or
non-PATH-installed interpreters into the launcher (which, since it is
configuration, people will bikeshed on forever about, so maybe I should
ignore people and solve it quickly ;) .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20190214/06c48834/attachment.html>


More information about the Python-Dev mailing list