diff options
| author | Benjamin Peterson <benjamin@python.org> | 2012-04-24 11:09:20 -0400 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2012-04-24 11:09:20 -0400 |
| commit | 53d09b53993c6fd90307bbe842bccb40dcb03e43 (patch) | |
| tree | eab386f41260d464b00eadb79181216fa6261faa /Python/pystate.c | |
| parent | f73861a9f1b07296436badc29cb67c38f5e9c462 (diff) | |
| parent | 4fd25873791e766eb60314d42bd6b292b4a6d221 (diff) | |
| download | cpython-53d09b53993c6fd90307bbe842bccb40dcb03e43.tar.gz | |
merge 3.2 (#14658)
Diffstat (limited to 'Python/pystate.c')
| -rw-r--r-- | Python/pystate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index 31b5423d38..fdcbbcec87 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -79,6 +79,7 @@ PyInterpreterState_New(void) interp->codec_error_registry = NULL; interp->codecs_initialized = 0; interp->fscodec_initialized = 0; + interp->importlib = NULL; #ifdef HAVE_DLOPEN #ifdef RTLD_NOW interp->dlopenflags = RTLD_NOW; @@ -116,6 +117,7 @@ PyInterpreterState_Clear(PyInterpreterState *interp) Py_CLEAR(interp->modules_reloading); Py_CLEAR(interp->sysdict); Py_CLEAR(interp->builtins); + Py_CLEAR(interp->importlib); } |
