News for hackers. Stuff that matters.
Re:Python 3.12.0 is to remove long-deprecated items by ajsnigrutin on Wednesday November 16, 2022 @09:51PM (#33634348)
> If you had a set of single simple python functions maybe they wouldn't have broke as much if at all?

Like (python 2):

    print "hello world!"
?

( https://docs.python.org/2/tutorial/introduction.html )

Re:Python 3.12.0 is to remove long-deprecated items by camdenreslink on Wednesday November 16, 2022 @11:58PM (#33635155)
Python 3 came out 14 years ago, and changing the syntax of one function wasn’t even a big deal then. Literally a 10 minute code search to fix a project.

It might be time to move on…

Re:Python 3.12.0 is to remove long-deprecated items by ajsnigrutin on Thursday November 17, 2022 @08:12AM (#33638378)
It was literally months to fix every change in every project and to fix all the issues coming from that. ("print" wasn't the only change in 2->3)

Our codebase is was (and is) old, but the forced change came recently, when ubuntu decided to remove python 2 support (ubuntu 20.04?). And when ubuntu decides that they want python >=3.12 as the only version installed, this means another change and more work to fix stuff that worked just fine.