Release Date: March 23, 2022
This is the twelfth maintenance release of Python 3.9
Note: The release you're looking at is Python 3.9.12, a bugfix release for the legacy 3.9 series. Python 3.10 is now the latest feature release series of Python 3. Get the latest release of 3.10.x here.
This is a special release which fixes a regression introduced by BPO 46968 which caused Python to no longer build on Red Hat Enterprise Linux 6. There are only 12 other bugfixes on top of 3.9.11 in this release.
Major new features of the 3.9 series, compared to 3.8
Some of the new major new features and changes in Python 3.9 are:
- PEP 573, Module State Access from C Extension Methods
- PEP 584, Union Operators in
- PEP 585, Type Hinting Generics In Standard Collections
- PEP 593, Flexible function and variable annotations
- PEP 602, Python adopts a stable annual release cadence
- PEP 614, Relaxing Grammar Restrictions On Decorators
- PEP 615, Support for the IANA Time Zone Database in the Standard Library
- PEP 616, String methods to remove prefixes and suffixes
- PEP 617, New PEG parser for CPython
- BPO 38379, garbage collection does not block on resurrected objects;
- BPO 38692, os.pidfd_open added that allows process management without races and signals;
- BPO 39926, Unicode support updated to version 13.0.0;
- BPO 1635741, when Python is initialized multiple times in the same process, it does not leak memory anymore;
- A number of Python builtins (range, tuple, set, frozenset, list, dict) are now sped up using PEP 590 vectorcall;
- A number of Python modules (_abc, audioop, _bz2, _codecs, _contextvars, _crypt, _functools, _json, _locale, operator, resource, time, _weakref) now use multiphase initialization as defined by PEP 489;
- A number of standard library modules (audioop, ast, grp, _hashlib, pwd, _posixsubprocess, random, select, struct, termios, zlib) are now using the stable ABI defined by PEP 384.
You can find a more comprehensive list in this release's "What's New" document.
- Online Documentation
- PEP 596, 3.9 Release Schedule
- Report bugs at https://bugs.python.org.
- Help fund Python and its community.
And Now for Something Completely Different
Number 3... THE LARCH.
|Version||Operating System||Description||MD5 Sum||File Size||GPG|
|Gzipped source tarball||Source release||abc7f7f83ea8614800b73c45cf3262d3||26338472||SIG|
|XZ compressed source tarball||Source release||4b5fda03e3fbfceca833c997d501bcca||19740524||SIG|
|macOS 64-bit Intel-only installer||macOS||for macOS 10.9 and later, deprecated||d9a46473d41474b05b02ab4d42d6e2f1||30962328||SIG|
|macOS 64-bit universal2 installer||macOS||for macOS 10.9 and later||e0144bd213485290adc05b57e09436eb||38791860||SIG|
|Windows embeddable package (32-bit)||Windows||94955cca54dd7d21bedc4d10ab9d2d81||7695012||SIG|
|Windows embeddable package (64-bit)||Windows||5b16e3ca71cc29ab71a6e4b92a2f3f13||8533270||SIG|
|Windows help file||Windows||a7cd250b2b561049e2e814c1668cb44d||8940482||SIG|
|Windows installer (32-bit)||Windows||1e8477792ec093c02991bd37b8615a2e||28036880||SIG|
|Windows installer (64-bit)||Windows||Recommended||cc816f1323d591087b70df5fc977feae||29169456||SIG|