313 Release Notes Verified | Python
class Leader(TypedDict): name: ReadOnly[str] age: int
The internal handling of scope and memory has been refined to increase stability and performance.
Python 3.13 has arrived, and it is one of the most technically ambitious updates in the language's recent history. While not every feature is ready for production use, this release introduces groundbreaking experimental features that hint at Python’s future: , true thread-level parallelism (no-GIL) , and a significant modernization of the garbage collector. python 313 release notes verified
The future of Python is clearly multi-threaded and JIT-compiled. Python 3.13 lights the path—but the destination is still one or two releases away.
: In previous versions, hitting the up arrow recalled single lines of code piecemeal. Now, entire code blocks (such as a full for loop or a multi-line function definition) can be recalled, edited, and rerun as a single cohesive unit. The future of Python is clearly multi-threaded and
Beyond the JIT, Python 3.13 includes several verified speedups that benefit all users:
| Benchmark | 3.12 (seconds) | 3.13 (seconds) | Improvement | |-------------------|----------------|----------------|-------------| | regex_compile | 0.162 | 0.151 | +6.8% | | json_loads | 0.085 | 0.082 | +3.5% | | chaos | 0.109 | 0.102 | +6.4% | | crypto_pyaes | 0.654 | 0.631 | +3.5% | | go (board game) | 0.388 | 0.376 | +3.1% | | | 1.00 | 0.96 | ~4% faster | Now, entire code blocks (such as a full
Python 3.13 is not a revolutionary leap like 3.11 (which introduced major speedups) or 3.12 (improved error messages). Instead, it is a , giving developers the first taste of a future without the GIL, and a glimpse of what a JIT-compiled Python might look like.
The release of Python 3.13 marks one of the most transformative updates in the history of the language. Officially detailed in the verified Python 3.13 Documentation , this version strikes a monumental balance between immediate developer quality-of-life enhancements and deep, structural performance re-engineering.
Ensure your toolchain supports the new mimalloc allocator and enhanced locals() behavior.
: Users can now install a special build of CPython (often identified as python3.13t ) that disables the Global Interpreter Lock (GIL). This allows threads to run in true parallel on multi-core CPUs, which is a major leap for CPU-bound tasks like machine learning and heavy data processing.