4 ms·
> to reliably get Python 3 on Linux and Mac you have to run `python3`. This is not true on my Fedora 38 system, same with current Kali linux. Although, it is t
by beeburrt 3y ago
> to reliably get Python 3 on Linux and Mac you have to run `python3`.
This is not true on my Fedora 38 system, same with current Kali linux. Although, it is the case with Ubuntu 22.04.3.
- wnoise 3y ago_reliably_, as in on the vast majority of machines.
- billyjmc 3y agoIs that really python’s fault? It seems like it’s the distro making a design decision.
- wnoise 3y agoWell, no, not python's fault -- clearly the distros', and they probably should be blamed. But a PEP saying python2 and python3 should invoke the correct interpreter would help motivate the distributions. (This is isomorphic to the usual victim-blaming discussion. Fault and blame vs some ability to make a difference; it's a shame that correctly pointing out a better strategy is both used to attack victims and attacked for attacking victims in the cases when that wasn't intended.)
- wnoise 3y agoIn fact there is a PEP: https://peps.python.org/pep-0394/ https://peps.python.org/pep-0394/
- IshKebab 3y agoWhat do you mean? Fedora 38 doesn't have `python3`? Are you sure?