What is free-threaded Python, and what is its current status as of Python 3.14?
Answer
Free-threaded Python is a build of CPython, proposed by PEP 703, that removes the GIL entirely so multiple threads can execute Python bytecode truly in parallel on multiple cores, using more fine-grained internal locking and a different memory management scheme instead. PEP 779 defined the criteria for calling this build officially supported, and Python 3.14 met those criteria, making free-threading officially supported for the first time — but it remains an opt-in alternative build, not the default, because it carries a single-threaded performance cost and many C-extension packages are not yet fully compatible with it.
Strong answer includes
- PEP 703 build removes the GIL for true parallel bytecode execution
- PEP 779 set the criteria; 3.14 made it officially supported
- still opt-in, not default, due to single-thread overhead and extension compatibility
Practical example
Running `python3.14t` (the free-threaded build) lets a CPU-bound thread pool actually scale across cores, something impossible on the standard GIL build, but a third-party extension without free-threading support may re-enable the GIL automatically when imported.