Python 3.13.9 released

Published by

Python 3.13.9 has been released as a maintenance update primarily aimed at resolving a significant regression issue introduced in Python 3.13.8, specifically affecting the `inspect.getsourcelines` function. Users are encouraged to upgrade to Python 3.14.x, which introduces a host of new features and enhancements over the previous 3.12 series.

The 3.13 series brought several notable improvements, including the introduction of a new interactive interpreter based on PyPy, which allows for advanced features such as multi-line editing and colorized exception tracebacks—enhancing the overall development experience. Additionally, Python 3.13 includes experimental features that enhance concurrent execution by allowing free-threaded builds that disable the Global Interpreter Lock (GIL), although this feature is limited to Windows and macOS.

Another significant addition is a basic Just-In-Time (JIT) compiler, aimed at improving Python's performance by executing certain parts of code directly in machine code. The `locals()` built-in function has also been updated for better reliability, particularly in debugging scenarios.

Further enhancements include the adoption of a modified version of mimalloc as the default memory allocator, which is crucial for the free-threaded build mode, and improvements to docstring handling that reduce memory usage. The dbm module now features a new SQLite-based backend for creating files, and Python 3.13 will only support macOS versions 10.13 (High Sierra) and later.

The update also includes significant changes in platform support, such as raising WASI's status from Tier 1 to Tier 2 and reclassifying iOS and Android as Tier 3 supported platforms. Notably, Emscripten is no longer officially supported but remains available via Pyodide.

Finally, advancements in typing have been made, including type defaults for type parameters and new type narrowing annotations, which enhance type checking accuracy and performance.

In summary, while Python 3.13.9 focuses on fixing specific issues, users are encouraged to explore the new features and improvements available in the upcoming Python 3.14.x release. This transition not only enhances the functionality and performance of Python but also aligns with the growing demands of modern software development

Python 3.13.9 released

Python 3.13.9 is a maintenance update that fixes a significant regression issue introduced in Python 3.13.8, specifically affecting the inspect.getsourcelines function. This update only addresses the mentioned regression and does not include any new features or functions from previous releases. However, users are encouraged to upgrade to Python 3.14.x, which offers various new features and improvements, including a new interactive interpreter based on PyPy's and experimental concurrent execution capabilities. Additionally, Python 3.13 has several other notable changes, including improved typing features, platform support updates, and performance enhancements through a basic Just-In-Time compiler.

Python 3.13.9 released @ Linux Compatible