mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
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.
This commit is contained in:
parent
16c9415fba
commit
430632d6f7
4 changed files with 25 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue