summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-11-20 02:38:10 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-11-20 02:38:10 (GMT)
commit76f485ff956ccba78e94e9d723e32a106b9dcd37 (patch)
tree354167808766e495168c808ce767f92db9b0fec7 /Python/pythonrun.c
parent954b3f75c7d799b61da8426a2d94e819a01a182b (diff)
downloadcpython-76f485ff956ccba78e94e9d723e32a106b9dcd37.zip
cpython-76f485ff956ccba78e94e9d723e32a106b9dcd37.tar.gz
cpython-76f485ff956ccba78e94e9d723e32a106b9dcd37.tar.bz2
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).
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 4b5cba5..51d71e0 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