mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-76785: Drop PyInterpreterID_Type (gh-117101)
I added it quite a while ago as a strategy for managing interpreter lifetimes relative to the PEP 554 (now 734) implementation. Relatively recently I refactored that implementation to no longer rely on InterpreterID objects. Thus now I'm removing it.
This commit is contained in:
parent
abdd1f938f
commit
617158e078
18 changed files with 357 additions and 443 deletions
|
@ -24,8 +24,6 @@
|
|||
#include "pycore_typevarobject.h" // _PyTypeAlias_Type, _Py_initialize_generic
|
||||
#include "pycore_unionobject.h" // _PyUnion_Type
|
||||
|
||||
#include "interpreteridobject.h" // _PyInterpreterID_Type
|
||||
|
||||
#ifdef Py_LIMITED_API
|
||||
// Prevent recursive call _Py_IncRef() <=> Py_INCREF()
|
||||
# error "Py_LIMITED_API macro must not be defined"
|
||||
|
@ -2240,7 +2238,6 @@ static PyTypeObject* static_types[] = {
|
|||
&PyGen_Type,
|
||||
&PyGetSetDescr_Type,
|
||||
&PyInstanceMethod_Type,
|
||||
&PyInterpreterID_Type,
|
||||
&PyListIter_Type,
|
||||
&PyListRevIter_Type,
|
||||
&PyList_Type,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue