diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2023-08-07 19:14:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 19:14:56 (GMT) |
commit | 430632d6f710c99879c5d1736f3b40ea09b11c4d (patch) | |
tree | 5c170b5a94186d7703e353837fbfcc1b2b8ec47b /Include | |
parent | 16c9415fba4972743f1944ebc44946e475e68bc4 (diff) | |
download | cpython-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.h | 1 |
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 |