Fedora 28 - python warnings

Richard Laager rlaager at wiktel.com
Sat May 12 01:16:07 UTC 2018


On 05/11/2018 08:08 PM, Gary E. Miller via devel wrote:
>> What exactly is it that you think they're doing wrong?
> For some version of 'they', they wanted to change the shebang
> line that NTPsec uses for Python.

The system default is Python 2. The distro doesn't want to change this,
for backwards compatibility reasons. The distro wants to move as many
applications as possible to use Python 3. These both seem like
reasonable positions to me.

Thus, the Python 3-compatible application packages need to specifically
opt-in to the non-default, newer version of the interpreter by modifying
their shebang line. That's why they're doing that.

If applications were only allowed to use /usr/bin/python (directly or
via env) and not /usr/bin/python2 or /usr/bin/python3, there is _no
point_ in having both python2 and python3 installed simultaneously,
since only one will ever be used.

-- 
Richard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20180511/a1ea45d9/attachment.bin>


More information about the devel mailing list