head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.22 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.20 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.18 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.16 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.14 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.12 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.10 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.8 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.6 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.4 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.2 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.3.0.2 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.2.0.2 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.1.0.2 pkgsrc-2022Q4-base:1.1; locks; strict; comment @# @; 1.5 date 2023.08.25.08.28.22; author adam; state Exp; branches; next 1.4; commitid mw3wi7aDwRq4Z8CE; 1.4 date 2023.06.29.01.32.28; author riastradh; state Exp; branches; next 1.3; commitid zWThP11kNEMqwMuE; 1.3 date 2023.06.07.13.28.49; author adam; state Exp; branches; next 1.2; commitid XcRMMpPClNpKb1sE; 1.2 date 2023.01.14.17.24.07; author wiz; state Exp; branches; next 1.1; commitid Ql33McvzeTdH7x9E; 1.1 date 2022.10.31.09.50.40; author adam; state Exp; branches; next ; commitid dJ2usVQFvHvi1RZD; desc @@ 1.5 log @python311 py311-html-docs: updated to 3.11.5 Python 3.11.5 Security gh-108310: Fixed an issue where instances of ssl.SSLSocket were vulnerable to a bypass of the TLS handshake and included protections (like certificate verification) and treating sent unencrypted data as if it were post-handshake TLS encrypted data. Security issue reported as CVE-2023-40217 by Aapo Oksman. Patch by Gregory P. Smith. Core and Builtins gh-104432: Fix potential unaligned memory access on C APIs involving returned sequences of char * pointers within the grp and socket modules. These were revealed using a -fsaniziter=alignment build on ARM macOS. Patch by Christopher Chavez. gh-77377: Ensure that multiprocessing synchronization objects created in a fork context are not sent to a different process created in a spawn context. This changes a segfault into an actionable RuntimeError in the parent process. gh-106092: Fix a segmentation fault caused by a use-after-free bug in frame_dealloc when the trashcan delays the deallocation of a PyFrameObject. gh-106719: No longer suppress arbitrary errors in the __annotations__ getter and setter in the type and module types. gh-106723: Propagate frozen_modules to multiprocessing spawned process interpreters. gh-105979: Fix crash in _imp.get_frozen_object() due to improper exception handling. gh-105840: Fix possible crashes when specializing function calls with too many __defaults__. gh-105588: Fix an issue that could result in crashes when compiling malformed ast nodes. gh-105375: Fix bugs in the builtins module where exceptions could end up being overwritten. gh-105375: Fix bug in the compiler where an exception could end up being overwritten. gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() where an exception could end up being overwritten. gh-105235: Prevent out-of-bounds memory access during mmap.find() calls. gh-101006: Improve error handling when read marshal data. Library gh-105736: Harmonized the pure Python version of OrderedDict with the C version. Now, both versions set up their internal state in __new__. Formerly, the pure Python version did the set up in __init__. gh-107963: Fix multiprocessing.set_forkserver_preload() to check the given list of modules names. Patch by Dong-hee Na. gh-106242: Fixes os.path.normpath() to handle embedded null characters without truncating the path. gh-107845: tarfile.data_filter() now takes the location of symlinks into account when determining their target, so it will no longer reject some valid tarballs with LinkOutsideDestinationError. gh-107715: Fix doctest.DocTestFinder.find() in presence of class names with special characters. Patch by Gertjan van Zwieten. gh-100814: Passing a callable object as an option value to a Tkinter image now raises the expected TclError instead of an AttributeError. gh-106684: Close asyncio.StreamWriter when it is not closed by application leading to memory leaks. Patch by Kumar Aditya. 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-107396: tarfiles; Fixed use before assignment of self.exception for gzip decompression gh-62519: Make gettext.pgettext() search plural definitions when translation is not found. gh-83006: Document behavior of shutil.disk_usage() for non-mounted filesystems on Unix. gh-106186: Do not report MultipartInvariantViolationDefect defect when the email.parser.Parser class is used to parse emails with headersonly=True. gh-106831: Fix potential missing NULL check of d2i_SSL_SESSION result in _ssl.c. gh-106774: Update the bundled copy of pip to version 23.2.1. gh-106752: Fixed several bug in zipfile.Path in name/suffix/suffixes/stem operations when no filename is present and the Path is not at the root of the zipfile. gh-106602: Add __copy__ and __deepcopy__ in enum gh-106530: Revert a change to colorsys.rgb_to_hls() that caused division by zero for certain almost-white inputs. Patch by Terry Jan Reedy. gh-106052: re module: fix the matching of possessive quantifiers in the case of a subpattern containing backtracking. gh-106510: Improve debug output for atomic groups in regular expressions. gh-105497: Fix flag mask inversion when unnamed flags exist. gh-90876: Prevent multiprocessing.spawn from failing to import in environments where sys.executable is None. This regressed in 3.11 with the addition of support for path-like objects in multiprocessing. gh-106350: Detect possible memory allocation failure in the libtommath function mp_init() used by the _tkinter module. gh-102541: Make pydoc.doc catch bad module ImportError when output stream is not None. gh-106263: Fix crash when calling repr with a manually constructed SignalDict object. Patch by Charlie Zhao. gh-105375: Fix a bug in _Unpickler_SetInputStream() where an exception could end up being overwritten in case of failure. gh-105375: Fix bugs in sys where exceptions could end up being overwritten because of deferred error handling. gh-105605: Harden pyexpat error handling during module initialisation to prevent exceptions from possibly being overwritten, and objects from being dereferenced twice. gh-105375: Fix bug in decimal where an exception could end up being overwritten. gh-105375: Fix bugs in _datetime where exceptions could be overwritten in case of module initialisation failure. gh-105375: Fix bugs in _ssl initialisation which could lead to leaked references and overwritten exceptions. gh-105375: Fix a bug in array.array where an exception could end up being overwritten. gh-105375: Fix bugs in _ctypes where exceptions could end up being overwritten. gh-105375: Fix a bug in the posix module where an exception could be overwritten. gh-105375: Fix bugs in _elementtree where exceptions could be overwritten. gh-105375: Fix bugs in zoneinfo where exceptions could be overwritten. gh-105375: Fix bugs in pickle where exceptions could be overwritten. gh-105497: Fix flag inversion when alias/mask members exist. gh-105375: Fix bugs in pickle where exceptions could be overwritten. gh-103171: Revert undocumented behaviour change with runtime-checkable protocols decorated with typing.final() in Python 3.11. The behaviour change had meant that objects would not be considered instances of these protocols at runtime unless they had a __final__ attribute. Patch by Alex Waygood. gh-105375: Fix a bug in sqlite3 where an exception could be overwritten in the collation callback. gh-105332: Revert pickling method from by-name back to by-value. gh-104554: Add RTSPS scheme support in urllib.parse gh-100061: Fix a bug that causes wrong matches for regular expressions with possessive qualifier. gh-102541: Hide traceback in help() prompt, when import failed. gh-99203: Restore following CPython <= 3.10.5 behavior of shutil.make_archive(): do not create an empty archive if root_dir is not a directory, and, in that case, raise FileNotFoundError or NotADirectoryError regardless of format choice. Beyond the brought-back behavior, the function may now also raise these exceptions in dry_run mode. gh-94777: Fix hanging multiprocessing ProcessPoolExecutor when a child process crashes while data is being written in the call queue. bpo-18319: Ensure gettext(msg) retrieve translations even if a plural form exists. In other words: gettext(msg) == ngettext(msg, '', 1). Documentation gh-107008: Document the curses module variables LINES and COLS. gh-106948: Add a number of standard external names to nitpick_ignore. gh-54738: Add documentation on how to localize the argparse module. Tests gh-105776: Fix test_cppext when the C compiler command -std=c11 option: remove -std= options from the compiler command. Patch by Victor Stinner. gh-107237: test_logging: Fix test_udp_reconnection() by increasing the timeout from 100 ms to 5 minutes (LONG_TIMEOUT). Patch by Victor Stinner. gh-101634: When running the Python test suite with -jN option, if a worker stdout cannot be decoded from the locale encoding report a failed testn so the exitcode is non-zero. Patch by Victor Stinner. Build gh-107814: When calling find_python.bat with -q it did not properly silence the output of nuget. That is now fixed. gh-106881: Check for linux/limits.h before including it in Modules/posixmodule.c. gh-104692: Include commoninstall as a prerequisite for bininstall This ensures that commoninstall is completed before bininstall is started when parallel builds are used (make -j install), and so the python3 symlink is only installed after all standard library modules are installed. gh-100340: Allows -Wno-int-conversion for wasm-sdk 17 and onwards, thus enables building WASI builds once against the latest sdk. Windows gh-106242: Fixes realpath() to behave consistently when passed a path containing an embedded null character on Windows. In strict mode, it now raises OSError instead of the unexpected ValueError, and in non-strict mode will make the path absolute. gh-106844: Fix integer overflow in _winapi.LCMapStringEx() which affects ntpath.normcase(). gh-99079: Update Windows build to use OpenSSL 3.0.9 gh-105436: Ensure that an empty environment block is terminated by two null characters, as is required by Windows. macOS gh-107565: Update macOS installer to use OpenSSL 3.0.10. gh-99079: Update macOS installer to use OpenSSL 3.0.9. Tools/Demos gh-107565: Update multissltests and GitHub CI workflows to use OpenSSL 1.1.1v, 3.0.10, and 3.1.2. gh-95065: Argument Clinic now supports overriding automatically generated signature by using directive @@text_signature. See How to override the generated signature. gh-106970: Fix bugs in the Argument Clinic destination clear command; the destination buffers would never be cleared, and the destination directive parser would simply continue to the fault handler after processing the command. Patch by Erlend E. Aasland. C API gh-107916: C API functions PyErr_SetFromErrnoWithFilename(), PyErr_SetExcFromWindowsErrWithFilename() and PyErr_SetFromWindowsErrWithFilename() save now the error code before calling PyUnicode_DecodeFSDefault(). gh-107915: Such C API functions as PyErr_SetString(), PyErr_Format(), PyErr_SetFromErrnoWithFilename() and many others no longer crash or ignore errors if it failed to format the error message or decode the filename. Instead, they keep a corresponding error. gh-107226: PyModule_AddObjectRef() is now only available in the limited API version 3.10 or later. gh-105375: Fix a bug in PyErr_WarnExplicit() where an exception could end up being overwritten if the API failed internally. gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data: *consumed was not set. @ text @$NetBSD: patch-configure,v 1.4 2023/06/29 01:32:28 riastradh Exp $ Fix linking on Darwin; don't use -stack_size. Changes for consistency across pkgsrc platforms. Simplify _sysconfigdata to include only platform name. Disable barrier to cross-compilation. --- configure.orig 2023-08-24 12:09:18.000000000 +0000 +++ configure @@@@ -3262,7 +3262,7 @@@@ fi fi ac_cv_prog_PYTHON_FOR_REGEN=$with_build_python PYTHON_FOR_FREEZE="$with_build_python" - PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$with_build_python + PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(MACHDEP) '$with_build_python { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_build_python" >&5 $as_echo "$with_build_python" >&6; } @@@@ -3865,7 +3865,7 @@@@ fi $as_echo "\"$MACHDEP\"" >&6; } -if test "$cross_compiling" = yes; then +if false && test "$cross_compiling" = yes; then case "$host" in *-*-linux*) case "$host_cpu" in @@@@ -8259,7 +8259,7 @@@@ UNIVERSAL_ARCH_FLAGS= # tweak BASECFLAGS based on compiler and platform case $GCC in yes) - CFLAGS_NODIST="$CFLAGS_NODIST -std=c11" + CFLAGS_NODIST="$CFLAGS_NODIST -std=gnu11" @@@@ -19916,10 +19916,10 @@@@ _ACEOF if ac_fn_c_try_compile "$LINENO"; then : -if grep noonsees conftest.$ac_objext >/dev/null ; then +if strings -a conftest.$ac_objext | grep noonsees >/dev/null ; then ax_cv_c_float_words_bigendian=yes fi -if grep seesnoon conftest.$ac_objext >/dev/null ; then +if strings -a conftest.$ac_objext | grep seesnoon >/dev/null ; then if test "$ax_cv_c_float_words_bigendian" = unknown; then ax_cv_c_float_words_bigendian=no else @@@@ -20767,7 +20767,7 @@@@ _ACEOF fi -EXT_SUFFIX=.${SOABI}${SHLIB_SUFFIX} +EXT_SUFFIX=${SHLIB_SUFFIX} { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDVERSION" >&5 $as_echo_n "checking LDVERSION... " >&6; } @@@@ -20820,11 +20820,7 @@@@ fi -if test x$PLATFORM_TRIPLET = x; then - LIBPL='$(prefix)'"/${PLATLIBDIR}/python${VERSION}/config-${LDVERSION}" -else - LIBPL='$(prefix)'"/${PLATLIBDIR}/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}" -fi +LIBPL='$(prefix)'"/${PLATLIBDIR}/python${VERSION}/config-${LDVERSION}" # Check for --with-wheel-pkg-dir=PATH @ 1.4 log @python311: Adjust to new configure interface for cross-compilation. Restore patch to simplify sysconfigdata name in configure, now that passing through this logic is mandatory for cross-compilation (at least, mandatory without further patches to configure). @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.3 2023/06/07 13:28:49 adam Exp $ d8 1 a8 1 --- configure.orig 2023-06-06 22:00:27.000000000 +0000 d10 1 a10 1 @@@@ -3630,7 +3630,7 @@@@ fi d16 2 a17 2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_build_python" >&5 printf "%s\n" "$with_build_python" >&6; } d19 2 a20 2 @@@@ -4253,7 +4253,7 @@@@ fi printf "%s\n" "\"$MACHDEP\"" >&6; } d28 1 a28 1 @@@@ -8995,7 +8995,7 @@@@ UNIVERSAL_ARCH_FLAGS= d37 2 a38 2 @@@@ -22503,10 +22503,10 @@@@ if ac_fn_c_try_compile "$LINENO" then : d50 1 a50 1 @@@@ -23367,7 +23367,7 @@@@ printf "%s\n" "#define ALT_SOABI \"${ALT d57 3 a59 3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LDVERSION" >&5 printf %s "checking LDVERSION... " >&6; } @@@@ -23421,11 +23421,7 @@@@ fi @ 1.3 log @python311: updated to 3.11.4 Python 3.11.4 Security gh-103142: The version of OpenSSL used in our binary builds has been upgraded to 1.1.1u to address several CVEs. gh-99889: Fixed a security in flaw in uu.decode() that could allow for directory traversal based on the input if no out_file was specified. gh-104049: Do not expose the local on-disk location in directory indexes produced by http.client.SimpleHTTPRequestHandler. gh-102153: urllib.parse.urlsplit() now strips leading C0 control and space characters following the specification for URLs defined by WHATWG in response to CVE-2023-24329. Patch by Illia Volochii. Core and Builtins gh-105164: Ensure annotations are set up correctly if the only annotation in a block is within a match block. Patch by Jelle Zijlstra. gh-104615: Fix wrong ordering of assignments in code like a, a = x, y. Contributed by Carl Meyer. gh-104482: Fix three error handling bugs in ast.c’s validation of pattern matching statements. gh-102818: Do not add a frame to the traceback in the sys.setprofile and sys.settrace trampoline functions. This ensures that frames are not duplicated if an exception is raised in the callback function, and ensures that frames are not omitted if a C callback is used and that does not add the frame. gh-104405: Fix an issue where some bytecode instructions could ignore PEP 523 when “inlining” calls. gh-104018: Disallow the “z” format specifier in %-format of bytes objects. gh-103971: Fix an issue where incorrect locations numbers could be assigned to code following case blocks. gh-102310: Change the error range for invalid bytes literals. gh-103590: Do not wrap a single exception raised from a try-except* construct in an ExceptionGroup. gh-101517: Fix bug in line numbers of instructions emitted for except*. gh-103242: Migrate set_ecdh_curve() method not to use deprecated OpenSSL APIs. Patch by Dong-hee Na. gh-102700: Allow built-in modules to be submodules. This allows submodules to be statically linked into a CPython binary. gh-101857: Fix xattr support detection on Linux systems by widening the check to linux, not just glibc. This fixes support for musl. gh-99184: Bypass instance attribute access of __name__ in repr of weakref.ref. gh-96670: The parser now raises SyntaxError when parsing source code containing null bytes. Backported from aab01e3. Patch by Pablo Galindo bpo-31821: Fix pause_reading() to work when called from connection_made() in asyncio. Library gh-105080: Fixed inconsistent signature on derived classes for inspect.signature() gh-104874: Document the __name__ and __supertype__ attributes of typing.NewType. Patch by Jelle Zijlstra. gh-104340: When an asyncio pipe protocol loses its connection due to an error, and the caller doesn’t await wait_closed() on the corresponding StreamWriter, don’t log a warning about an exception that was never retrieved. After all, according to the StreamWriter.close() docs, the wait_closed() call is optional (“not mandatory”). gh-104372: Refactored the _posixsubprocess internals to avoid Python C API usage between fork and exec when marking pass_fds= file descriptors inheritable. gh-75367: Fix data descriptor detection in inspect.getattr_static(). gh-104536: Fix a race condition in the internal multiprocessing.process cleanup logic that could manifest as an unintended AttributeError when calling process.close(). gh-104399: Prepare the _tkinter module for building with Tcl 9.0 and future libtommath by replacing usage of deprecated functions mp_to_unsigned_bin_n() and mp_unsigned_bin_size() when necessary. gh-104307: socket.getnameinfo() now releases the GIL while contacting the DNS server gh-87695: Fix issue where pathlib.Path.glob() raised OSError when it encountered a symlink to an overly long path. gh-104265: Prevent possible crash by disallowing instantiation of the _csv.Reader and _csv.Writer types. The regression was introduced in 3.10.0a4 with PR 23224 (bpo-14935). Patch by Radislav Chugunov. gh-104035: Do not ignore user-defined __getstate__ and __setstate__ methods for slotted frozen dataclasses. gh-103987: In mmap, fix several bugs that could lead to access to memory-mapped files after they have been invalidated. gh-103935: Use io.open_code() for files to be executed instead of raw open() gh-100370: Fix potential OverflowError in sqlite3.Connection.blobopen() for 32-bit builds. Patch by Erlend E. Aasland. gh-103848: Add checks to ensure that [ bracketed ] hosts found by urllib.parse.urlsplit() are of IPv6 or IPvFuture format. gh-103872: Update the bundled copy of pip to version 23.1.2. gh-103861: Fix zipfile.Zipfile creating invalid zip files when force_zip64 was used to add files to them. Patch by Carey Metcalfe. gh-103685: Prepare tkinter.Menu.index() for Tk 8.7 so that it does not raise TclError: expected integer but got "" when it should return None. gh-81403: urllib.request.CacheFTPHandler no longer raises URLError if a cached FTP instance is reused. ftplib’s endtransfer method calls voidresp to drain the connection to handle FTP instance reuse properly. gh-103578: Fixed a bug where pdb crashes when reading source file with different encoding by replacing io.open() with io.open_code(). The new method would also call into the hook set by PyFile_SetOpenCodeHook(). gh-103556: Now creating inspect.Signature objects with positional-only parameter with a default followed by a positional-or-keyword parameter without one is impossible. gh-103559: Update the bundled copy of pip to version 23.1.1. gh-103365: Set default Flag boundary to STRICT and fix bitwise operations. gh-103472: Avoid a potential ResourceWarning in http.client.HTTPConnection by closing the proxy / tunnel’s CONNECT response explicitly. gh-103449: Fix a bug in doc string generation in dataclasses.dataclass(). gh-103256: Fixed a bug that caused hmac to raise an exception when the requested hash algorithm was not available in OpenSSL despite being available separately as part of hashlib itself. It now falls back properly to the built-in. This could happen when, for example, your OpenSSL does not include SHA3 support and you want to compute hmac.digest(b'K', b'M', 'sha3_256'). gh-103225: Fix a bug in pdb when displaying line numbers of module-level source code. gh-93910: Remove deprecation of enum memmber.member access. gh-102978: Fixes unittest.mock.patch() not enforcing function signatures for methods decorated with @@classmethod or @@staticmethod when patch is called with autospec=True. gh-103204: Fixes http.server accepting HTTP requests with HTTP version numbers preceded by ‘+’, or ‘-’, or with digit-separating ‘_’ characters. The length of the version numbers is also constrained. gh-102953: The extraction methods in tarfile, and shutil.unpack_archive(), have a new a filter argument that allows limiting tar features than may be surprising or dangerous, such as creating files outside the destination directory. See Extraction filters for details. gh-101640: argparse.ArgumentParser now catches errors when writing messages, such as when sys.stderr is None. Patch by Oleg Iarygin. gh-96522: Fix potential deadlock in pty.spawn() gh-87474: Fix potential file descriptor leaks in subprocess.Popen. Documentation gh-89455: Add missing documentation for the max_group_depth and max_group_width parameters and the exceptions attribute of the traceback.TracebackException class. gh-89412: Add missing documentation for the end_lineno and end_offset attributes of the traceback.TracebackException class. gh-104943: Remove mentions of old Python versions in typing.NamedTuple. gh-67056: Document that the effect of registering or unregistering an atexit cleanup function from within a registered cleanup function is undefined. gh-48241: Clarifying documentation about the url parameter to urllib.request.urlopen and urllib.request.Requst needing to be encoded properly. Tests gh-104494: Update test_pack_configure_in and test_place_configure_in for changes to error message formatting in Tk 8.7. gh-104461: Run test_configure_screen on X11 only, since the DISPLAY environment variable and -screen option for toplevels are not useful on Tk for Win32 or Aqua. gh-103329: Regression tests for the behaviour of unittest.mock.PropertyMock were added. gh-85984: Utilize new “winsize” functions from termios in pty tests. gh-75729: Fix the os.spawn* tests failing on Windows when the working directory or interpreter path contains spaces. Build gh-90005: Fix a regression in configure where we could end up unintentionally linking with libbsd. gh-104106: Add gcc fallback of mkfifoat/mknodat for macOS. Patch by Dong-hee Na. gh-99069: Extended workaround defining static_assert when missing from the libc headers to all clang and gcc builds. In particular, this fixes building on macOS <= 10.10. Windows gh-105146: Updated the links at the end of the installer to point to Discourse rather than the mailing lists. gh-104623: Update Windows installer to use SQLite 3.42.0. gh-102997: Update Windows installer to use SQLite 3.41.2. gh-88013: Fixed a bug where TypeError was raised when calling ntpath.realpath() with a bytes parameter in some cases. macOS gh-103142: Update macOS installer to use OpenSSL 1.1.1u. gh-104623: Update macOS installer to SQLite 3.42.0. gh-102997: Update macOS installer to SQLite 3.41.2. IDLE gh-104719: Remove IDLE’s modification of tokenize.tabsize and test other uses of tokenize data and methods. gh-104499: Fix completions for Tk Aqua 8.7 (currently blank). gh-104496: About prints both tcl and tk versions if different (expected someday). gh-88496: Fix IDLE test hang on macOS. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.2 2023/01/14 17:24:07 wiz Exp $ d10 9 @ 1.2 log @python311: remove unneeded chunk, merged upstream @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2022/10/31 09:50:40 adam Exp $ d8 1 a8 1 --- configure.orig 2022-10-24 17:35:39.000000000 +0000 d10 2 a11 2 @@@@ -3862,7 +3862,7 @@@@ fi $as_echo "\"$MACHDEP\"" >&6; } d19 1 a19 1 @@@@ -8066,7 +8066,7 @@@@ UNIVERSAL_ARCH_FLAGS= d28 2 a29 2 @@@@ -19684,10 +19695,10 @@@@ _ACEOF if ac_fn_c_try_compile "$LINENO"; then : d41 1 a41 1 @@@@ -20535,7 +20546,7 @@@@ _ACEOF d48 3 a50 3 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDVERSION" >&5 $as_echo_n "checking LDVERSION... " >&6; } @@@@ -20588,11 +20599,7 @@@@ fi @ 1.1 log @python311 py311-html-docs: added version 3.11.0 Python 3.11 is between 10-60% faster than Python 3.10. On average, we measured a 1.25x speedup on the standard benchmark suite. See Faster CPython for details. New syntax features: PEP 654: Exception Groups and except* New built-in features: PEP 678: Exceptions can be enriched with notes New standard library modules: PEP 680: tomllib — Support for parsing TOML in the Standard Library Interpreter improvements: PEP 657: Fine-grained error locations in tracebacks New -P command line option and PYTHONSAFEPATH environment variable to disable automatically prepending potentially unsafe paths to sys.path New typing features: PEP 646: Variadic generics PEP 655: Marking individual TypedDict items as required or not-required PEP 673: Self type PEP 675: Arbitrary literal string type PEP 681: Data class transforms Important deprecations, removals and restrictions: PEP 594: Many legacy standard library modules have been deprecated and will be removed in Python 3.13 PEP 624: Py_UNICODE encoder APIs have been removed PEP 670: Macros converted to static inline functions @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.4 2022/04/03 10:54:52 riastradh Exp $ a5 1 detect netcan/can.h on NetBSD a27 18 @@@@ -9564,6 +9564,17 @@@@ if test "x$ac_cv_type___uint128_t" = xye $as_echo "#define HAVE_GCC_UINT128_T 1" >>confdefs.h fi +ac_fn_c_check_header_compile "$LINENO" "netcan/can.h" "ac_cv_header_netcan_can_h" " +#ifdef HAVE_SYS_SOCKET_H +#include +#endif + +" +if test "x$ac_cv_header_netcan_can_h" = xyes +then : + printf "%s\n" "#define HAVE_NETCAN_CAN_H 1" >>confdefs.h + +fi # Sizes and alignments of various common basic types @