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.11.9

Note: Python 3.11.9 has been superseded by Python 3.11.14.

Release date: April 2, 2024

Python 3.11 release logo

This is the last bugfix release of the Python 3.11 series

This is the ninth (and last) bugfix release of Python 3.11

Python 3.11.9 is the newest major release of the Python programming language, and it contains many new features and optimizations.

Major new features of the 3.11 series, compared to 3.10

Some of the new major new features and changes in Python 3.11 are:

General changes

  • PEP 657 -- Include Fine-Grained Error Locations in Tracebacks
  • PEP 654 -- Exception Groups and except*
  • PEP 680 -- tomllib: Support for Parsing TOML in the Standard Library
  • gh-90908 -- Introduce task groups to asyncio
  • gh-34627 -- Atomic grouping ((?>...)) and possessive quantifiers (*+, ++, ?+, {m,n}+) are now supported in regular expressions.
  • The Faster CPython Project is already yielding some exciting results. Python 3.11 is up to 10-60% faster than Python 3.10. On average, we measured a 1.22x speedup on the standard benchmark suite. See Faster CPython for details.

Typing and typing language changes

  • PEP 673 -- Self Type
  • PEP 646 -- Variadic Generics
  • PEP 675 -- Arbitrary Literal String Type
  • PEP 655 -- Marking individual TypedDict items as required or potentially-missing
  • PEP 681 -- Data Class Transforms

More resources

And now for something completely different

A kugelblitz is a theoretical astrophysical object predicted by general relativity. It is a concentration of heat, light or radiation so intense that its energy forms an event horizon and becomes self-trapped. In other words, if enough radiation is aimed into a region of space, the concentration of energy can warp spacetime so much that it creates a black hole. This would be a black hole whose original mass–energy was in the form of radiant energy rather than matter, however as soon as it forms, it is indistinguishable from an ordinary black hole.

Full Changelog

Files

Version Operating system Description File size Sigstore GPG MD5 checksum
Gzipped source tarball Source release 25.3 MB .sigstore SIG bfd4d3bfeac4216ce35d7a503bf02d5c
XZ compressed source tarball Source release 19.2 MB .sigstore SIG 22ea467e7d915477152e99d5da856ddc
macOS 64-bit universal2 installer macOS for macOS 10.9 and later 42.8 MB .sigstore SIG fa29f456feb6b5c4f52456a8b8ba347b
Windows installer (64-bit) Windows Recommended 25.0 MB .sigstore SIG e8dcd502e34932eebcaf1be056d5cbcd
Windows installer (32-bit) Windows 23.8 MB .sigstore SIG 2a1d1ac2d8a0aa847515f9dd121ccbb7
Windows installer (ARM64) Windows Experimental 24.3 MB .sigstore SIG 328d93f71cb078965e4cfa2eb2663fa1
Windows embeddable package (64-bit) Windows 10.7 MB .sigstore SIG 6d9aa08531d48fcc261ba667e2df17c4
Windows embeddable package (32-bit) Windows 9.6 MB .sigstore SIG 31e7648158376e92a4463aa6f22a78e1
Windows embeddable package (ARM64) Windows 10.0 MB .sigstore SIG 8611b6aa35483ab1c61d45e0d9f2de0d