bpo-36763: Remove _PyCoreConfig._init_main (GH-13066)

This commit is contained in:
Victor Stinner 2019-05-02 15:30:21 -04:00 committed by GitHub
parent 70005ac0fd
commit 4631da1242
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 19 deletions

View file

@ -988,7 +988,7 @@ init_python(const _PyCoreConfig *config, const _PyArgv *args)
}
config = &interp->core_config;
if (config->_init_main) {
if (!config->_frozen) {
err = _Py_InitializeMainInterpreter(runtime, interp);
if (_Py_INIT_FAILED(err)) {
return err;