From 84213ad540d677ce759458f2b536e1acfbef601a Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Thu, 30 Oct 2008 21:48:26 +0000 Subject: 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. --- Python/codecs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Python/codecs.c') diff --git a/Python/codecs.c b/Python/codecs.c index 66576c481c..ebddc09d7b 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; } -- cgit v1.2.1