Backport Neil Schemenauer's fix for SF #529750,

Circular reference makes Py_Init crash

Modified to keep _Py_ResetReferences() API, but make it a no-op.
It's not called now (for 2.3 it was completely removed).
This commit is contained in:
Neal Norwitz
2002-11-20 02:38:10 +00:00
parent 954b3f75c7
commit 76f485ff95
2 changed files with 0 additions and 6 deletions

View File

@@ -277,10 +277,6 @@ Py_Finalize(void)
PyGrammar_RemoveAccelerators(&_PyParser_Grammar);
call_ll_exitfuncs();
#ifdef Py_TRACE_REFS
_Py_ResetReferences();
#endif /* Py_TRACE_REFS */
}
/* Create and initialize a new interpreter and thread, and return the