Python 3.11.8
Release Date: Feb. 6, 2024
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
- Online Documentation
- PEP 664, 3.11 Release Schedule
- Report bugs at https://github.com/python/cpython/issues.
- Help fund Python and its community.
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.
Files
Version | Operating System | Description | MD5 Sum | File Size | GPG | Sigstore | |
---|---|---|---|---|---|---|---|
Gzipped source tarball | Source release | 7fb0bfaa2f6aae4aadcdb51abe957825 | 25.3 MB | SIG | .sigstore | ||
XZ compressed source tarball | Source release | b353b8433e560e1af2b130f56dfbd973 | 19.1 MB | SIG | .sigstore | ||
macOS 64-bit universal2 installer | macOS | for macOS 10.9 and later | 0903e86fd2c61ef761c94cb226e9e72e | 42.7 MB | SIG | .sigstore | |
Windows installer (64-bit) | Windows | Recommended | 77d17044fd0de05e6f2cf4f90e87a0a2 | 24.9 MB | SIG | .sigstore | |
Windows installer (32-bit) | Windows | 45d4b29f26ca02b1ccf13451ea136654 | 23.7 MB | SIG | .sigstore | ||
Windows installer (ARM64) | Windows | Experimental | ae1b38fa57409d9a0088a031f59ba625 | 24.2 MB | SIG | .sigstore | |
Windows embeddable package (64-bit) | Windows | 9199879fbad4884ed93ddf77e8764920 | 10.7 MB | SIG | .sigstore | ||
Windows embeddable package (32-bit) | Windows | 104bf63ef10c06298024a61676a11754 | 9.6 MB | SIG | .sigstore | ||
Windows embeddable package (ARM64) | Windows | 6b989558c662f877e2e707d640673877 | 10.0 MB | SIG | .sigstore |