commit | 9ef5dcaa0b3c7c7ba28dbb3ec0c9507d9d05e3a9 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Thu May 16 17:38:16 2019 +0200 |
committer | GitHub <noreply@github.com> | Thu May 16 17:38:16 2019 +0200 |
tree | 56b9b45660cc83960c2752e22ee47090632ebb09 | |
parent | ae239f6b0626e926613a4a1dbafa323bd41fec32 [diff] |
bpo-36763: Add _Py_InitializeMain() (GH-13362) * Add a private _Py_InitializeMain() function. * Add again _PyCoreConfig._init_main. * _Py_InitializeFromConfig() now uses _init_main to decide if _Py_InitializeMainInterpreter() should be called. * _PyCoreConfig: rename _frozen to pathconfig_warnings, its value is now the opposite of Py_FrozenFlag. * Add an unit test for _init_main=0 and _Py_InitializeMain().