Backout 62658d9d8926 (issue #10241): it causes a crash at shutdown when deallocating a Tkapp object.

This commit is contained in:
Antoine Pitrou 2013-08-02 20:39:46 +02:00
parent 865d12a2d9
commit 95db2e7b8a
4 changed files with 0 additions and 33 deletions

View file

@ -380,8 +380,6 @@ PyImport_Cleanup(void)
builtins = interp->builtins;
interp->builtins = PyDict_New();
Py_DECREF(builtins);
/* Clear module dict copies stored in the interpreter state */
_PyState_ClearModules();
/* Collect references */
_PyGC_CollectNoFail();
/* Dump GC stats before it's too late, since it uses the warnings