Python 3.13.0a5
Release Date: March 12, 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.0a5, is the fifth of six planned alpha releases.
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.
- 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 have been 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.0a6, currently scheduled for 2024-04-09.
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 | bc878a14805758c68eee5ad5d283f32e | 26.0 MB | SIG | .sigstore | SPDX | ||
XZ compressed source tarball | Source release | e8545674d2e726533273376f93f38f69 | 19.8 MB | SIG | .sigstore | SPDX | ||
macOS 64-bit universal2 installer | macOS | for macOS 10.9 and later | 3766f4d78fb3f4ace9d962255e094cc3 | 42.9 MB | SIG | .sigstore | ||
Windows installer (64-bit) | Windows | Recommended | 95c7adae30b551a359ff2f6fa0439fe8 | 25.7 MB | SIG | .sigstore | ||
Windows installer (32-bit) | Windows | ad563cee198b92986cf2ce667b12d39a | 24.4 MB | SIG | .sigstore | |||
Windows installer (ARM64) | Windows | Experimental | 7f1ec85b759549c80434766307b73e00 | 24.9 MB | SIG | .sigstore | ||
Windows embeddable package (64-bit) | Windows | 0ffd1b3bce544d670de92c7257df11f6 | 12.0 MB | SIG | .sigstore | |||
Windows embeddable package (32-bit) | Windows | 140377bd337572d3aa3d36e49a0619de | 10.5 MB | SIG | .sigstore | |||
Windows embeddable package (ARM64) | Windows | e2f06e53d22cf6110e48a45b3fca8ddb | 11.0 MB | SIG | .sigstore |