diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-03-27 01:04:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-27 01:04:16 (GMT) |
commit | 484f20d2ff95cc2e1bea759852da307bc1d1d944 (patch) | |
tree | 2f170dbbabfbff21d45d5c87d9bc0ecd73ba31ad /Lib/test/test_embed.py | |
parent | 8b9dbc017a190d13f717e714630d620adb7c7ac2 (diff) | |
download | cpython-484f20d2ff95cc2e1bea759852da307bc1d1d944.zip cpython-484f20d2ff95cc2e1bea759852da307bc1d1d944.tar.gz cpython-484f20d2ff95cc2e1bea759852da307bc1d1d944.tar.bz2 |
bpo-36444: Add _PyCoreConfig._init_main (GH-12572)
* Add _PyCoreConfig._init_main: if equals to zero,
_Py_InitializeFromConfig() doesn't call
_Py_InitializeMainInterpreter().
* Add interp_p parameter to _Py_InitializeFromConfig().
* pymain_init() now calls _Py_InitializeFromConfig().
* Make _Py_InitializeCore() private.
Diffstat (limited to 'Lib/test/test_embed.py')
-rw-r--r-- | Lib/test/test_embed.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py index f5e3cef..c63ea5a 100644 --- a/Lib/test/test_embed.py +++ b/Lib/test/test_embed.py @@ -338,6 +338,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase): '_install_importlib': 1, '_check_hash_pycs_mode': 'default', '_frozen': 0, + '_init_main': 1, } if MS_WINDOWS: DEFAULT_PRE_CONFIG.update({ |