-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-46347: Fix PyEval_EvalCodeEx to correctly cleanup in error paths #30551
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
Conversation
Yup, that's how it's done! |
I don't think this needs to go in 3.10, so I'll just merge it into the main branch. |
@1st1 Why do you think it doesn't need to go to 3.10 as well? |
Because any remaining leaks can only happen when the interpreter is about to shutdown anyways so leaking a bit of memory isn't critical. IMO it's not worth it to push more changes to 3.10, but that will ultimately be up to @pablogsal |
@1st1: Please replace |
Thanks @1st1 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Sorry, @1st1, I could not cleanly backport this to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
post-merge LGTM
https://bugs.python.org/issue46347