Re:Python 3.12.0 is to remove long-deprecated items
by namrog84 on Wednesday November 16, 2022 @06:09PM
(#33632303)
Your kinda comparing simple basic api in perl vs likely more complicated python code here aren't you?
If you had a set of single simple python functions maybe they wouldn't have broke as much if at all?
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!"
?
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.
I literally have 20+ years old perl scripts, usually doing one single thing (many of them) still working on new machines without issues.
I've rewritten some stuff from python(2) to perl (instead of python3) because i was unsure when a new rewrite for whatever reasons...
Now, more python stuff needs fixing, while perl still works.