diff options
author | Brett Cannon <brett@python.org> | 2012-04-29 14:38:11 -0400 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-04-29 14:38:11 -0400 |
commit | 50f76bdf6a49c9e80d8c092db2e93fc8c02ecb5c (patch) | |
tree | f6f90b9a9b9ed1a838a547b548779687ffc441b6 /Python/pythonrun.c | |
parent | 7c98a7f16877024b603d709127603549b85c3e19 (diff) | |
download | cpython-50f76bdf6a49c9e80d8c092db2e93fc8c02ecb5c.tar.gz |
Issues #13959, 14647: Re-implement imp.reload() in Lib/imp.py.
Thanks to Eric Snow for the patch.
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 9e20e4a051..cd3cf5c53c 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -314,9 +314,6 @@ Py_InitializeEx(int install_sigs) interp->modules = PyDict_New(); if (interp->modules == NULL) Py_FatalError("Py_Initialize: can't make modules dictionary"); - interp->modules_reloading = PyDict_New(); - if (interp->modules_reloading == NULL) - Py_FatalError("Py_Initialize: can't make modules_reloading dictionary"); /* Init Unicode implementation; relies on the codec registry */ if (_PyUnicode_Init() < 0) @@ -680,7 +677,6 @@ Py_NewInterpreter(void) /* XXX The following is lax in error checking */ interp->modules = PyDict_New(); - interp->modules_reloading = PyDict_New(); bimod = _PyImport_FindBuiltin("builtins"); if (bimod != NULL) { |