diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2002-11-17 17:52:44 +0000 |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2002-11-17 17:52:44 +0000 |
commit | 82f69bf77d3887a01c62ef53335804b6229cfdec (patch) | |
tree | 1374fdd802e08601444c8e6e4e2dab764ebc5a1b /Include/object.h | |
parent | a30415acd09b4628ffe70356c024d206913a94d7 (diff) | |
download | cpython-82f69bf77d3887a01c62ef53335804b6229cfdec.tar.gz |
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.
Diffstat (limited to 'Include/object.h')
-rw-r--r-- | Include/object.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h index d045be16a0..5e509b41a0 100644 --- a/Include/object.h +++ b/Include/object.h @@ -559,7 +559,6 @@ PyAPI_FUNC(void) _Py_NewReference(PyObject *); PyAPI_FUNC(void) _Py_ForgetReference(PyObject *); PyAPI_FUNC(void) _Py_Dealloc(PyObject *); PyAPI_FUNC(void) _Py_PrintReferences(FILE *); -PyAPI_FUNC(void) _Py_ResetReferences(void); #else /* Without Py_TRACE_REFS, there's little enough to do that we expand code |