diff Python/pythonrun.c @ 26298:f6e46585b6b3 2.2

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).
author Neal Norwitz <nnorwitz@gmail.com>
date Wed, 20 Nov 2002 02:38:10 +0000
parents c0dd8bbdde60
children a8d6576b95af
line wrap: on
line diff
--- a/Python/pythonrun.c	Tue Nov 19 19:22:25 2002 +0000
+++ b/Python/pythonrun.c	Wed Nov 20 02:38:10 2002 +0000
@@ -277,10 +277,6 @@
 	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