mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Remove _Py_ResetReferences. Fixes bug #529750 "Circular reference makes
Py_Init crash". refchain cannot be cleared because objects can live across Py_Finalize() and Py_Initialize() if they are kept alive by circular references.
This commit is contained in:
parent
6141812820
commit
89350a41b9
3 changed files with 0 additions and 12 deletions
|
@ -277,10 +277,6 @@ Py_Finalize(void)
|
|||
#endif
|
||||
|
||||
call_ll_exitfuncs();
|
||||
|
||||
#ifdef Py_TRACE_REFS
|
||||
_Py_ResetReferences();
|
||||
#endif /* Py_TRACE_REFS */
|
||||
}
|
||||
|
||||
/* Create and initialize a new interpreter and thread, and return the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue