this post was submitted on 13 Jul 2024
111 points (98.3% liked)

Programming

16977 readers
187 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] csm10495@sh.itjust.works 28 points 2 months ago (1 children)

It's exciting, but man there are lots of assumptions in native python built around the gil.

I've seen lists, etc. modified by threads assuming the gil locks for them. Testing this e2e for any production deployment can be a bit of a nightmare.

[–] overcast5348@lemmy.world 40 points 2 months ago* (last edited 2 months ago) (3 children)

My company makes it super easy for me - we're just going to continue on python 2.7 and add this to the long list of reasons why we're not upgrading.

Please send help.

[–] Corbin@programming.dev 3 points 2 months ago (1 children)

You may be pleased to know that PyPy's Python 2.7 branch will be maintained indefinitely, since PyPy is also written in Python 2.7. Also, if you can't leave CPython yet, ActivePython's team is publishing CPython 2.7 security patches.

[–] overcast5348@lemmy.world 3 points 2 months ago

We already have contracts in place to get security patches. That's usually the InfoSec team's problem anyway.

As a developer, my life gets hard due to library support. We manage internal forks of multiple open source projects just to make them python 2 compatible. A non-trivial amount of time is wasted on this, and we don't even have it available for public use. 🤷‍♂️

[–] fubarx@lemmy.ml 2 points 1 month ago

Python 2.7 and iOS mobile programmers stuck on Objective-C could start a support group.

[–] verstra@programming.dev 2 points 2 months ago (2 children)

Why would you not be upgrading due to a new feature of python? You don't like new features or was that a badly wordered sentence?

[–] nickwitha_k@lemmy.sdf.org 10 points 2 months ago

Because using an exceedingly insecure version is cheaper until an inevitable compromise makes it expensive.

[–] magikmw@lemm.ee 4 points 2 months ago

More work, more debt. The more debt you have the harder it is to let go.