Content-Length: 282509 | pFad | https://github.com/python/cpython/issues/117929

ad C API: Restore removed PyEval_InitThreads() function · Issue #117929 · python/cpython · GitHub
Skip to content

C API: Restore removed PyEval_InitThreads() function #117929

Description

@vstinner

Since Python 3.7, PyEval_InitThreads() does nothing, since the GIL is now always created: https://vstinner.github.io/python37-gil-change.html This function is deprecated since Python 3.9 and I removed it in Python 3.13 alpha1.

Problem: my Fedora team identified that 16 projects are affected by this function removal.

  • collectd
  • freeradius
  • gnumeric
  • libesedb
  • libsigrokdecode
  • OpenIPMI
  • openscap
  • profanity
  • pyliblo
  • pyotherside
  • python-confluent-kafka
  • python-cradox
  • python-gphoto2
  • python-simpleaudio
  • python-subvertpy
  • rb_libtorrent

I propose to restore the function in Python 3.13 beta1, and remove it again in Python 3.14 alpha1.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/python/cpython/issues/117929

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy