Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-44441: _PyImport_Fini2() resets PyImport_Inittab #26874

Merged
merged 1 commit into from Jun 23, 2021
Merged

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 23, 2021

Py_RunMain() now resets PyImport_Inittab to its initial value at
exit. It must be possible to call PyImport_AppendInittab() or
PyImport_ExtendInittab() at each Python initialization.

https://bugs.python.org/issue44441

Py_RunMain() now resets PyImport_Inittab to its initial value at
exit. It must be possible to call PyImport_AppendInittab() or
PyImport_ExtendInittab() at each Python initialization.
@vstinner
Copy link
Member Author

@vstinner vstinner commented Jun 23, 2021

test_ssl failure on macOS is known and unrelated: https://bugs.python.org/issue44237

@vstinner vstinner merged commit 489699c into python:main Jun 23, 2021
12 of 13 checks passed
12 of 13 checks passed
@github-actions
Docs
Details
@github-actions
Check for source changes
Details
@github-actions
Check if generated files are up to date
Details
@github-actions
Windows (x86)
Details
@github-actions
Windows (x64)
Details
@github-actions
macOS macOS
Details
@github-actions
Ubuntu
Details
@github-actions
Ubuntu SSL tests with OpenSSL
Details
@github-actions
Address sanitizer Address sanitizer
Details
Azure Pipelines PR #20210623.17 succeeded
Details
@travis-ci
Travis CI - Pull Request Build Passed
Details
@bedevere-bot
bedevere/issue-number Issue number 44441 found
Details
@bedevere-bot
bedevere/news News entry found in Misc/NEWS.d
@vstinner vstinner deleted the vstinner:inittab branch Jun 23, 2021
@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 23, 2021

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

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 23, 2021

Sorry, @vstinner, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 489699ca05bed5cfd10e847d8580840812b476cd 3.10

vstinner added a commit to vstinner/cpython that referenced this pull request Jun 23, 2021
Py_RunMain() now resets PyImport_Inittab to its initial value at
exit. It must be possible to call PyImport_AppendInittab() or
PyImport_ExtendInittab() at each Python initialization.

(cherry picked from commit 489699c)
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Jun 23, 2021

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

vstinner added a commit to vstinner/cpython that referenced this pull request Jun 23, 2021
Py_RunMain() now resets PyImport_Inittab to its initial value at
exit. It must be possible to call PyImport_AppendInittab() or
PyImport_ExtendInittab() at each Python initialization.

(cherry picked from commit 489699c)
vstinner added a commit to vstinner/cpython that referenced this pull request Jun 23, 2021
Py_RunMain() now resets PyImport_Inittab to its initial value at
exit. It must be possible to call PyImport_AppendInittab() or
PyImport_ExtendInittab() at each Python initialization.

(cherry picked from commit 489699c)
vstinner added a commit that referenced this pull request Jun 23, 2021
…6878)

Py_RunMain() now resets PyImport_Inittab to its initial value at
exit. It must be possible to call PyImport_AppendInittab() or
PyImport_ExtendInittab() at each Python initialization.

(cherry picked from commit 489699c)
vstinner added a commit that referenced this pull request Jun 23, 2021
…6877)

Py_RunMain() now resets PyImport_Inittab to its initial value at
exit. It must be possible to call PyImport_AppendInittab() or
PyImport_ExtendInittab() at each Python initialization.

(cherry picked from commit 489699c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants