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

Release Date: June 6, 2023

Python 3.11 release logo

This is the fourth maintenance release of Python 3.11

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

The non-squeezing theorem, also called Gromov's non-squeezing theorem, is one of the most important theorems in symplectic geometry. It was first proven in 1985 by Mikhail Gromov. The theorem states that one cannot embed a ball into a cylinder via a symplectic map unless the radius of the ball is less than or equal to the radius of the cylinder. The theorem is important because formerly very little was known about the geometry behind symplectic maps.

One easy consequence of a transformation being symplectic is that it preserves volume. One can easily embed a ball of any radius into a cylinder of any other radius by a volume-preserving transformation: just picture squeezing the ball into the cylinder (hence, the name non-squeezing theorem). Thus, the non-squeezing theorem tells us that, although symplectic transformations are volume-preserving, it is much more restrictive for a transformation to be symplectic than it is to be volume-preserving.

Full Changelog


Version Operating System Description MD5 Sum File Size GPG Sigstore
Gzipped source tarball Source release bf6ec50f2f3bfa6ffbdb385286f2c628 25.3 MB SIG .sigstore
XZ compressed source tarball Source release fb7f7eae520285788449d569e45b6718 19.0 MB SIG .sigstore
macOS 64-bit universal2 installer macOS for macOS 10.9 and later 91498b67b9c4b5ef33d1b7327e401b17 41.1 MB SIG .sigstore
Windows installer (64-bit) Windows Recommended e4413bb7448cd13b437dffffba294ca0 24.2 MB SIG .sigstore
Windows installer (ARM64) Windows Experimental 60785673d37c754ddceb5788b5e5baa9 23.6 MB SIG .sigstore
Windows embeddable package (64-bit) Windows d0e85bf50d2adea597c40ee28e774081 10.1 MB SIG .sigstore
Windows embeddable package (32-bit) Windows 81b0acfcdd31a73d1577d6e977acbdc6 9.2 MB SIG .sigstore
Windows embeddable package (ARM64) Windows bdce328de19973012123dc62c1cfa7e9 9.5 MB SIG .sigstore
Windows installer (32 -bit) Windows 9ec180db64c074e57bdcca8374e9ded6 23.1 MB SIG .sigstore