]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34008: Allow to call Py_Main() after Py_Initialize() (GH-8043)
authorVictor Stinner <vstinner@redhat.com>
Fri, 20 Jul 2018 15:34:23 +0000 (17:34 +0200)
committerGitHub <noreply@github.com>
Fri, 20 Jul 2018 15:34:23 +0000 (17:34 +0200)
commitfb47bca9ee2d07ce96df94b4e4abafd11826eb01
tree5adbd1b262e05b0cd62bed74254b29f42c8b05c7
parent2c5c0a367c6ca648178072240fe0a32848636da6
bpo-34008: Allow to call Py_Main() after Py_Initialize() (GH-8043)

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.
Lib/test/test_embed.py
Misc/NEWS.d/next/C API/2018-07-02-10-58-11.bpo-34008.COewz-.rst [new file with mode: 0644]
Modules/main.c
Programs/_testembed.c
Python/pylifecycle.c