Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.

Python 3.13.5

Release Date: June 11, 2025

This is the fifth 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.5 is the fifth maintenance release of 3.13.

3.13.5 is an expedited release to fix a couple of significant issues with the 3.13.4 release:

  • gh-135151: Building extension modules on Windows for the regular (non-free-threaded) build failed.
  • gh-135171: Generator expressions stopped raising TypeError (when iterating over non-iterable objects) at creation time, delaying it to first use.
  • gh-135326: Passing int-like objects (like numpy.int64) to random.getrandbits() failed, when it worked before.

Several other bug fixes (which would otherwise have waited until the next release) are also included.

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

Typing

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

Full Changelog

Files

Version Operating System Description MD5 Sum File Size GPG Sigstore SBOM
Gzipped source tarball Source release 88dc0b8317cab6e46e8336995bcc577f 28.1 MB SIG .sigstore SPDX
XZ compressed source tarball Source release dbaa8833aa736eddbb18a6a6ae0c10fa 21.8 MB SIG .sigstore SPDX
macOS 64-bit universal2 installer macOS for macOS 10.13 and later a0f126bf757effdbf7e1d0863a6f176f 67.1 MB SIG .sigstore
Windows installer (64-bit) Windows Recommended da9f24ae94e5b3491f3d92b07d34cc72 27.5 MB SIG .sigstore SPDX
Windows installer (32-bit) Windows d3898d8ea3a1524b043458311446c0b3 26.2 MB SIG .sigstore SPDX
Windows installer (ARM64) Windows Experimental 75b8a99cfd9fd5c15771b598bc067385 26.8 MB SIG .sigstore SPDX
Windows embeddable package (64-bit) Windows 370a345dbea8bbc1830a2385f24632d2 10.4 MB SIG .sigstore SPDX
Windows embeddable package (32-bit) Windows 589d9d4938b4e19c9fa4de83aad3d425 9.2 MB SIG .sigstore SPDX
Windows embeddable package (ARM64) Windows 0d2b5391a1df1319242f17a8339b8bc6 9.7 MB SIG .sigstore SPDX