summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-04-26 22:24:21 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-04-26 22:24:21 (GMT)
commit793b531756a4752a167e29f53c4ff49ce2846c74 (patch)
tree30451bc81f557d0613390ea4a9b6b4298d15c9d3 /Include
parentc40a350db0f16c678273ee715fe7c70c431360a1 (diff)
downloadcpython-793b531756a4752a167e29f53c4ff49ce2846c74.zip
cpython-793b531756a4752a167e29f53c4ff49ce2846c74.tar.gz
cpython-793b531756a4752a167e29f53c4ff49ce2846c74.tar.bz2
Issue #10914: Initialize correctly the filesystem codec when creating a new
subinterpreter to fix a bootstrap issue with codecs implemented in Python, as the ISO-8859-15 codec. Add fscodec_initialized attribute to the PyInterpreterState structure.
Diffstat (limited to 'Include')
-rw-r--r--Include/pystate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pystate.h b/Include/pystate.h
index a894bb4..96a70b9 100644
--- a/Include/pystate.h
+++ b/Include/pystate.h
@@ -31,6 +31,7 @@ typedef struct _is {
PyObject *codec_search_cache;
PyObject *codec_error_registry;
int codecs_initialized;
+ int fscodec_initialized;
#ifdef HAVE_DLOPEN
int dlopenflags;