Subject: CVS commit: pkgsrc/lang
From: Adam Ciarcinski
Date: 2020-12-08 15:30:41
Message id: 20201208143041.22ED5FA9D@cvs.NetBSD.org

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.

Files:
RevisionActionfile
1.2modifypkgsrc/lang/py39-html-docs/Makefile
1.2modifypkgsrc/lang/py39-html-docs/distinfo
1.6modifypkgsrc/lang/python39/Makefile
1.2modifypkgsrc/lang/python39/PLIST
1.2modifypkgsrc/lang/python39/dist.mk
1.5modifypkgsrc/lang/python39/distinfo
1.3modifypkgsrc/lang/python39/patches/patch-configure
1.3modifypkgsrc/lang/python39/patches/patch-pyconfig.h.in
1.4modifypkgsrc/lang/python39/patches/patch-setup.py
1.1removepkgsrc/lang/python39/patches/patch-Lib___osx__support.py
1.1removepkgsrc/lang/python39/patches/patch-Lib_ctypes_macholib_dyld.py
1.1removepkgsrc/lang/python39/patches/patch-Lib_ctypes_test_test__macholib.py
1.1removepkgsrc/lang/python39/patches/patch-Lib_distutils_tests_test__build__ext.py
1.1removepkgsrc/lang/python39/patches/patch-Lib_test_test__bytes.py
1.1removepkgsrc/lang/python39/patches/patch-Lib_test_test__platform.py
1.1removepkgsrc/lang/python39/patches/patch-Lib_test_test__unicode.py
1.1removepkgsrc/lang/python39/patches/patch-Mac_BuildScript_build-installer.py
1.1removepkgsrc/lang/python39/patches/patch-Mac_Tools_pythonw.c
1.1removepkgsrc/lang/python39/patches/patch-Modules___ctypes_callbacks.c
1.1removepkgsrc/lang/python39/patches/patch-Modules___ctypes_callproc.c
1.1removepkgsrc/lang/python39/patches/patch-Modules___ctypes_ctypes.h
1.1removepkgsrc/lang/python39/patches/patch-Modules___ctypes_malloc__closure.c
1.1removepkgsrc/lang/python39/patches/patch-Modules___decimal_libmpdec_mpdecimal.h
1.1removepkgsrc/lang/python39/patches/patch-Modules_getpath.c
1.1removepkgsrc/lang/python39/patches/patch-Modules_posixmodule.c
1.1removepkgsrc/lang/python39/patches/patch-Modules_timemodule.c
1.1removepkgsrc/lang/python39/patches/patch-Python_bootstrap__hash.c
1.1removepkgsrc/lang/python39/patches/patch-Python_pytime.c
1.1removepkgsrc/lang/python39/patches/patch-configure.ac