summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-04-29 18:38:11 (GMT)
committerBrett Cannon <brett@python.org>2012-04-29 18:38:11 (GMT)
commit62228dbd6c3b7be4199756c42a21429664c053e6 (patch)
tree3d63ba456c809bd1f0eae2d9dee4bf8ae7dad31b /Python/pystate.c
parent1fc3ec91cc3e86035179db3e476ae7cd36ca6716 (diff)
downloadcpython-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/pystate.c')
-rw-r--r--Python/pystate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index fdcbbce..a0489ad 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -69,7 +69,6 @@ PyInterpreterState_New(void)
Py_FatalError("Can't initialize threads for interpreter");
#endif
interp->modules = NULL;
- interp->modules_reloading = NULL;
interp->modules_by_index = NULL;
interp->sysdict = NULL;
interp->builtins = NULL;
@@ -114,7 +113,6 @@ PyInterpreterState_Clear(PyInterpreterState *interp)
Py_CLEAR(interp->codec_error_registry);
Py_CLEAR(interp->modules);
Py_CLEAR(interp->modules_by_index);
- Py_CLEAR(interp->modules_reloading);
Py_CLEAR(interp->sysdict);
Py_CLEAR(interp->builtins);
Py_CLEAR(interp->importlib);