GH-99205: Mark new interpreters and threads as non-static#99268
Conversation
kumaraditya303
left a comment
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
ericsnowcurrently
left a comment
There was a problem hiding this comment.
LGTM
I've pointed out two places where a comment would be appropriate. I'm approving the PR under the assumption you'll take care of those.
Sorry, something went wrong.
|
Thanks for fixing this, BTW. |
Sorry, something went wrong.
|
@pablogsal, leak tests didn't catch this because we use the "raw" domain to allocate |
Sorry, something went wrong.
|
Oh interesting, can you confirm that changing the domain to memory makes the test fail? |
Sorry, something went wrong.
You can't. :) See this comment: Lines 818 to 821 in 58ee5d8 |
Sorry, something went wrong.
|
Thanks @brandtbucher for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, something went wrong.
…onGH-99268) (cherry picked from commit 283ab0e) Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com>
PyThreadStateandPyInterpreterStateare not freed #99205