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 /Python/pythonrun.c | |
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 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index b85c390a77..c2508fa579 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -277,10 +277,6 @@ Py_Finalize(void) #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 |