summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-08-02 20:39:46 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2013-08-02 20:39:46 +0200
commit5d62cd8fe1ac1e2f8286f286530bf16e995cd34d (patch)
treeddf23fca11784f224255b2879e5bbb6afebcda23 /Python/import.c
parenta37d79cf2e0ade9f74cb76246d96e6ca4d5dc943 (diff)
downloadcpython-5d62cd8fe1ac1e2f8286f286530bf16e995cd34d.tar.gz
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 ce09ebedd4..09106555a3 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