October 7, 2024

Python 3.13 released

PythonA high-level language known for readability — dominant in data science, scripting, and web backends. 3.13 shipped on October 7, 2024 with an experimental free-threaded build, improved REPLRead-eval-print loop — an interactive shell that runs code as you type it., and JITJust-in-time compilation — translating code to machine instructions at runtime instead of ahead of time. compiler groundwork.

What it was for

Python (programming language)PythonA high-level language known for readability — dominant in data science, scripting, and web backends. 3.13's optional nogil mode lets threads run truly in parallel on multi-core CPUs — a historic change for CPUCentral processing unit — the primary chip that executes program instructions.-bound PythonA high-level language known for readability — dominant in data science, scripting, and web backends.. The new interactive REPLRead-eval-print loop — an interactive shell that runs code as you type it. and colorized tracebacks improved daily developer experience while the project tested JITJust-in-time compilation — translating code to machine instructions at runtime instead of ahead of time. for future releases.

Why it's here

3.13's free-threading experiment could unlock multicore PythonA high-level language known for readability — dominant in data science, scripting, and web backends. for the first time.

Why it mattered

The GIL had been PythonA high-level language known for readability — dominant in data science, scripting, and web backends.'s biggest architectural limitation for parallel compute.

What it solved

Multi-core machines could not run CPUCentral processing unit — the primary chip that executes program instructions.-heavy PythonA high-level language known for readability — dominant in data science, scripting, and web backends. workloads in parallel threads effectively.

Media

  • Python (programming language)
    ImagePython (programming language)

    ™/®Python Software Foundation, GPL, via Wikimedia Commons

Related