On Thu, 26 Mar 2020 at 15:52, Barry Scott <ba...@barrys-emacs.org> wrote:
>
> > On 25 Mar 2020, at 16:53, Paul Moore <p.f.mo...@gmail.com> wrote:
> >
> > On Wed, 25 Mar 2020 at 16:10, Eryk Sun <eryk...@gmail.com> wrote:
> >
> >> The py launcher's "env" command searches PATH for anything from
> >> "python" to "notepad" -- but not for a versioned Python command such
> >> as "python3" or "python2".  It always uses a registered installation
> >> in this case, which is at the very least problematic when using
> >> "#!/usr/bin/env python3" in an active virtual environment. Paul Moore
> >> will probably suggest that the script should use "#!/usr/bin/env
> >> python" instead,
> >
> > Nope, I agree with your point about that running 2.x on Unix.
>
> At least on Fedora python is python3 now.
>
> On Centos 8 there is no python until you use the alternatives mechanism
> to set it as python2 or python3.

... which is probably more evidence in favour of some sort of point,
but at this stage I have no idea what, unless it's "nothing is
consistent and you need to be prepared to deal with cross-platform
differences" :-)

Paul
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/7A2KPOICNOHVLXIICMG4IQO3HDLCYIJN/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to