Skip to content

bpo-44441: _PyImport_Fini2() resets PyImport_Inittab#26874

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:inittab
Jun 23, 2021
Merged

bpo-44441: _PyImport_Fini2() resets PyImport_Inittab#26874
vstinner merged 1 commit into
python:mainfrom
vstinner:inittab

Conversation

@vstinner

@vstinner vstinner commented Jun 23, 2021

Copy link
Copy Markdown
Member

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

vstinner commented Jun 23, 2021

Copy link
Copy Markdown
Member Author

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
@vstinner vstinner deleted the inittab branch June 23, 2021 12:13
@vstinner vstinner added the needs backport to 3.10 only security fixes label Jun 23, 2021
@miss-islington

Copy link
Copy Markdown
Contributor

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

@miss-islington

Copy link
Copy Markdown
Contributor

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

@bedevere-bot

Copy link
Copy Markdown

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

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Jun 23, 2021
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants