Python 3.13.0a6
Release Date: April 9, 2024
This is an early developer preview of Python 3.13
Major new features of the 3.13 series, compared to 3.12
Python 3.13 is still in development. This release, 3.13.0a6, is the sixth and last planned alpha release.
Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process.
During the alpha phase, features may be added up until the start of the beta phase (2024-05-07) and, if necessary, may be modified or deleted up until the release candidate phase (2024-07-30). Please keep in mind that this is a preview release and its use is not recommended for production environments.
Many new features for Python 3.13 are still being planned and written. Work continues apace on both the work to remove the Global Interpeter Lock, and to improve Python performance. The most notable changes so far:
- In the interactive interpreter, exception tracebacks are now colorized by default.
- A preliminary, experimental JIT was added, providing the ground work for significant performance improvements.
- The (cyclic) garbage collector is now incremental, which should mean shorter pauses for collection in programs with a lot of objects.
- 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.
- 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.
- New deprecations, most of which are scheduled for removal from Python 3.15 or 3.16.
- 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.)
(Hey, fellow core developer, if a feature you find important is missing from this list, let Thomas know.)
The next pre-release of Python 3.13 will be 3.13.0b1, which also means feature freeze, currently scheduled for 2024-05-07.
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 | MD5 Sum | File Size | GPG | Sigstore | SBOM | |
---|---|---|---|---|---|---|---|---|
Gzipped source tarball | Source release | a18d5ca8a31c2a610e4805843f590e2f | 26.1 MB | SIG | .sigstore | SPDX | ||
XZ compressed source tarball | Source release | 8fef7d0d0cad2fa8cc7e0ee10f6657ed | 19.9 MB | SIG | .sigstore | SPDX | ||
macOS 64-bit universal2 installer | macOS | for macOS 10.9 and later | d8f47804bb83d77d7e34abd4ad66b482 | 43.1 MB | SIG | .sigstore | ||
Windows installer (64-bit) | Windows | Recommended | bb52c3a320c547fee1970d21abb72a93 | 25.7 MB | SIG | .sigstore | ||
Windows installer (32-bit) | Windows | 5b2144fed0b68000a019350bea1db36a | 24.4 MB | SIG | .sigstore | |||
Windows installer (ARM64) | Windows | Experimental | b07ac5fe3bd907e972bc14774afe8efb | 24.9 MB | SIG | .sigstore | ||
Windows embeddable package (64-bit) | Windows | 0ef177f925e1f6677682f8cffd90bcc5 | 11.8 MB | SIG | .sigstore | |||
Windows embeddable package (32-bit) | Windows | b129027dfb0e4313d296c1fcea98bc61 | 10.3 MB | SIG | .sigstore | |||
Windows embeddable package (ARM64) | Windows | e82e35a37f3ff96c92eafa63d374023e | 10.8 MB | SIG | .sigstore |