What the GIL, Subinterpreters and Free-Threading Each Give Up
What the Python Language Summit 2026 write-up says each of Python's three concurrency models gives up, and why it calls threads a hard interface.
For: Learners new to Python concurrency.
Why threads are a hard interface
Today the interface for accessing free-threading is, unsurprisingly, “threads”.[1]
Using threads means users need to care about deadlocks and race conditions.[1]
What each Python model gives up
Python using the Global Interpreter Lock (GIL) (represented as a single lock on the graphic) is a simple model, but it’s not completely safe, as the GIL “only protects the runtime”.[1]
Subinterpreters (represented as multiple locks on the graphic) as a model are safer due to the isolation, but this model isn’t simple or performant due to data copying.[1]
Finally, there is free-threaded Python (racecar in the graphic), which is very similar to C: simple and performant, but it puts the burden on programmers for program correctness and safety.[1]
What the write-up says is missing
But there was one aspect of PEP 779’s acceptance criteria that hadn’t been addressed yet: high-level concurrency primitives.[1]
Sources
- Free-Threaded Python Post-Era (Python Language Summit 2026) (blog.python.org · checked )
More articles
- LearningWhy Rust for CPython, and What It Will Not FixThe reasons the Language Summit 2026 write-up gives for proposing Rust in CPython, what it says Rust does not remove and how the team proposes to reduce the risk.
- LearningWhy One Table Needs Several Models, and the Idea PEP 827 OffersWhat the Language Summit write-up says each CRUD operation needs from a model, and the idea PEP 827 offers for keeping them in step.
- LearningHow a Username and Any API Key Became Admin AccessWhat the Python Security Response Team says was reported, what supplying an admin username with any key did and how quickly the fix was confirmed.