[Python-checkins] python/dist/src/Include pystate.h,2.22,2.23
niemeyer@users.sourceforge.net
niemeyer@users.sourceforge.net
Tue, 18 Mar 2003 16:35:37 -0800
Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv14162/Include
Modified Files:
pystate.h
Log Message:
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.
Index: pystate.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pystate.h,v
retrieving revision 2.22
retrieving revision 2.23
diff -C2 -d -r2.22 -r2.23
*** pystate.h 19 Feb 2003 15:53:14 -0000 2.22
--- pystate.h 19 Mar 2003 00:35:35 -0000 2.23
***************
*** 23,26 ****
--- 23,30 ----
PyObject *builtins;
+ PyObject *codec_search_path;
+ PyObject *codec_search_cache;
+ PyObject *codec_error_registry;
+
#ifdef HAVE_DLOPEN
int dlopenflags;