Re: F29 System Wide Change: Move /usr/bin/python into a separate package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 23, 2018 at 02:55:40PM +0200, Jan Kurik wrote:
> = Proposed System Wide Change: Move /usr/bin/python into a separate package =
> https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package
> 
> === Motivation ===
> 
> The meaning of the python command is ambiguous: it might mean either
> Python 2 or Python 3, depending on context. The upstream
> recommendation (PEP 394), which we try to follow in Fedora, is that
> users -- not distros, and not sysadmins -- should be in control of the
> python command.

I'm opposed to this change. I see no reason to complicate things because
some other distributions (Arch) have inadvisedly redirected
/usr/bin/python to python3. This whole mess violates the principle of
least surprise -- as a user of python what do you expect
/usr/bin/pythong to do? You expect it to run the python2 interpreter.

Any 3rd party programs that users install will also expect this, so this
change will cause their applications to fail.

I think the rules can be distilled down to this:
 * New python2 programs use /usr/bin/python2
 * New python3 programs use /usr/bin/python3
 * Leave /usr/bin/python pointing to /usr/bin/python2 for legacy
   programs

There is no good reason to make this change. Leaving it as it is now
doesn't break anything.

-- 
Brian C. Lane (PST8PDT)
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/UJJ6MYCZHMTFNX4MILRFRDSUAJ2B2QNU/




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux