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

Note: Python 3.11.3 has been superseded by Python 3.11.14.

Release date: April 5, 2023

Python 3.11 release logo

This is the third maintenance release of Python 3.11

Python 3.11.3 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 Venturi effect is the reduction in fluid pressure that results when a fluid flows through a constricted section (or choke) of a pipe. The Venturi effect is named after its discoverer, the 18th-century Italian physicist Giovanni Battista Venturi.

In inviscid fluid dynamics, an incompressible fluid's velocity must increase as it passes through a constriction in accordance with the principle of mass continuity, while its static pressure must decrease in accordance with the principle of conservation of mechanical energy (Bernoulli's principle). Thus, any gain in kinetic energy a fluid may attain by its increased velocity through a constriction is balanced by a drop in pressure. By measuring pressure, the flow rate can be determined, as in various flow measurements devices such as Venturi meters, Venturi nozzles and orifice plates.

This effect can also be used to make cool experiments with hair dryers on the internet that you can show to someone very special while walking in the cold streets of a northern European city.

Full Changelog

Files

Version Operating system Description File size Sigstore GPG MD5 checksum
Gzipped source tarball Source release 25.2 MB .sigstore SIG 016ba65bc80411f9ec20c614ab385e81
XZ compressed source tarball Source release 19.0 MB .sigstore SIG c8d52fc4fb8ad9932a11d86d142ee73a
macOS 64-bit universal2 installer macOS for macOS 10.9 and later 40.9 MB .sigstore SIG 11eda9f16a4a85cfcc61dfc4b3f95e69
Windows installer (64-bit) Windows Recommended 24.2 MB .sigstore SIG 62414ff53148ae41b4cec89122532a82
Windows installer (32-bit) Windows 23.0 MB .sigstore SIG 691232496e346ce0860aef052dd6844f
Windows installer (ARM64) Windows Experimental 23.5 MB .sigstore SIG d6441f490e2c2163d7d67c78c7628bf9
Windows embeddable package (64-bit) Windows 10.1 MB .sigstore SIG a58510bc0e8689cd3f80238f9435632d
Windows embeddable package (32-bit) Windows 9.1 MB .sigstore SIG 58fc103df167d587ec4d1918dfcd4a62
Windows embeddable package (ARM64) Windows 9.5 MB .sigstore SIG 0e19be55774218c8ee46ed4176db68f3