close popup

Python 313 Release Notes Verified

Python 3.13, released on October 7, 2024 , is a transformative update focused on enhancing developer experience and laying the groundwork for massive performance gains. This "stable" release introduces several highly anticipated, albeit experimental, features that fundamentally change how the language handles concurrency and execution. Key Highlights of Python 3.13 What's New In Python 3.13 — Python 3.14.4 documentation

Packaging ecosystem

Verification: The JIT is not enabled by default. You must compile CPython from source with the --enable-experimental-jit flag. Even then, it only compiles relatively small parts of the interpreter's bytecode dispatch loop. python 313 release notes verified

9. What’s Not in Python 3.13 (Clarifications)

Given the hype, it’s worth stating what is not part of this release: Python 3

For production systems using heavy parallelism: 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. Expect a migration period for third-party wheels and

Windows (official installer):

Download from python.org/downloads/release/python-3130

class Point(TypedDict): x: ReadOnly[int] y: int

  1. An experimental Free-Threaded Build (no-GIL): Python can now run without the Global Interpreter Lock, allowing true parallel thread execution.
  2. An experimental JIT Compiler: A copy-and-patch JIT (Just-In-Time) compiler has been added for performance experimentation.
  3. A new, improved interactive interpreter: Featuring multi-line editing, color support, and REPL-specific commands.
  4. locals() scoping changes: The behavior of locals() inside functions has been optimized and clarified.
  5. [mapping] pattern matching enhancements: Improvements to structural pattern matching.
  6. Standard library removals and deprecations: Several legacy modules (like cgi, telnetlib) have been removed.

Safe to upgrade immediately if: