Displaying 4 results from an estimated 4 matches for "finalizingfedoraswitchtopython3".
2018 Feb 01
1
Migrate utils/ Python 2 scripts to Python 3
...u
reference saying that shouldn't be done. However, Fedora is now making
noises about doing the same, in a few years, after driving a change in the
upstream recommendation. While it's certainly not finalized, I'd fully
expect this to happen at some point.
https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
https://wiki.archlinux.org/index.php/python
And, regarding using "python2" instead of "python2.7":
Since python2.7 is the last-ever python2 version, and also the minimum
version required by llvm, the name "python2" is false generality.
Additionally, the "python2...
2020 Jan 29
5
[RFC] Python 2 / Python 3 status
...ail/llvm-dev/2019-May/132507.html
[-2] http://lists.llvm.org/pipermail/llvm-dev/2019-December/137634.html
[-1] http://lists.llvm.org/pipermail/llvm-dev/2018-January/120826.html]
[0] https://www.python.org/dev/peps/pep-0373/#update
[1] https://python3statement.org/
[2] https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
[3] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/8.0_release_notes/index#web-servers-databases-dynamic-languages
[4] https://developer.apple.com/documentation/macos_release_notes/macos_catalina_10_15_release_notes#3318257)
[5] https://wiki.debian.org/Python
[...
2018 Feb 01
0
Migrate utils/ Python 2 scripts to Python 3
As mentioned in https://docs.python.org/3/using/unix.html#miscellaneous, for Python 3 the shebang line should be:
#!/usr/bin/env python3
For Python 2 the shebang line should probably be:
#!/usr/bin/env python2
but as Python 3 should never install its executable under the name "python", you could also let it stay at:
#!/usr/bin/env python
instead.
-Dimitry
> On 1 Feb 2018, at
2018 Feb 01
5
Migrate utils/ Python 2 scripts to Python 3
Sadly, neither the latest version of RedHat (released in 2014), nor the
latest version of macOS (released in 2017) have any version of python3
available with the default system. On the other hand, TTBOMK, every system
that does have python3 available also makes python2.7 also easily available.
LLVM is not a primarily python project, so keeping up with the latest
features of the language, and