From 76f485ff956ccba78e94e9d723e32a106b9dcd37 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Wed, 20 Nov 2002 02:38:10 +0000 Subject: 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). --- Python/pythonrun.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Python/pythonrun.c') diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 4b5cba58515..51d71e0da45 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -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 -- cgit v1.3.1