comparison 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
comparison
equal deleted inserted replaced
26290:e96575f7e96a 26298:f6e46585b6b3
275 */ 275 */
276 276
277 PyGrammar_RemoveAccelerators(&_PyParser_Grammar); 277 PyGrammar_RemoveAccelerators(&_PyParser_Grammar);
278 278
279 call_ll_exitfuncs(); 279 call_ll_exitfuncs();
280
281 #ifdef Py_TRACE_REFS
282 _Py_ResetReferences();
283 #endif /* Py_TRACE_REFS */
284 } 280 }
285 281
286 /* Create and initialize a new interpreter and thread, and return the 282 /* Create and initialize a new interpreter and thread, and return the
287 new thread. This requires that Py_Initialize() has been called 283 new thread. This requires that Py_Initialize() has been called
288 first. 284 first.