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.0b4

Release Date: July 11, 2022

This is a beta preview of Python 3.11

Python 3.11 is still in development. 3.11.0b4 is the fourth of five planned beta release previews. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release.

We strongly encourage maintainers of third-party Python projects to test with 3.11 during the beta phase and report issues found to the Python bug tracker as soon as possible. While the release is planned to be feature complete entering the beta phase, it is possible that features may be modified or, in rare cases, deleted up until the start of the release candidate phase (Monday, 2021-08-02). Our goal is have no ABI changes after beta 4 and as few code changes as possible after 3.11.0rc1, the first release candidate. To achieve that, it will be extremely important to get as much exposure for 3.11 as possible during the beta phase.

Please keep in mind that this is a preview release and its use is not recommended for production environments.

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
  • PEP 681-- Data Class Transforms
  • bpo-46752-- Introduce task groups to asyncio
  • bpo-433030 -- 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

(Hey, fellow core developer, if a feature you find important is missing from this list, let Pablo know.)

The next pre-release of Python 3.11 will be 3.11.0b5, currently scheduled for Monday, 2022-07-25.

More resources

And now for something completely different

The Planck temperature is 1.416784×10**32 K. At this temperature, the wavelength of light emitted by thermal radiation reaches the Planck length. There are no known physical models able to describe temperatures greater than the Planck temperature and a quantum theory of gravity would be required to model the extreme energies attained. Hypothetically, a system in thermal equilibrium at the Planck temperature might contain Planck-scale black holes, constantly being formed from thermal radiation and decaying via Hawking evaporation; adding energy to such a system might decrease its temperature by creating larger black holes, whose Hawking temperature is lower.

Rumours say the Planck temperature can be reached in some of the hottest parts of Spain in summer.


Version Operating System Description MD5 Sum File Size GPG
Gzipped source tarball Source release f039c5c12c31153785d560fe0ce1782b 25935614 SIG
XZ compressed source tarball Source release aa663eaec1554e0979ed8b30afd6a7e9 19573532 SIG
macOS 64-bit universal2 installer macOS for macOS 10.9 and later 826b12e8227d31470b9e79f9de35ece2 42164386 SIG
Windows embeddable package (32-bit) Windows 3c9ddeb7ac92014ff9ec857e934db95e 9554415 SIG
Windows embeddable package (64-bit) Windows f44e8b2c92c0a857995225467ce451b8 10532065 SIG
Windows embeddable package (ARM64) Windows f57a413f6e6d234d39fc9dfe4263b9f1 9762701 SIG
Windows installer (32-bit) Windows a1fccc894f8cd4e2225a6cdb953c3dcf 23732096 SIG
Windows installer (64-bit) Windows Recommended 9449c26a0d187e5e01b61314aa78f156 24895912 SIG
Windows installer (ARM64) Windows Experimental 7df47df9b960a9273349faebe9e17f4c 24031248 SIG