Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jul 2, 2023

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.

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 vstinner force-pushed the WIP_remove_interp branch from 58f66f0 to b403d1a Compare July 2, 2023 00:54
@vstinner vstinner enabled auto-merge (squash) July 2, 2023 00:54
@vstinner vstinner disabled auto-merge July 2, 2023 01:16
@vstinner vstinner enabled auto-merge (squash) July 2, 2023 01:16
@vstinner vstinner merged commit 8571b27 into python:main Jul 2, 2023
@vstinner vstinner deleted the WIP_remove_interp branch July 2, 2023 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants