Skip to content

[3.7] bpo-34008: Allow to call Py_Main() after Py_Initialize() (GH-8043)#8352

Merged
vstinner merged 1 commit intopython:3.7from
miss-islington:backport-fb47bca-3.7
Jul 21, 2018
Merged

[3.7] bpo-34008: Allow to call Py_Main() after Py_Initialize() (GH-8043)#8352
vstinner merged 1 commit intopython:3.7from
miss-islington:backport-fb47bca-3.7

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented 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 [email protected]

https://bugs.python.org/issue34008

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 <[email protected]>
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good bot.

@miss-islington
Copy link
Contributor Author

@vstinner: Backport status check is done, and it's a failure ❌ .

@vstinner vstinner merged commit 03ec4df into python:3.7 Jul 21, 2018
@miss-islington miss-islington deleted the backport-fb47bca-3.7 branch July 21, 2018 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants