summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGustavo Niemeyer <gustavo@niemeyer.net>2003-03-19 00:35:36 (GMT)
committerGustavo Niemeyer <gustavo@niemeyer.net>2003-03-19 00:35:36 (GMT)
commit5ddd4c3f77abe9282479d901696dfa73e6c3d573 (patch)
tree1a36a11befd6fd5d1dc8a689a2cb39d2de487357 /Include
parent821a0fc140762c281b10dea4bb8676e913007270 (diff)
downloadcpython-5ddd4c3f77abe9282479d901696dfa73e6c3d573.zip
cpython-5ddd4c3f77abe9282479d901696dfa73e6c3d573.tar.gz
cpython-5ddd4c3f77abe9282479d901696dfa73e6c3d573.tar.bz2
Fixed SF bug #663074. The codec system was using global static
variables to store internal data. As a result, any atempts to use the unicode system with multiple active interpreters, or successive interpreter executions, would fail. Now that information is stored into members of the PyInterpreterState structure.
Diffstat (limited to 'Include')
-rw-r--r--Include/pystate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/pystate.h b/Include/pystate.h
index 3e5b5b4..f4c9d6e 100644
--- a/Include/pystate.h
+++ b/Include/pystate.h
@@ -22,6 +22,10 @@ typedef struct _is {
PyObject *sysdict;
PyObject *builtins;
+ PyObject *codec_search_path;
+ PyObject *codec_search_cache;
+ PyObject *codec_error_registry;
+
#ifdef HAVE_DLOPEN
int dlopenflags;
#endif