On Fri, Nov 22, 2019 at 6:53 PM Nathan Cutler <ncutler(a)suse.com> wrote:
Seems that if you only have python3 installed in
Fedora31 this is
*not* the case.
# python --version
Python 3.7.5
# /usr/bin/python --version
Python 3.7.5
# ls -l /usr/bin/python
lrwxrwxrwx. 1 root root 9 Nov 18 00:57 /usr/bin/python -> ./python3
See
https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedorapr…
and
https://fedoraproject.org/wiki/Changes/RetirePython2#The_python27_package
"there is no /usr/bin/python"
So the two distros are quite divergent in their approach apparently?
In Fedora 31, if I have a script with the following shebang:
#!/usr/bin/python3
will it not work?
Sure it will (and I'm sure you've tried it already :) )
I don't think I said it wouldn't. I was pointing out the difference
between your statement that "/usr/bin/python -> /usr/bin/python2 will
not be changed" in SLES and openSUSE and the current reality in Fedora
31 and that's where the "two distros are quite divergent in their
approach apparently" came from. I'm not convinced we're on the same
page.
Nathan
--
Cheers,
Brad