gh-106320: Remove private _PyInterpreterID C API (#107053)

Move the private _PyInterpreterID C API to the internal C API: add a
new pycore_interp_id.h header file.

Remove Include/interpreteridobject.h and
Include/cpython/interpreteridobject.h header files.
This commit is contained in:
Victor Stinner 2023-07-22 21:31:55 +02:00 committed by GitHub
parent f8b7fe2f26
commit 22422e9d1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 40 additions and 46 deletions

View file

@ -7,7 +7,7 @@
#include "Python.h"
#include "pycore_interp.h" // _PyInterpreterState_GetMainModule()
#include "interpreteridobject.h"
#include "pycore_interp_id.h" // _PyInterpreterState_GetIDObject()
#define MODULE_NAME "_xxsubinterpreters"