• csm10495
    link
    fedilink
    English
    arrow-up
    28
    ·
    5 months ago

    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
      link
      fedilink
      arrow-up
      40
      ·
      edit-2
      5 months ago

      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
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 months ago

        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
          link
          fedilink
          arrow-up
          3
          ·
          4 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
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

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

      • verstra@programming.dev
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        5 months ago

        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?