• onlinepersona
    link
    fedilink
    arrow-up
    2
    ·
    2 days ago

    Why wasn’t free threading a new version of python? Having everything suddenly going from thread safe to C level insecurity is a major change, not just a small feature update. In fact, if they had to redactor the interpreter to support it, that sounds like even more of a reason to make it a major version update. Doesn’t python follow semver?

    Anti Commercial-AI license

    • bitcrafter
      link
      fedilink
      arrow-up
      3
      ·
      16 hours ago

      Why wasn’t free threading a new version of python?

      It was part of the 3.13 release.

      Having everything suddenly going from thread safe to C level insecurity is a major change, not just a small feature update.

      Sure, which is why it this behavior currently considered experimental and is not enabled by default; if you want to try it out, you have to specifically enable it when building Python from sources.

      In fact, if they had to redactor the interpreter to support it, that sounds like even more of a reason to make it a major version update. Doesn’t python follow semver?

      No, currently releases follow a regular schedule and every release bumps the second number and keeps the first.

    • zagaberoo@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      The free-threaded build is a patched version of the interpreter. This is not (currently) behavior normal users will be exposed to.