[Python-Dev] Another update for PEP 394 -- The "python" Command on Unix-Like Systems
Gustavo Carneiro
gjcarneiro at gmail.com
Thu Feb 14 13:20:11 EST 2019
On Thu, 14 Feb 2019 at 15:52, 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.
>
While I like very much the idea of having `py` as command, does it really
need to be a wrapper command? Why can't it simply be a symlink?
/usr/bin/py -> /usr/bin/python3
I worry about (1) startup time overhead of starting another process, (2)
added complexity of learning about py's additional command-line options, we
don't really need them, imho.
> Victor
> --
> Night gathers, and now my watch begins. It shall not end until my death.
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/gjcarneiro%40gmail.com
>
--
Gustavo J. A. M. Carneiro
Gambit Research
"The universe is always one step beyond logic." -- Frank Herbert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20190214/b6b03b0c/attachment.html>
More information about the Python-Dev
mailing list