diff options
author | Brett Cannon <brett@python.org> | 2012-04-29 18:38:11 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-04-29 18:38:11 (GMT) |
commit | 62228dbd6c3b7be4199756c42a21429664c053e6 (patch) | |
tree | 3d63ba456c809bd1f0eae2d9dee4bf8ae7dad31b /Python/pythonrun.c | |
parent | 1fc3ec91cc3e86035179db3e476ae7cd36ca6716 (diff) | |
download | cpython-62228dbd6c3b7be4199756c42a21429664c053e6.zip cpython-62228dbd6c3b7be4199756c42a21429664c053e6.tar.gz cpython-62228dbd6c3b7be4199756c42a21429664c053e6.tar.bz2 |
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 9e20e4a..cd3cf5c 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) { |