Hacker News new | ask | show | jobs
by kafkaIncarnate 1543 days ago
That's what Python2.7 is and why every major proprietary product won't adopt anything else. It's also why it won't go away.

All of my Python 2.6-2.7 scripts haven't been touched in 10 years in production and they aren't likely to ever be updated. I actually now refuse to write new Python that isn't compatible with both 2&3 for this reason. Python3 refuses to stabilize.

2 comments

I’ve been slowly embracing the mantra “only use unmaintained software”: maintenance is great when it’s fixing bugs and such, but eventually people insist on breaking backwards compatibility.
Python2.7 is still maintained.

If you mean my software I mentioned if something breaks I'm still required to fix it. I just doubt that will happen at this point and have other tasks to do.

Isn’t Python 2.7 EOL as of January 2020 or something? It’s maintained in the sense that there are still people shipping patches, but the core Python developers no longer maintain it.
That is news to me, and good to know.

https://www.bleepingcomputer.com/news/software/python-27-rea...

Apparently RHEL will maintain any security problems until 2024, but yeah it's pretty much dead. Huh. Not sure how to react to that.

That is a captivating idea!
> It's also why it won't go away.

Python 2 went away in macOS. Bash still exists.

https://www.python.org/downloads/release/python-2718/

There's still a macOS installer for the latest release of Python2.7 (4/20/2020).

The discussion was around longevity, and Python 2 is dead as of January 2020 [0]. Installer might exist, but it has already become more difficult to maintain Python 2. It will become even more difficult in time. Bash, on the other hand, will more likely to be around for longer.

[0] Sunsetting Python 2. https://www.python.org/doc/sunset-python-2/

Did it really?

`/usr/bin/python` invokes Python 2.7.18 on my just-bought Macbook Pro 14 running MacOS 12.2. Maybe that's because I installed the Xcode command line tools?

IIRC, Apple announced that Python 2 will be removed in a future version of macOS, without specifying a version. Looks like they removed it in macOS 12.3 [0].

[0] https://www.macrumors.com/2022/01/28/apple-removing-python-2...