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:
Neil Schemenauer 2002-11-17 17:52:44 +00:00
parent 6141812820
commit 89350a41b9
3 changed files with 0 additions and 12 deletions

View file

@ -1908,13 +1908,6 @@ _Py_ReadyTypes(void)
static PyObject refchain = {&refchain, &refchain};
void
_Py_ResetReferences(void)
{
refchain._ob_prev = refchain._ob_next = &refchain;
_Py_RefTotal = 0;
}
void
_Py_NewReference(PyObject *op)
{