[Discuss] Python programming questtion
grg
grg-webvisible+blu at ai.mit.edu
Sat Jul 4 17:08:04 EDT 2026
On Sat, Jul 04, 2026 at 12:56:07PM -0700, Kent Borg wrote:
> This was a long time ago, I would hope that Python has gotten better since,
> but I am pretty sure the GIL is still out there making multithreading
> terrible..
actually, cpython 3.13 had an experimental non-GIL mode, and starting with
3.14 it's "mainstream". it's a separate binary, often a separate package
(e.g. python3.14-nogil or python3.14-freethreading depending on your
distro, or 3.14t for uv (which is an outstanding tool, btw, highly
recommended for anyone using python)).
the official docs on it point out that some packages re-enable the GIL anyway:
https://docs.python.org/3/howto/free-threading-python.html
--grg
More information about the Discuss
mailing list