Hacker News new | ask | show | jobs
by laserlight 1550 days ago
> It's also why it won't go away.

Python 2 went away in macOS. Bash still exists.

2 comments

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...