bpo-34008: Allow to call Py_Main() after Py_Initialize() by vstinner · Pull Request #8043 · python/cpython

Py_Main() can again be called after Py_Initialize(), as in Python
3.6. The new configuration is ignored, except of
_PyMainInterpreterConfig.argv which is used to update sys.argv.

@vstinner

@vstinner

ncoghlan

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jul 20, 2018
Py_Main() can again be called after Py_Initialize(), as in Python
3.6. The new configuration is ignored, except of
_PyMainInterpreterConfig.argv which is used to update sys.argv.
(cherry picked from commit fb47bca)

Co-authored-by: Victor Stinner <vstinner@redhat.com>

vstinner added a commit that referenced this pull request

Jul 21, 2018
…H-8352)

Py_Main() can again be called after Py_Initialize(), as in Python
3.6. The new configuration is ignored, except of
_PyMainInterpreterConfig.argv which is used to update sys.argv.
(cherry picked from commit fb47bca)

Co-authored-by: Victor Stinner <vstinner@redhat.com>