diff options
author | Christian Heimes <christian@cheimes.de> | 2008-10-30 21:48:26 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-10-30 21:48:26 +0000 |
commit | 6a27efa2d321c2b262c0cab3c2d4af3e2e8a9ead (patch) | |
tree | 8b5388600b6df266a89b8ec1324ae6441cfbd032 /Python/pystate.c | |
parent | 5833a2f6fdc6ee58b23a02380093bf1bfb015f3c (diff) | |
download | cpython-git-6a27efa2d321c2b262c0cab3c2d4af3e2e8a9ead.tar.gz |
Issue 3723: Fixed initialization of subinterpreters
The patch fixes several issues with Py_NewInterpreter as well as the demo for multiple subinterpreters.
Most of the patch was written by MvL with help from Benjamin, Amaury and me. Graham Dumpleton has verified that this patch fixes an issue with mod_wsgi.
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index 9479256718..2a9b7443f9 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -76,6 +76,7 @@ PyInterpreterState_New(void) interp->codec_search_path = NULL; interp->codec_search_cache = NULL; interp->codec_error_registry = NULL; + interp->codecs_initialized = 0; #ifdef HAVE_DLOPEN #ifdef RTLD_NOW interp->dlopenflags = RTLD_NOW; |