Python 3.9.9
Release Date: Nov. 15, 2021
This is the ninth maintenance release of Python 3.9
Note: The release you're looking at is Python 3.9.9, an expedited 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.
3.9.9 was released out of schedule as a hotfix for an argparse
regression in Python 3.9.8 which caused complex command-line tools to fail recognizing sub-commands properly. Details in BPO-45235. There are only three other bugfixes in this release compared to 3.9.8. See the changelog for details on what changed.
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
dict
- 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.
More resources
- 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
Geppo: Well Reg, I think Pablo should be all right provided he doesn't attempt anything on the monumental scale of some of his earlier paintings, like Guernica or Mademoiselles d'Avignon or even his later War and Peace murals for the Temple of Peace chapel at Vallauris, because with this strong head wind I don't think even Doug Timpson of Manchester Harriers could paint anything on that kind of scale.
Reg Moss: Well, thank you Ron. Well, there still seems to be no sign of Picasso, so I'll hand you back to the studio.
Linkman: Well, we've just heard that Picasso is approaching the Tolworth roundabout on the A3 so come in Sam Trench at Tolworth.
Trench: Well something certainly is happening here at Tolworth roundabout, David. I can now see Picasso, he's cycling down very hard towards the roundabout, he's about 75-50 yards away and I can now see his painting... it's an abstract... I can see some blue some purple and some little black oval shapes... I think I can see...
A Pepperpot comes up and nudges him.
Pepperpot: That's not Picasso - that's Kandinsky.
Files
Version | Operating System | Description | MD5 Sum | File Size | GPG |
---|---|---|---|---|---|
Gzipped source tarball | Source release | a2da2a456c078db131734ff62de10ed5 | 24.6 MB | SIG | |
XZ compressed source tarball | Source release | 11d12076311563252a995201248d17e5 | 18.3 MB | SIG | |
macOS 64-bit Intel-only installer | macOS | for macOS 10.9 and later, deprecated | 558d424cd547a3a85c99bd5675b67370 | 28.7 MB | SIG |
macOS 64-bit universal2 installer | macOS | for macOS 10.9 and later | ff07b39be8e4a58a09aabe4d4f0efd64 | 36.4 MB | SIG |
Windows installer (64-bit) | Windows | Recommended | a09ef64c9ea2e7d9a04a2cafb833aa7b | 27.5 MB | SIG |
Windows installer (32-bit) | Windows | 41566bd99961047c8332d46bd3dd90fc | 26.5 MB | SIG | |
Windows help file | Windows | 90109a4c9e7ee67f504b6a9f79201c6a | 8.8 MB | SIG | |
Windows embeddable package (64-bit) | Windows | 7129c695fff6bf19d5b2e1a4ff86a3e8 | 8.1 MB | SIG | |
Windows embeddable package (32-bit) | Windows | a54f24cee83fe5ef2e65f707b3af4fc2 | 7.3 MB | SIG |