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

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 MD5 Sum File Size GPG Sigstore
Gzipped source tarball Source release 016ba65bc80411f9ec20c614ab385e81 25.2 MB SIG .sigstore
XZ compressed source tarball Source release c8d52fc4fb8ad9932a11d86d142ee73a 19.0 MB SIG .sigstore
macOS 64-bit universal2 installer macOS for macOS 10.9 and later 11eda9f16a4a85cfcc61dfc4b3f95e69 40.9 MB SIG .sigstore
Windows installer (64-bit) Windows Recommended 62414ff53148ae41b4cec89122532a82 24.2 MB SIG .sigstore
Windows installer (ARM64) Windows Experimental d6441f490e2c2163d7d67c78c7628bf9 23.5 MB SIG .sigstore
Windows embeddable package (64-bit) Windows a58510bc0e8689cd3f80238f9435632d 10.1 MB SIG .sigstore
Windows embeddable package (32-bit) Windows 58fc103df167d587ec4d1918dfcd4a62 9.1 MB SIG .sigstore
Windows embeddable package (ARM64) Windows 0e19be55774218c8ee46ed4176db68f3 9.5 MB SIG .sigstore
Windows installer (32 -bit) Windows 691232496e346ce0860aef052dd6844f 23.0 MB SIG .sigstore