summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-08-02 18:39:46 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-08-02 18:39:46 (GMT)
commit95db2e7b8a0477ddf60902ca0aacdafbb265e5a5 (patch)
tree082db54bac3ba572964b54da33bd757661e3ab20 /Python/import.c
parent865d12a2d9108b04f3417b0f772dfff5bf9840cb (diff)
downloadcpython-95db2e7b8a0477ddf60902ca0aacdafbb265e5a5.zip
cpython-95db2e7b8a0477ddf60902ca0aacdafbb265e5a5.tar.gz
cpython-95db2e7b8a0477ddf60902ca0aacdafbb265e5a5.tar.bz2
Backout 62658d9d8926 (issue #10241): it causes a crash at shutdown when deallocating a Tkapp object.
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/import.c b/Python/import.c
index ce09ebe..0910655 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -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