|
I expected that this conditional code would become the default quickly, but I got way more technical issues than expected. I managed to fix many issues: https://vstinner.github.io/isolate-subinterpreters.html But there are still multiple big issues like static types, singletons or getting the thread state ("tstate") from a thread local storage (TLS). Hopefully, immortal objects may fix static types and singletons, and it seems possible to fix #84702 (tstate). This experiment was useful to discover all issues and have a better plan to fully implement the feature ("per-interpreter GIL"). |
Sorry, something went wrong.
There was a problem hiding this comment.
If we decide to remove this flag, I would like to recommend adding the entry for What's NEWS.
Although this flag was not intended to expose to the public user, this flag was spread out to users who have interests in the multi-core sub interpreter project.
example: https://stackoverflow.com/a/65995393
Sorry, something went wrong.
|
This is also broken on main branch and 3.11 as it won't even compile with this option. See #90988 |
Sorry, something went wrong.
|
Yes, please. |
Sorry, something went wrong.
|
@pablogsal, would it be okay to backport this to 3.11? (It already doesn't work on 3.11 currently.) |
Sorry, something went wrong.
|
Yep, I'm ok backporting this 👍 |
Sorry, something went wrong.
|
Thanks @ericsnowcurrently for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, something went wrong.
|
Sorry, @ericsnowcurrently, I could not cleanly backport this to 3.11 due to a conflict. |
Sorry, something went wrong.
This was added for bpo-40514 (gh-84694) to test out a per-interpreter GIL. However, it has since proven unnecessary to keep the experiment in the repo. (It can be done as a branch in a fork like normal.) So here we are removing: