diff Python/pythonrun.c @ 26263:244e8fbe4e20 legacy-trunk

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.
author Neil Schemenauer <nascheme@enme.ucalgary.ca>
date Sun, 17 Nov 2002 17:52:44 +0000
parents 093fe5b9f6f9
children cc05c2c8660e
line wrap: on
line diff
--- a/Python/pythonrun.c	Sun Nov 17 11:09:50 2002 +0000
+++ b/Python/pythonrun.c	Sun Nov 17 17:52:44 2002 +0000
@@ -277,10 +277,6 @@
 #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