Skip to content

gh-99578: Fix refleak in _imp.create_builtin() - #99642

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:create_builtin
Nov 21, 2022
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:create_builtin

Conversation

@vstinner

@vstinner vstinner commented Nov 21, 2022 •

Copy link
Copy Markdown
Member

Fix a reference leak in _imp.create_builtin() after the creation of the first sub-interpreter.

Fix a reference bug in _imp.create_builtin() after the creation of
the first sub-interpreter for modules "builtins" and "sys".
@vstinner
vstinner merged commit cb2ef8b into python:main Nov 21, 2022
@miss-islington

Copy link
Copy Markdown
Contributor

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

@vstinner
vstinner deleted the create_builtin branch November 21, 2022 11:14
@bedevere-bot

Copy link
Copy Markdown

GH-99643 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 21, 2022
Fix a reference bug in _imp.create_builtin() after the creation of
the first sub-interpreter for modules "builtins" and "sys".
(cherry picked from commit cb2ef8b)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Nov 21, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 21, 2022
Fix a reference bug in _imp.create_builtin() after the creation of
the first sub-interpreter for modules "builtins" and "sys".
(cherry picked from commit cb2ef8b)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot

Copy link
Copy Markdown

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

miss-islington added a commit that referenced this pull request Nov 21, 2022
Fix a reference bug in _imp.create_builtin() after the creation of
the first sub-interpreter for modules "builtins" and "sys".
(cherry picked from commit cb2ef8b)

Co-authored-by: Victor Stinner <vstinner@python.org>
miss-islington added a commit that referenced this pull request Nov 21, 2022
Fix a reference bug in _imp.create_builtin() after the creation of
the first sub-interpreter for modules "builtins" and "sys".
(cherry picked from commit cb2ef8b)

Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants