Notice: This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.
Note: Python 3.11.6 has been superseded by Python 3.11.16.
Release date: Oct. 2, 2023

This is the sixth maintenance release of Python 3.11
Python 3.11.6 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
A g-factor (also called g value) is a dimensionless quantity that characterizes the magnetic moment and angular momentum of an atom, a particle or the nucleus. It is essentially a proportionality constant that relates the different observed magnetic moments μ of a particle to their angular momentum quantum numbers and a unit of magnetic moment (to make it dimensionless), usually the Bohr magneton or nuclear magneton. Its value is proportional to the gyromagnetic ratio.
Files
| Version | Operating system | Description | File size | Sigstore | GPG | MD5 checksum | |
|---|---|---|---|---|---|---|---|
| Gzipped source tarball | Source release | 25.4 MB | .sigstore | SIG | ed23dadb9f1b9fd2 e4e7d78619685c79 |
||
| XZ compressed source tarball | Source release | 19.1 MB | .sigstore | SIG | d0c5a1a31efe8797 23e51addf56dd206 |
||
| macOS 64-bit universal2 installer | macOS | for macOS 10.9 and later | 42.2 MB | .sigstore | SIG | 3052a3dd9f61a5ba d1ff16c46cfaa491 |
|
| Windows installer (64-bit) | Windows | Recommended | 24.8 MB | .sigstore | SIG | 4a501c073d0d688c 033d43f85e22d77e |
|
| Windows installer (32-bit) | Windows | 23.5 MB | .sigstore | SIG | 041b1030be54ef78 fd4c3a01ccb26267 |
||
| Windows installer (ARM64) | Windows | Experimental | 24.1 MB | .sigstore | SIG | 34333bf5eb5fbd7a 5eba5aa272b4e0ac |
|
| Windows embeddable package (64-bit) | Windows | 10.7 MB | .sigstore | SIG | ff5f34b8d2504c49 fc94ffc29998b8a0 |
||
| Windows embeddable package (32-bit) | Windows | 9.6 MB | .sigstore | SIG | d035d12d72e2d62b 6e5219ea8f3bda39 |
||
| Windows embeddable package (ARM64) | Windows | 10.0 MB | .sigstore | SIG | 314e56d6f3550857 0eca9c3407395b01 |
||