Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-106320: Remove private _PyInterpreterState functions #106335

Merged
merged 1 commit into from
Jul 2, 2023

Commits on Jul 2, 2023

  1. pythongh-106320: Remove private _PyInterpreterState functions

    Remove private _PyThreadState and _PyInterpreterState C API
    functions: move them to the internal C API (pycore_pystate.h and
    pycore_interp.h). Don't export most of these functions anymore, but
    still export functions used by tests.
    
    Remove _PyThreadState_Prealloc() and _PyThreadState_Init() from the C
    API, but keep it in the stable API.
    vstinner committed Jul 2, 2023
    Configuration menu
    Copy the full SHA
    94979be View commit details
    Browse the repository at this point in the history