r/Python • • Jan 16 '19

#10YearChallenge

Post image
1.4k Upvotes

96 comments sorted by

View all comments

186

u/Data48 Jan 16 '19

TIL Python 3 has been out for roughly 10 years

32

u/[deleted] Jan 16 '19

And Python 2 is still the default in many Linux distributions.

34

u/flying-sheep Jan 16 '19

“Standard”? You mean “What gets invoked when I type python into the terminal”?

That’ll never change in some distros, because of backwards compatibility. Arch was pretty much the only one crazybrave enough to to that jump, Debian will never do it.

What’s so hard about typing python3 or putting alias python=python3 into your .${SHELL}rc?

30

u/MiataCory Jan 16 '19

That’ll never change in some distros, because of backwards compatibility.

10 years on, I think we can move along.

https://pythonclock.org/

10

u/flying-sheep Jan 16 '19

I moved on long ago, but some people have different ideas about backwards compatibility.

And the fact that using “python” simply worked for those 10 years didn't help people to start using the more correct “python2”

-2

u/[deleted] Jan 17 '19

Meh. Backwards compatibility is overrated, IMO. As long as you can pin versions somehow, that's all that matters. Sometimes it's good for software to die.

Glad that Python2 is getting sunsetted. 2020 can't come fast enough in that regard.

2

u/flying-sheep Jan 17 '19

You don’t understand. When people use python in scripts and shebangs, the software depends on the global python binary to point to python2. Version pinning doesn’t help, only horrible hacks like prepending to $PATH or so.

1

u/[deleted] Jan 17 '19

I know, I wasn't arguing against that point...