summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2024-03-21 17:15:02 (GMT)
committerGitHub <noreply@github.com>2024-03-21 17:15:02 (GMT)
commit617158e07811edfd6fd552a3d84b0beedd8f1d18 (patch)
treeda45d921852f67ce2cc7a086c5c1b79ad20b4b2d /Objects/object.c
parentabdd1f938f08e536864532b2071f144515ecc88b (diff)
downloadcpython-617158e07811edfd6fd552a3d84b0beedd8f1d18.zip
cpython-617158e07811edfd6fd552a3d84b0beedd8f1d18.tar.gz
cpython-617158e07811edfd6fd552a3d84b0beedd8f1d18.tar.bz2
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.
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 0d03292..b4f0fd4 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -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,