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)
commit3cbf14bfb11ce1f7f94a2a8e69161a621a200a5d (patch)
treec37a2c102c11824fd902e0cc602af1b81ca53ddc /Include
parent1188935af9ff5b762c6b1eaacb1dffdf0208bb40 (diff)
downloadcpython-3cbf14bfb11ce1f7f94a2a8e69161a621a200a5d.zip
cpython-3cbf14bfb11ce1f7f94a2a8e69161a621a200a5d.tar.gz
cpython-3cbf14bfb11ce1f7f94a2a8e69161a621a200a5d.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 9f876e9..5d2ee63 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;