bpo-46347: Fix PyEval_EvalCodeEx to correctly cleanup in error paths#30551
bpo-46347: Fix PyEval_EvalCodeEx to correctly cleanup in error paths#305511st1 merged 1 commit intopython:mainfrom
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 |
https://bugs.python.org/issue46347