News for hackers. Stuff that matters.
Re:No-GIL mode coming for Python by kzrdude on Saturday July 29, 2023 @05:31AM (#36918455)
GIL blocks parallelism for ThreadPool.

But I have the same question as you have if we add another coming concurrency model: SubinterpreterThreadPool, which will be possible with the per-interpreter GIL in python 3.12 and later.

That's another new model that is already confirmed to be coming: interpreters (isolated from each other) in the same process, that can run with each their own GIL.

Re:No-GIL mode coming for Python by lucidyan on Saturday July 29, 2023 @08:27PM (#36926365)
Are we talking about "PEP 554 – Multiple Interpreters in the Stdlib"[1] proposal?

[1] https://peps.python.org/pep-0554/

Re:No-GIL mode coming for Python by kzrdude on Sunday July 30, 2023 @06:32AM (#36929754)
Yes and https://peps.python.org/pep-0684/ which is no longer a proposal, but it's also been implemented in CPython 3.12.

with PoC of the parallelization code being developed here https://github.com/jsbueno/extrainterpreters