summaryrefslogtreecommitdiffstats
path: root/Include/pystate.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-02-10 16:21:34 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-02-10 16:21:34 (GMT)
commit013bb91aa304062bb65fe8951e2d263f2065ee56 (patch)
tree27febdf4f9bb1022798cdf8f44eef801987064e9 /Include/pystate.h
parent761412246751bbf32bfa6315a9888d6cbf322ee5 (diff)
downloadcpython-013bb91aa304062bb65fe8951e2d263f2065ee56.zip
cpython-013bb91aa304062bb65fe8951e2d263f2065ee56.tar.gz
cpython-013bb91aa304062bb65fe8951e2d263f2065ee56.tar.bz2
Issue #19255: The builtins module is restored to initial value before
cleaning other modules. The sys and builtins modules are cleaned last.
Diffstat (limited to 'Include/pystate.h')
-rw-r--r--Include/pystate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pystate.h b/Include/pystate.h
index 1f3465f..4992c22 100644
--- a/Include/pystate.h
+++ b/Include/pystate.h
@@ -33,7 +33,6 @@ typedef struct _is {
int codecs_initialized;
int fscodec_initialized;
-
#ifdef HAVE_DLOPEN
int dlopenflags;
#endif
@@ -41,6 +40,7 @@ typedef struct _is {
int tscdump;
#endif
+ PyObject *builtins_copy;
} PyInterpreterState;
#endif