Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Python programming questtion



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



Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org