Release Date: Aug. 30, 2021
This is the seventh maintenance release of Python 3.9
Note: The release you're looking at is Python 3.9.7, a bugfix release for the legacy 3.9 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here.
There's been 187 commits since 3.9.6 which is a similar amount compared to 3.8 at the same stage of the release cycle. See the changelog for details.
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
(BBC Television News studio)
Richard Baker: We've just heard that an explosion in the kitchens of the House of Lords has resulted in the breakage of seventeen storage jars. Police ruled out foul play.
|Version||Operating System||Description||MD5 Sum||File Size||GPG|
|Gzipped source tarball||Source release||5f463f30b1fdcb545f156583630318b3||25755357||SIG|
|XZ compressed source tarball||Source release||fddb060b483bc01850a3f412eea1d954||19123232||SIG|
|macOS 64-bit Intel installer||macOS||for macOS 10.9 and later||ce8c2f885f26b09536857610644260d4||30038206||SIG|
|macOS 64-bit universal2 installer||macOS||for macOS 10.9 and later, including macOS 11 Big Sur on Apple Silicon (experimental)||825067610b16b03ec814630df1b65193||38144099||SIG|
|Windows embeddable package (32-bit)||Windows||6d12e3e0f942830de8466a83d30a45fb||7652688||SIG|
|Windows embeddable package (64-bit)||Windows||67e19ff32b3ef62a40bccd50e33b0f53||8473919||SIG|
|Windows help file||Windows||b92a78506ccf258d5ad0d98c341fc5d1||9263789||SIG|
|Windows installer (32-bit)||Windows||0d949bdfdbd0c8c66107a980a95efd85||27811736||SIG|
|Windows installer (64-bit)||Windows||Recommended||cc3eabc1f9d6c703d1d2a4e7c041bc1d||28895456||SIG|