pkgsrc/lang/python39
adam 8b0198406d python39 py39-html-docs: updated to 3.9.19
Python 3.9.19

Security

gh-115398: Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:

xml.etree.ElementTree.XMLParser.flush()
xml.etree.ElementTree.XMLPullParser.flush()
xml.parsers.expat.xmlparser.GetReparseDeferralEnabled()
xml.parsers.expat.xmlparser.SetReparseDeferralEnabled()
xml.sax.expatreader.ExpatParser.flush()
gh-115399: Update bundled libexpat to 2.6.0
gh-113659: Skip .pth files with names starting with a dot or hidden file attribute.

Core and Builtins

gh-102388: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds

Library

gh-115197: urllib.request no longer resolves the hostname before checking it against the system’s proxy bypass list on macOS and Windows.
gh-115133: Fix tests for XMLPullParser with Expat 2.6.0.
gh-81194: Fix a crash in socket.if_indextoname() with specific value (UINT_MAX). Fix an integer overflow in socket.if_indextoname() on 64-bit non-Windows platforms.
gh-109858: Protect zipfile from “quoted-overlap” zipbomb. It now raises BadZipFile when try to read an entry that overlaps with other entry or central directory.
gh-107077: Seems that in some conditions, OpenSSL will return SSL_ERROR_SYSCALL instead of SSL_ERROR_SSL when a certification verification has failed, but the error parameters will still contain ERR_LIB_SSL and SSL_R_CERTIFICATE_VERIFY_FAILED. We are now detecting this situation and raising the appropiate ssl.SSLCertVerificationError. Patch by Pablo Galindo
gh-91133: Fix a bug in tempfile.TemporaryDirectory cleanup, which now no longer dereferences symlinks when working around file system permission errors.

Documentation

gh-115399: Document CVE-2023-52425 of Expat <2.6.0 under “XML vulnerabilities”.

Windows

gh-111239: Update Windows builds to use zlib v1.3.1.
gh-109991: Windows builds now use OpenSSL 1.1.1w. Note that OpenSSL 1.1 has reached its end of life and no future fixes will be made, and this version of Python is no longer receiving maintenance fixes and will not be updated to OpenSSL 3.0.

Tools/Demos

gh-109991: Update GitHub CI workflows to use OpenSSL 3.0.11 and multissltests to use 1.1.1w and 3.0.11.
2024-03-20 15:41:01 +00:00
..
patches python39 python310: fix build on Darwin 2024-01-23 06:51:44 +00:00
ALTERNATIVES
DESCR
Makefile python39 py39-html-docs: updated to 3.9.19 2024-03-20 15:41:01 +00:00
PLIST python*: include some standard modules in the base Python package 2023-10-23 06:35:59 +00:00
PLIST.Darwin
PLIST.FreeBSD
PLIST.IRIX
PLIST.Linux
PLIST.SunOS
buildlink3.mk python: Exclude dependencies for build. 2023-11-29 11:02:40 +00:00
dist.mk python39 py39-html-docs: updated to 3.9.19 2024-03-20 15:41:01 +00:00
distinfo python39 py39-html-docs: updated to 3.9.19 2024-03-20 15:41:01 +00:00
options.mk
platname.mk python: Override sys.platform with PY_PLATNAME when cross-compiling. 2023-06-27 10:35:29 +00:00