|
|
Subscribe / Log in / New account

Arch Linux drops Python 2

Arch Linux drops Python 2

Posted Sep 24, 2022 18:11 UTC (Sat) by NYKevin (subscriber, #129325)
In reply to: Arch Linux drops Python 2 by Wol
Parent article: Arch Linux drops Python 2

Python 2 has been end of life for over two years (since 2020-01-01), and deprecated for much longer. At a certain point, IMHO it becomes acceptable (for distros, libraries, upstreams, etc.) to say "if you're still on Python 2, then compatibility is your problem. We won't support it anymore, nor will we go out of our way to make life easy for you." As early as 2011, they wrote PEP 404 explicitly spelling out that "[t]he official upgrade path from Python 2.7 is to Python 3." It's not as if people haven't had adequate warning that something like this was eventually going to happen.


to post comments

Arch Linux drops Python 2

Posted Sep 24, 2022 20:11 UTC (Sat) by malmedal (subscriber, #56172) [Link] (3 responses)

It's not a problem for things I write for myself.

But I've written various programs for non-programmers and sometimes been surprised to find they were still using them many years later. I'll have to avoid python for this use-case.

Best for longevity has been Tcl, I've programs written early nineties that still works almost unchanged. I believe the only changes were
adding "package Tk" and "package BLT" at one point.

Arch Linux drops Python 2

Posted Sep 24, 2022 21:06 UTC (Sat) by cjcox (guest, #60378) [Link] (2 responses)

Waiting for Python 4 to make everyone's Python 3 garbage.... people will sing a different tune then.

Arch Linux drops Python 2

Posted Sep 25, 2022 2:00 UTC (Sun) by NYKevin (subscriber, #129325) [Link] (1 responses)

You're going to be waiting a long time. Python 3 happened under an exceptional set of circumstances, and given all the pain it caused, nobody is eager to do it again. It's possible that they will make a Python 4, and it's even possible that it will have some minor backwards incompatibility with Python 3. What it will not have is "You have to rewrite all of your string-processing code from the ground up."

Arch Linux drops Python 2

Posted Sep 25, 2022 2:43 UTC (Sun) by jhoblitt (subscriber, #77733) [Link]

Python 4 is out. It is called Go.

Only half joking.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds