News for hackers. Stuff that matters.
Re:Fedora Loves Python by hobarrera on Wednesday July 12, 2017 @09:06AM (#14752141)
> 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.

Re:Fedora Loves Python by iamthad on Wednesday July 12, 2017 @09:23AM (#14752269)
I read PEP 394 (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.

Re:Fedora Loves Python by kingosticks on Wednesday July 12, 2017 @09:37AM (#14752393)
I 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.

Re:Fedora Loves Python by proaralyst on Wednesday July 12, 2017 @09:19AM (#14752227)
The 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.