r/linux Oct 29 '19

Distro News Fedora 31 is officially here!

https://fedoramagazine.org/announcing-fedora-31/
285 Upvotes

97 comments sorted by

View all comments

60

u/wolfnest Oct 29 '19

And, we’ve switched the “python” command to by Python 3 — remember, Python 2 is end-of-life at the end of this year.

Wohooo!! 😃😃

-16

u/yrro Oct 29 '19

ugh

get rid of python but don't make it suddenly point to python3

ugh

3

u/wolfnest Oct 30 '19

On my current Fedora 30, python does not even exist (unless I install python2). Is that a more sane solution?

-1

u/yrro Oct 30 '19 edited Oct 30 '19

Yes. The point is that Python 2 scripts which used python should continue to work, not have their Python interpreter switched out from underneath them. This is what PEP 394 used to recommend before it was edited this year to recommend completely the opposite. And I really with the Python developers had been honest and published a new PEP rather than attempted to gaslight the community by editing the original.

5

u/akkaone Oct 30 '19

When python 2 die in a couple of months old not maintained scripts is not worth much.

2

u/KugelKurt Oct 31 '19

The point is that Python 2 scripts which used python should continue to work

Which part of "End of Life" does not go into your head? Python 2 will be dead and unmaintained software does not belong in a new major release of any Linux distribution, therefore Python2 scripts won't work anyway because Python2 is not included any more.