Release Notes Verified | Python 313

To verify Python 3.13 on your system:

In previous Python versions, locals() inside a function would reflect the local namespace, but modifications might not always affect the function’s actual scope. In Python 3.13, the behavior has been standardized and optimized.

This is arguably the most anticipated change. For decades, the GIL prevented multiple threads from executing Python bytecode simultaneously. Python 3.13 introduces an experimental free-threaded build, where the GIL can be disabled.

All these are fully implemented and verified in the typing module.

Verified Source: PEP 705, PEP 728, PEP 696


Python 3.13, released on October 7, 2024, is a transformative update focused on performance, concurrency, and developer ergonomics. It introduces landmark experimental features that lay the foundation for a "GIL-free" and faster future for CPython.

1. Breakthrough Performance: Experimental JIT & Free-Threading

Python 3.13 introduces two of the most significant architectural changes in the language's recent history:

Experimental Free-Threaded Mode (PEP 703): This build allows running CPython without the Global Interpreter Lock (GIL). When enabled via --disable-gil, it allows multiple threads to run in true parallel on multi-core processors, significantly boosting performance for CPU-intensive, multi-threaded workloads like numerical computations.

Experimental Just-In-Time (JIT) Compiler (PEP 744): A preliminary "copy-and-patch" JIT compiler has been added to improve performance. While currently experimental and disabled by default (enabled with --enable-experimental-jit), it sets the stage for substantial speedups in future versions. 2. Enhanced Developer Experience: The New REPL

The interactive interpreter (REPL) received its first major overhaul in years, incorporating features inspired by PyPy:

Color & Clarity: Prompts and exception tracebacks are now colorized by default (manageable via the PYTHON_COLORS variable).

Multiline Editing: Users can now edit blocks of code directly in the REPL with history preservation.

Smart Commands: Keyboard shortcuts now provide advanced functionality: F1: Interactive help browser. F2: History browsing that skips output. F3: Dedicated Paste Mode for large code blocks.

Functionless Commands: You can now type exit, quit, or clear directly without calling them as functions (e.g., exit() is no longer required). 3. Language & Standard Library Updates

Improved Error Messages: Tracebacks are now more specific, such as suggesting the correct name if a wrong keyword argument is used.

Memory Efficiency: Leading indentation in docstrings is now automatically stripped, reducing the size of .pyc files and overall memory usage.

Removal of "Dead Batteries" (PEP 594): Several legacy modules deprecated in 3.11 have been officially removed, including cgi, crypt, and telnetlib. python 313 release notes verified

Platform Support: iOS and Android have been promoted to Tier 3 supported platforms, while WASI is now Tier 2. Summary of Key Changes Primary Benefit Free-Threaded CPython Experimental True multi-core parallelism (no GIL) JIT Compiler Experimental Future performance optimizations New Interactive REPL Colorized, multiline editing with shortcuts Stripped Docstrings Reduced memory footprint and bytecode size iOS/Android Support Better mobile development integration

For full technical specifications, developers can refer to the official Python 3.13 Documentation. What's New In Python 3.13 — Python 3.14.4 documentation

Python 3.13 was officially released on October 7, 2024. This major update introduces foundational changes aimed at improving performance and developer experience, most notably experimental support for running without the Global Interpreter Lock (GIL) and a new Just-In-Time (JIT) compiler. Core Release Highlights What's New In Python 3.13 — Python 3.14.4 documentation

Released on October 7, 2024, Python 3.13 introduces major performance-focused, experimental features including a Free-Threaded (No-GIL) mode and a preliminary JIT compiler. Key updates also include an improved, colorized interactive REPL, enhanced error messages, official mobile support for iOS/Android, and the removal of deprecated modules. For the full release notes, visit the official Python documentation Python documentation AI responses may include mistakes. Learn more What's New In Python 3.13 — Python 3.14.4 documentation

Python 3.13, released on October 7, 2024 , is a transformative version for the language, introducing significant structural changes like an experimental Just-In-Time (JIT) compiler and "free-threaded" mode. Python documentation Core Release Highlights New Interactive Interpreter (REPL)

: 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)

, allowing threads to run concurrently in a multi-core environment. This is an experimental build ( python3.13t ) and is not yet recommended for production. Just-In-Time (JIT) Compiler (PEP 744)

: A "copy-and-patch" JIT is included to provide the foundation for future performance gains. It is currently disabled by default and offers modest improvements in this initial stage. Improved Error Messages

: Tracebacks are now colorized by default, with more descriptive suggestions for fixing common mistakes. Python documentation Standard Library & Typing Changes "Dead Battery" Removals (PEP 594)

: Several long-deprecated legacy modules were officially removed, including New DBM Backend dbm.sqlite3

as the new default backend for creating database files via the Typing Improvements : Introduces typing.TypeIs

for better type narrowing and support for default values in type parameters. Docstrings

: Leading indentation is now stripped from docstrings automatically, reducing memory usage and file size. Python documentation Verified Stability & Support Current Version : The latest maintenance release is

(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

, and community-verified packages are available on platforms like Chocolatey What's New In Python 3.13 — Python 3.14.4 documentation


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


The Python 3.13 release notes verified confirm this as a transitional release. It brings exciting experimental features (no-GIL, JIT) that are not yet for production, but stable improvements (new REPL, type system updates, removals of legacy modules) are ready for daily use. To verify Python 3

For most developers, upgrading to Python 3.13 is safe after verifying that your dependencies don’t rely on removed modules. The performance improvements in asyncio and json alone make it worthwhile.

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.

Last verified against: Python 3.13.0 final, released October 7, 2024.


Do you have a specific feature you’d like to see benchmarked or tested? Let me know, and I will provide verified reproduction steps.

Python 3.13 Release Notes (Verified)

Introduction

Python 3.13 is a significant release that includes numerous improvements, optimizations, and new features. This document provides an overview of the changes and updates in Python 3.13.

New Features

Changes and Updates

Backward Incompatible Changes

Conclusion

Python 3.13 is a significant release that includes many improvements, optimizations, and new features. This document provides an overview of the changes and updates in Python 3.13. For more information, see the Python 3.13 documentation.

Python 3.13 was officially released on October 7, 2024, and it stands as one of the most transformative updates in the language's history. This version marks a major shift by addressing long-standing performance bottlenecks and enhancing the developer experience through a modernized interface.

The following verified release notes detail the primary features, experimental performance modes, and critical removals. 1. The Revamped Interactive Interpreter (REPL)

One of the most immediate changes in 3.13 is a completely rewritten interactive shell. Inspired by the PyPy project, it offers features that previously required external packages like IPython.

Multi-line Editing: You can now navigate and edit multi-line blocks of code within the REPL without having to rewrite the entire block.

Colorized Output: Exception tracebacks and prompts are now colorized by default, making it significantly easier to scan for errors during live coding. Python 3

History Browsing: Improved navigation through command history and "smart pasting" of large code blocks.

Interactive Help: The help() system has been improved, and simple commands like exit and quit now work without needing parentheses. 2. Experimental Free-Threaded Mode (No-GIL)

For decades, the Global Interpreter Lock (GIL) has prevented Python from running multiple threads truly in parallel on multi-core processors. Python 3.13 introduces an experimental build that allows you to disable the GIL. What's New In Python 3.13 — Python 3.14.4 documentation

In the quiet hours of a rainy Tuesday, Alex sat before a glowing terminal, the soft hum of the radiator the only sound in the room. For months, the rumors had been building—whispers of a version that would change everything. Today, the official release notes for Python 3.13 were finally verified.

Alex began to read, and it felt less like documentation and more like a manifesto for a new era.

The first major headline hit like a lightning strike: Experimental Free-Threaded Mode. For years, the Global Interpreter Lock (GIL) had been the invisible wall every developer eventually hit. But now, according to the official documentation, Python was offering a way to tear it down. Alex imagined a future where every core of their CPU could finally work in perfect, unhindered harmony.

As Alex scrolled, the improvements became more personal. The new Interactive Interpreter wasn't just a tool anymore; it was a partner. With color support and multi-line editing inherited from PyPy, the REPL felt alive. Error messages were no longer cryptic riddles but gentle guides, highlighting exactly where a snippet had gone wrong with vibrant red and yellow tracebacks.

Then came the "Dead Battery" removals. Alex felt a twinge of nostalgia seeing old friends like telnetlib and cgi officially removed after their long deprecation cycle. It was a spring cleaning of the standard library, making room for the sleek, modern machinery of the experimental Just-In-Time (JIT) compiler.

Alex opened a fresh terminal and typed python3.13. The prompt blinked, inviting and bright. With a few keystrokes, they tested the new locals() semantics, seeing the consistency they had struggled without for so long.

Outside, the rain continued to pour, but inside the terminal, everything was clear. Python 3.13 wasn't just another update; it was a promise kept. Alex took a sip of cold coffee, smiled at the colorful traceback on the screen, and began to write the first line of code in a world without the GIL. Key Verified Highlights of Python 3.13

Free-Threaded Build: An experimental mode to disable the Global Interpreter Lock (GIL).

Improved REPL: A new interactive interpreter with multi-line editing and colorized output.

Experimental JIT: A preliminary Just-In-Time compiler for performance gains.

Enhanced Errors: More helpful color-coded error messages to simplify debugging.

Standard Library Cleanup: Removal of 20 legacy "dead battery" modules like cgi and telnetlib.

Mobile Support: iOS and Android are now Tier 3 supported platforms.

Microbenchmarks show speedups of 5-25% for pure Python loops and arithmetic. Real-world code sees more modest gains. The JIT is opt-in and still under heavy development.

Verified Source: PEP 744 – JIT Compilation