Notice: This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.

Python 3.12.10

Note: Python 3.12.10 has been superseded by Python 3.12.12.

Release date: April 8, 2025

This is the tenth maintenance release of Python 3.12

Python 3.12.10 is the latest maintenance release of Python 3.12, and the last full maintenance release. Subsequent releases of 3.12 will be security-fixes only. This last maintenance release contains about 230 bug fixes, build improvements and documentation changes since 3.12.9.

Major new features of the 3.12 series, compared to 3.11

New features

Type annotations

Deprecations

  • The deprecated wstr and wstr_length members of the C implementation of unicode objects were removed, per PEP 623.
  • In the unittest module, a number of long deprecated methods and classes were removed. (They had been deprecated since Python 3.1 or 3.2.)
  • The deprecated smtpd and distutils modules have been removed (see PEP 594 and PEP 632.) The setuptools package continues to provide the distutils module.
  • A number of other old, broken and deprecated functions, classes and methods have been removed.
  • Invalid backslash escape sequences in strings now warn with SyntaxWarning instead of DeprecationWarning, making them more visible. (They will become syntax errors in the future.)
  • The internal representation of integers has changed in preparation for performance enhancements. (This should not affect most users as it is an internal detail, but it may cause problems for Cython-generated code.)

For more details on the changes to Python 3.12, see What's new in Python 3.12.

More resources

Full Changelog

Files

Version Operating system Description File size Sigstore SBOM GPG MD5 checksum
Gzipped source tarball Source release 25.9 MB .sigstore SPDX SIG 35c03f014408e26e2b06d576c19cac54
XZ compressed source tarball Source release 19.6 MB .sigstore SPDX SIG 0c0a6cce86d7611aed691d61e0599de0
macOS 64-bit universal2 installer macOS for macOS 10.13 and later 43.6 MB .sigstore SIG 8f4989592c9412e51fcad70273442c22
Windows installer (64-bit) Windows Recommended 25.7 MB .sigstore SPDX SIG 5eddb0b6f12c852725de071ae681dde4
Windows installer (32-bit) Windows 24.5 MB .sigstore SPDX SIG ff3e7e2582811ade44916d9c3d2a64b2
Windows installer (ARM64) Windows Experimental 25.0 MB .sigstore SPDX SIG 37df52717faa6c514342b8d43cae7026
Windows embeddable package (64-bit) Windows 10.6 MB .sigstore SPDX SIG fe8ef205f2e9c3ba44d0cf9954e1abd3
Windows embeddable package (32-bit) Windows 9.5 MB .sigstore SPDX SIG 93beb9042be23d7b5cd528fa15e8fea7
Windows embeddable package (ARM64) Windows 9.9 MB .sigstore SPDX SIG 60ce2b5cb5a4dfcd2873a323ffe541bc