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

Note: Python 3.11.8 has been superseded by Python 3.11.14.

Release date: Feb. 6, 2024

Python 3.11 release logo

This is the eighth maintenance release of Python 3.11

Python 3.11.8 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

In general relativity, a white hole is a hypothetical region of spacetime and singularity that cannot be entered from the outside, although energy-matter, light and information can escape from it. In this sense, it is the reverse of a black hole, from which energy-matter, light and information cannot escape. White holes appear in the theory of eternal black holes. In addition to a black hole region in the future, such a solution of the Einstein field equations has a white hole region in its past. This region does not exist for black holes that have formed through gravitational collapse, however, nor are there any observed physical processes through which a white hole could be formed.

Full Changelog

Files

Version Operating system Description File size Sigstore GPG MD5 checksum
Gzipped source tarball Source release 25.3 MB .sigstore SIG 7fb0bfaa2f6aae4aadcdb51abe957825
XZ compressed source tarball Source release 19.1 MB .sigstore SIG b353b8433e560e1af2b130f56dfbd973
macOS 64-bit universal2 installer macOS for macOS 10.9 and later 42.7 MB .sigstore SIG 0903e86fd2c61ef761c94cb226e9e72e
Windows installer (64-bit) Windows Recommended 24.9 MB .sigstore SIG 77d17044fd0de05e6f2cf4f90e87a0a2
Windows installer (32-bit) Windows 23.7 MB .sigstore SIG 45d4b29f26ca02b1ccf13451ea136654
Windows installer (ARM64) Windows Experimental 24.2 MB .sigstore SIG ae1b38fa57409d9a0088a031f59ba625
Windows embeddable package (64-bit) Windows 10.7 MB .sigstore SIG 9199879fbad4884ed93ddf77e8764920
Windows embeddable package (32-bit) Windows 9.6 MB .sigstore SIG 104bf63ef10c06298024a61676a11754
Windows embeddable package (ARM64) Windows 10.0 MB .sigstore SIG 6b989558c662f877e2e707d640673877