Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner 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.
@vstinnervstinner enabled auto-merge (squash) July 2, 2023 00:54
@vstinnervstinner disabled auto-merge July 2, 2023 01:16
@vstinnervstinner enabled auto-merge (squash) July 2, 2023 01:16
@vstinnervstinner merged commit 8571b27 into python:mainJul 2, 2023
@vstinnervstinner deleted the WIP_remove_interp branch July 2, 2023 15:53
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner@bedevere-bot