summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-02 19:30:21 (GMT)
committerGitHub <noreply@github.com>2019-05-02 19:30:21 (GMT)
commit4631da1242fc96002a3c0462a87d087e567368aa (patch)
tree217203b1293ecc7ac92679c9da38338f1a0c3f1f /Include
parent70005ac0fddd8585725b92acd1bc2b8e7b81999c (diff)
downloadcpython-4631da1242fc96002a3c0462a87d087e567368aa.zip
cpython-4631da1242fc96002a3c0462a87d087e567368aa.tar.gz
cpython-4631da1242fc96002a3c0462a87d087e567368aa.tar.bz2
bpo-36763: Remove _PyCoreConfig._init_main (GH-13066)
Diffstat (limited to 'Include')
-rw-r--r--Include/cpython/coreconfig.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/Include/cpython/coreconfig.h b/Include/cpython/coreconfig.h
index 5672080..47a6baa 100644
--- a/Include/cpython/coreconfig.h
+++ b/Include/cpython/coreconfig.h
@@ -391,9 +391,6 @@ typedef struct {
If set to -1 (default), inherit Py_FrozenFlag value. */
int _frozen;
- /* If non-zero, use "main" Python initialization */
- int _init_main;
-
} _PyCoreConfig;
#ifdef MS_WINDOWS
@@ -428,8 +425,7 @@ typedef struct {
.buffered_stdio = -1, \
._install_importlib = 1, \
.check_hash_pycs_mode = NULL, \
- ._frozen = -1, \
- ._init_main = 1}
+ ._frozen = -1}
/* Note: _PyCoreConfig_INIT sets other fields to 0/NULL */
#ifdef __cplusplus