Skip to content

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

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

Merged
merged 1 commit into from
Nov 21, 2022
Merged

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

merged 1 commit into from
Nov 21, 2022

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Nov 21, 2022

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
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
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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.

2 participants