Log message:
python39: updated to 3.9.1
Python 3.9.1 final
Core and Builtins
bpo-42576: types.GenericAlias will now raise a TypeError when attempting to \
initialize with a keyword argument. Previously, this would cause the interpreter \
to crash if the interpreter was compiled with debug symbols. This does not \
affect interpreters compiled for release. Patch by Ken Jin.
Library
bpo-5054: CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly parsed. Replace \
the special purpose getallmatchingheaders with generic get_all method and add \
relevant tests.
bpo-17735: inspect.findsource() now raises OSError instead of IndexError when \
co_lineno of a code object is greater than the file length. This can happen, for \
example, when a file is edited after it was imported.
bpo-42116: Fix handling of trailing comments by inspect.getsource().
bpo-42487: ChainMap.__iter__ no longer calls __getitem__ on underlying maps
bpo-42482: TracebackException no longer holds a reference to the exception’s \
traceback object. Consequently, instances of TracebackException for equivalent \
but non-equal exceptions now compare as equal.
bpo-42406: We fixed an issue in pickle.whichmodule in which importing \
multiprocessing could change the how pickle identifies which module an object \
belongs to, potentially breaking the unpickling of those objects.
bpo-34215: Clarify the error message for asyncio.IncompleteReadError when \
expected is None.
bpo-12800: Extracting a symlink from a tarball should succeed and overwrite the \
symlink if it already exists. The fix is to remove the existing file or symlink \
before extraction. Based on patch by Chris AtLee, Jeffrey Kintscher, and Senthil \
Kumaran.
Tests
bpo-41473: Reenable test_gdb on gdb 9.2 and newer: \
https://bugzilla.redhat.com/show_bug.cgi?id=1866884 bug is fixed in gdb 10.1.
bpo-42553: Fix test_asyncio.test_call_later() race condition: don’t measure \
asyncio performance in the call_later() unit test. The test failed randomly on \
the CI.
macOS
bpo-41116: If no explicit macOS SDK was specified, setup.py should check for Tcl \
and TK frameworks in /Library/Frameworks; the previous commit inadvertently \
broke that test.
bpo-42504: Fix build on macOS Big Sur when MACOSX_DEPLOYMENT_TARGET=11
IDLE
bpo-42508: Keep IDLE running on macOS. Remove obsolete workaround that prevented \
running files with shortcuts when using new universal2 installers built on macOS \
11.
|
Log message:
python39: added version 3.9.0
3.9.0 Release highlights
New syntax features:
PEP 584, union operators added to dict;
PEP 585, type hinting generics in standard collections;
PEP 614, relaxed grammar restrictions on decorators.
New built-in features:
PEP 616, string methods to remove prefixes and suffixes.
New features in the standard library:
PEP 593, flexible function and variable annotations;
os.pidfd_open() added that allows process management without races and signals.
Interpreter improvements:
PEP 573, fast access to module state from methods of C extension types;
PEP 617, CPython now uses a new parser based on PEG;
a number of Python builtins (range, tuple, set, frozenset, list, dict) are now \
sped up using PEP 590 vectorcall;
garbage collection does not block on resurrected objects;
a number of Python modules (_abc, audioop, _bz2, _codecs, _contextvars, _crypt, \
_functools, _json, _locale, math, 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.
New library modules:
PEP 615, the IANA Time Zone Database is now present in the standard library in \
the zoneinfo module;
an implementation of a topological sort of a graph is now provided in the new \
graphlib module.
Release process changes:
PEP 602, CPython adopts an annual release cycle.
|