3 ms·
> Python 3 by default Two lines below: > However, /usr/bin/python remains Python 2, [...] Not sure what they call "default". They seem to quote some PEP that
by hobarrera 9y ago
> Python 3 by default
Two lines below:
> However, /usr/bin/python remains Python 2, [...]
Not sure what they call "default". They seem to quote some PEP that only specified that this was okay during a transition period. I think we're WAY past that. If not, then the first statement is plainly wrong.
- proaralyst 9y agoThe PEP does say `should' and that a future PEP will require the python command to be Python 3.x. Given a default Fedora install does not have the python command but does have python3, I'd say it's 3.x by default.
- iamthad 9y agoI read PEP 394 (https://www.python.org/dev/peps/pep-0394 https://www.python.org/dev/peps/pep-0394) differently. It states > The more general python command should be installed whenever any version of Python 2 is installed and should invoke the same version of Python as the python2 command Rather than permitting python to refer to python2 during a transition period, that is the recommendation. They later state > It is anticipated that there will eventually come a time where the third party ecosystem surrounding Python 3 is sufficiently mature for this recommendation to be updated to suggest that the python symlink refer to python3 rather than python2.
- kingosticks 9y agoI believe this means that python3 is installed by default and python2 is not. /usr/bin/python is not installed unless python2 is installed. PEP394 actually states the "recommendation will be periodically reviewed over the next few years, and updated when the core development team judges it appropriate.". You might think we are way past that, but it seems they don't.