Skip to content

bpo-40413: test_embed tests calling Py_RunMain() multiple times#28466

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:test_run_main_loop
Sep 20, 2021
Merged

bpo-40413: test_embed tests calling Py_RunMain() multiple times#28466
vstinner merged 1 commit intopython:mainfrom
vstinner:test_run_main_loop

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Sep 20, 2021

Calling Py_InitializeFromConfig()+Py_RunMain() multiple times must
not crash.

https://bugs.python.org/issue40413

Calling Py_InitializeFromConfig()+Py_RunMain() multiple times must
not crash.
@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10.
🐍🍒⛏🤖

@vstinner vstinner deleted the test_run_main_loop branch September 20, 2021 08:30
@bedevere-bot
Copy link
Copy Markdown

GH-28470 is a backport of this pull request to the 3.10 branch.

@bedevere-bot
Copy link
Copy Markdown

GH-28471 is a backport of this pull request to the 3.9 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 20, 2021
…onGH-28466)

Calling Py_InitializeFromConfig()+Py_RunMain() multiple times must
not crash.

Cleanup also test_get_argc_argv().
(cherry picked from commit 5e2c32e)

Co-authored-by: Victor Stinner <vstinner@python.org>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 20, 2021
…onGH-28466)

Calling Py_InitializeFromConfig()+Py_RunMain() multiple times must
not crash.

Cleanup also test_get_argc_argv().
(cherry picked from commit 5e2c32e)

Co-authored-by: Victor Stinner <vstinner@python.org>
miss-islington added a commit that referenced this pull request Sep 20, 2021
…8466)

Calling Py_InitializeFromConfig()+Py_RunMain() multiple times must
not crash.

Cleanup also test_get_argc_argv().
(cherry picked from commit 5e2c32e)

Co-authored-by: Victor Stinner <vstinner@python.org>
ambv pushed a commit that referenced this pull request Sep 20, 2021
…8466) (GH-28471)

Calling Py_InitializeFromConfig()+Py_RunMain() multiple times must
not crash.

Cleanup also test_get_argc_argv().
(cherry picked from commit 5e2c32e)

Co-authored-by: Victor Stinner <vstinner@python.org>
niyas-sait pushed a commit to niyas-sait/cpython that referenced this pull request Sep 21, 2021
…onGH-28466)

Calling Py_InitializeFromConfig()+Py_RunMain() multiple times must
not crash.

Cleanup also test_get_argc_argv().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants