summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-08-07 19:14:56 (GMT)
committerGitHub <noreply@github.com>2023-08-07 19:14:56 (GMT)
commit430632d6f710c99879c5d1736f3b40ea09b11c4d (patch)
tree5c170b5a94186d7703e353837fbfcc1b2b8ec47b /Include
parent16c9415fba4972743f1944ebc44946e475e68bc4 (diff)
downloadcpython-430632d6f710c99879c5d1736f3b40ea09b11c4d.zip
cpython-430632d6f710c99879c5d1736f3b40ea09b11c4d.tar.gz
cpython-430632d6f710c99879c5d1736f3b40ea09b11c4d.tar.bz2
gh-107630: Initialize Each Interpreter's refchain Properly (gh-107733)
This finishes fixing the crashes in Py_TRACE_REFS builds. We missed this part in gh-107567.
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_object.h b/Include/internal/pycore_object.h
index 76b3cd6..7cdf64b 100644
--- a/Include/internal/pycore_object.h
+++ b/Include/internal/pycore_object.h
@@ -173,6 +173,7 @@ _PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
extern void _PyType_InitCache(PyInterpreterState *interp);
+extern void _PyObject_InitState(PyInterpreterState *interp);
/* Inline functions trading binary compatibility for speed:
_PyObject_Init() is the fast version of PyObject_Init(), and