Notice: This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.
Note: Python 3.13.6 has been superseded by Python 3.13.15.
Release date: Aug. 6, 2025
This is the sixth maintenance release of Python 3.13
Python 3.13 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.6 is the sixth maintenance release of 3.13, containing around 200 bugfixes, build improvements and documentation changes since 3.13.5.
Major new features of the 3.13 series, compared to 3.12
Some of the new major new features and changes in Python 3.13 are:
New features
- A new and improved interactive interpreter, based on PyPy's, featuring multi-line editing and color support, as well as colorized exception tracebacks.
- An experimental free-threaded build mode, which disables the Global Interpreter Lock, allowing threads to run more concurrently. The build mode is available as an experimental feature in the Windows and macOS installers as well.
- A preliminary, experimental JIT, providing the ground work for significant performance improvements.
- The
locals()builtin function (and its C equivalent) now has well-defined semantics when mutating the returned mapping, which allows debuggers to operate more consistently. - A modified version of mimalloc is now included, optional but enabled by default if supported by the platform, and required for the free-threaded build mode.
- Docstrings now have their leading indentation stripped, reducing memory use and the size of .pyc files. (Most tools handling docstrings already strip leading indentation.)
- The dbm module has a new dbm.sqlite3 backend that is used by default when creating new files.
- The minimum supported macOS version was changed from 10.9 to 10.13 (High Sierra). Older macOS versions will not be supported going forward.
- WASI is now a Tier 2 supported platform. Emscripten is no longer an officially supported platform (but Pyodide continues to support Emscripten).
- iOS is now a Tier 3 supported platform.
- Android is now a Tier 3 supported platform.
Typing
- Support for type defaults in type parameters.
- A new type narrowing annotation,
typing.TypeIs. - A new annotation for read-only items in TypeDicts.
- A new annotation for marking deprecations in the type system.
Removals and new deprecations
- PEP 594 (Removing dead batteries from the standard library) scheduled removals of many deprecated modules:
aifc,audioop,chunk,cgi,cgitb,crypt,imghdr,mailcap,msilib,nis,nntplib,ossaudiodev,pipes,sndhdr,spwd,sunau,telnetlib,uu,xdrlib,lib2to3. - Many other removals of deprecated classes, functions and methods in various standard library modules.
- C API removals and deprecations. (Some removals present in alpha 1 were reverted in alpha 2, as the removals were deemed too disruptive at this time.)
- New deprecations, most of which are scheduled for removal from Python 3.15 or 3.16.
For more details on the changes to Python 3.13, see What's new in Python 3.13.
More resources
- Online Documentation
- PEP 719, 3.13 Release Schedule
- Report bugs at https://github.com/python/cpython/issues.
- Help fund Python directly (or via GitHub Sponsors), and support the Python community.
Files
| Version | Operating system | Description | File size | Sigstore | SBOM | GPG | MD5 checksum | |
|---|---|---|---|---|---|---|---|---|
| Gzipped source tarball | Source release | 28.0 MB | .sigstore | SPDX | SIG | d74ea44a15333e1b d161d1844078d4c5 |
||
| XZ compressed source tarball | Source release | 21.7 MB | .sigstore | SPDX | SIG | 4170b57e642c15a1 dfed17313ec57cc2 |
||
| macOS 64-bit universal2 installer | macOS | for macOS 10.13 and later | 67.0 MB | .sigstore | SIG | 16fbea288b788b53 8f93c5e9466da41f |
||
| Windows installer (64-bit) | Windows | Recommended | 27.5 MB | .sigstore | SPDX | SIG | adf553e6af2ba72b fb335f87ff15a564 |
|
| Windows installer (32-bit) | Windows | 26.2 MB | .sigstore | SPDX | SIG | 5a78eac7ef9db15f f6201a6bb39e9aea |
||
| Windows installer (ARM64) | Windows | Experimental | 26.7 MB | .sigstore | SPDX | SIG | 8e70108aa6a38b9a f926c668970c186b |
|
| Windows embeddable package (64-bit) | Windows | 10.4 MB | .sigstore | SPDX | SIG | 31019bd49a54b8d3 bfa7eb1093d4b8e5 |
||
| Windows embeddable package (32-bit) | Windows | 9.2 MB | .sigstore | SPDX | SIG | 896e4ba58d174b26 fc61d393f1ae204d |
||
| Windows embeddable package (ARM64) | Windows | 9.7 MB | .sigstore | SPDX | SIG | 38fd8d83827b744c 028576c8d488639c |
||
| Windows release manifest | Windows | Install with 'py install 3.13' | 14.6 KB | .sigstore | 826f400ec2e49780 3db5cf71a2279288 |
|||