The performance gains, when applicable, can be substantial. Preliminary benchmarks show that free-threading significantly benefits computationally intensive parallel workloads, with speedups scaling reasonably with core counts.
The internal handling of scope and memory has been refined to increase stability and performance.
(as of December 2024), which includes nearly 400 bug fixes and optimizations. Compatibility : Python 3.13 requires macOS 10.13 or higher. It also officially supports (WebAssembly System Interface) as a Tier 2 platform. Platform Readiness : Official installers are available on the Python.org Downloads Page python 313 release notes verified
Wait. The no-GIL build is experimental; it will likely be refined in 3.14 or 3.15. Stick with multiprocessing or concurrent.futures for now.
If you are building multi-threaded applications, try the free-threaded build to measure performance gains. The performance gains, when applicable, can be substantial
: A significantly upgraded REPL based on PyPy, featuring multi-line editing, color support, and interactive help. Experimental Free-Threading (PEP 703) : Users can now run Python without the Global Interpreter Lock (GIL)
While not enabled by default, this marks the beginning of the end for GIL-related bottlenecks in CPU-bound Python tasks. 2. A Better Interactive Interpreter (REPL) (as of December 2024), which includes nearly 400
For teams supporting older Python versions while using new typing features, typing-extensions version 4.13.2 or higher provides backports of these capabilities.
: Leading indentation in docstrings is now automatically stripped, reducing the size of .pyc files and overall memory usage.
# Compile from source: ./configure --disable-gil make ./python -c "import sys; print(sys._is_gil_enabled())" # False