GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing github.com — gh-126316: Use mutexes in the grp module by vstinner · Pull Request #126504 · python/cpython Conversation
|
|
Actually, we'll need a separate fix for subinterpreters on 3.12, because there's no |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…BcDse.rst Co-authored-by: Peter Bierma <[email protected]>
The regular build (not Free Threaded build) is not affected by #126316 since function calls are serialized by the GIL. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yeah, but a subinterpreter can have its own GIL, so if these functions aren't thread safe on a system level, then it won't be thread safe across multiple interpreters. I think we just need to add a |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
My change only fix free-threaded build. Should I also change the regular build for this use case? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
On second thought, I think we should address subinterpreters in another PR for backporting reasons. The fix is what I said with the module slot above. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
#127055 was merged instead. I close this issue. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.