summaryrefslogtreecommitdiffstats
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-10-30 21:48:26 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-10-30 21:48:26 (GMT)
commit6a27efa2d321c2b262c0cab3c2d4af3e2e8a9ead (patch)
tree8b5388600b6df266a89b8ec1324ae6441cfbd032 /Python/codecs.c
parent5833a2f6fdc6ee58b23a02380093bf1bfb015f3c (diff)
downloadcpython-6a27efa2d321c2b262c0cab3c2d4af3e2e8a9ead.zip
cpython-6a27efa2d321c2b262c0cab3c2d4af3e2e8a9ead.tar.gz
cpython-6a27efa2d321c2b262c0cab3c2d4af3e2e8a9ead.tar.bz2
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/codecs.c')
-rw-r--r--Python/codecs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/codecs.c b/Python/codecs.c
index 66576c4..ebddc09 100644
--- a/Python/codecs.c
+++ b/Python/codecs.c
@@ -869,5 +869,6 @@ static int _PyCodecRegistry_Init(void)
return -1;
}
Py_DECREF(mod);
+ interp->codecs_initialized = 1;
return 0;
}