--- - branch: MAIN date: Tue Aug 2 18:27:22 UTC 2022 files: - new: '1.7' old: '1.6' path: pkgsrc/lang/py310-html-docs/Makefile pathrev: pkgsrc/lang/py310-html-docs/Makefile@1.7 type: modified - new: '1.9' old: '1.8' path: pkgsrc/lang/py310-html-docs/distinfo pathrev: pkgsrc/lang/py310-html-docs/distinfo@1.9 type: modified - new: '1.15' old: '1.14' path: pkgsrc/lang/python310/Makefile pathrev: pkgsrc/lang/python310/Makefile@1.15 type: modified - new: '1.7' old: '1.6' path: pkgsrc/lang/python310/PLIST pathrev: pkgsrc/lang/python310/PLIST@1.7 type: modified - new: '1.7' old: '1.6' path: pkgsrc/lang/python310/dist.mk pathrev: pkgsrc/lang/python310/dist.mk@1.7 type: modified - new: '1.18' old: '1.17' path: pkgsrc/lang/python310/distinfo pathrev: pkgsrc/lang/python310/distinfo@1.18 type: modified id: 20220802T182722Z.e9c2871682b0d734eee0f9932f637f5490303f67 log: "python310 py310-html-docs: updated to 3.10.6\n\nPython 3.10.6 final\nRelease date: 2022-08-01\n\nSecurity\ngh-87389: http.server: Fix an open redirection vulnerability in the HTTP server when an URI path starts with //. Vulnerability discovered, and initial fix proposed, by Hamza Avvan.\ngh-92888: Fix memoryview use after free when accessing the backing buffer in certain cases.\nCore and Builtins\ngh-95355: _PyPegen_Parser_New now properly detects token memory allocation errors. Patch by Honglin Zhu.\ngh-94938: Fix error detection in some builtin functions when keyword argument name is an instance of a str subclass with overloaded __eq__ and __hash__. Previously it could cause SystemError or other undesired behavior.\ngh-94949: ast.parse() will no longer parse parenthesized context managers when passed feature_version less than (3, 9). Patch by Shantanu Jain.\ngh-94947: ast.parse() will no longer parse assignment expressions when passed feature_version less than (3, 8). Patch by Shantanu Jain.\ngh-94869: Fix the column offsets for some expressions in multi-line f-strings ast nodes. Patch by Pablo Galindo.\ngh-91153: Fix an issue where a bytearray item assignment could crash if itâ\x80\x99s resized by the new valueâ\x80\x99s __index__() method.\ngh-94329: Compile and run code with unpacking of extremely large sequences (1000s of elements). Such code failed to compile. It now compiles and runs correctly.\ngh-94360: Fixed a tokenizer crash when reading encoded files with syntax errors from stdin with non utf-8 encoded text. Patch by Pablo Galindo\ngh-94192: Fix error for dictionary literals with invalid expression as value.\ngh-93964: Strengthened compiler overflow checks to prevent crashes when compiling very large source files.\ngh-93671: Fix some exponential backtrace case happening with deeply nested sequence patterns in match statements. Patch by Pablo Galindo\ngh-93021: Fix the __text_signature__ for __get__() methods implemented in C. Patch by Jelle Zijlstra.\ngh-92930: Fixed a crash in _pickle.c from mutating collections during __reduce__ or persistent_id.\ngh-92914: Always round the allocated size for lists up to the nearest even number.\ngh-92858: Improve error message for some suites with syntax error before â\x80\x98:â\x80\x99\nLibrary\ngh-95339: Update bundled pip to 22.2.1.\n\ngh-95045: Fix GC crash when deallocating _lsprof.Profiler by untracking it before calling any callbacks. Patch by Kumar Aditya.\n\ngh-95087: Fix IndexError in parsing invalid date in the email module.\n\ngh-95199: Upgrade bundled setuptools to 63.2.0.\n\ngh-95194: Upgrade bundled pip to 22.2.\n\ngh-93899: Fix check for existence of os.EFD_CLOEXEC, os.EFD_NONBLOCK and os.EFD_SEMAPHORE flags on older kernel versions where these flags are not present. Patch by Kumar Aditya.\n\ngh-95166: Fix concurrent.futures.Executor.map() to cancel the currently waiting on future on an error - e.g. TimeoutError or KeyboardInterrupt.\n\ngh-93157: Fix fileinput module didnâ\x80\x99t support errors option when inplace is true.\n\ngh-94821: Fix binding of unix socket to empty address on Linux to use an available address from the abstract namespace, instead of â\x80\x9C0â\x80\x9D.\n\ngh-94736: Fix crash when deallocating an instance of a subclass of _multiprocessing.SemLock. Patch by Kumar Aditya.\n\ngh-94637: SSLContext.set_default_verify_paths() now releases the GIL around SSL_CTX_set_default_verify_paths call. The function call performs I/O and CPU intensive work.\n\ngh-94510: Re-entrant calls to sys.setprofile() and sys.settrace() now raise RuntimeError. Patch by Pablo Galindo.\n\ngh-92336: Fix bug where linecache.getline() fails on bad files with UnicodeDecodeError or SyntaxError. It now returns an empty string as per the documentation.\n\ngh-89988: Fix memory leak in pickle.Pickler when looking up dispatch_table. Patch by Kumar Aditya.\n\ngh-94254: Fixed types of struct module to be immutable. Patch by Kumar Aditya.\n\ngh-94245: Fix pickling and copying of typing.Tuple[()].\n\ngh-94207: Made _struct.Struct GC-tracked in order to fix a reference leak in the _struct module.\n\ngh-94101: Manual instantiation of ssl.SSLSession objects is no longer allowed as it lead to misconfigured instances that crashed the interpreter when attributes where accessed on them.\n\ngh-84753: inspect.iscoroutinefunction(), inspect.isgeneratorfunction(), and inspect.isasyncgenfunction() now properly return True for duck-typed function-like objects like instances of unittest.mock.AsyncMock.\n\nThis makes inspect.iscoroutinefunction() consistent with the behavior of asyncio.iscoroutinefunction(). Patch by Mehdi ABAAKOUK.\n\ngh-83499: Fix double closing of file description in tempfile.\n\ngh-79512: Fixed names and __module__ value of weakref classes ReferenceType, ProxyType, CallableProxyType. It makes them pickleable.\n\ngh-90494: copy.copy() and copy.deepcopy() now always raise a TypeError if __reduce__() returns a tuple with length 6 instead of silently ignore the 6th item or produce incorrect result.\n\ngh-90549: Fix a multiprocessing bug where a global named resource (such as a semaphore) could leak when a child process is spawned (as opposed to forked).\n\ngh-79579: sqlite3 now correctly detects DML queries with leading comments. Patch by Erlend E. Aasland.\n\ngh-93421: Update sqlite3.Cursor.rowcount when a DML statement has run to completion. This fixes the row count for SQL queries like UPDATE ... RETURNING. Patch by Erlend E. Aasland.\n\ngh-91810: Suppress writing an XML declaration in open files in ElementTree.write() with encoding='unicode' and xml_declaration=None.\n\ngh-93353: Fix the importlib.resources.as_file() context manager to remove the temporary file if destroyed late during Python finalization: keep a local reference to the os.remove() function. Patch by Victor Stinner.\n\ngh-83658: Make multiprocessing.Pool raise an exception if maxtasksperchild is not None or a positive int.\n\ngh-74696: shutil.make_archive() no longer temporarily changes the current working directory during creation of standard .zip or tar archives.\n\ngh-91577: Move imports in SharedMemory methods to module level so that they can be executed late in python finalization.\n\nbpo-47231: Fixed an issue with inconsistent trailing slashes in tarfile longname directories.\n\nbpo-46755: In QueueHandler, clear stack_info from LogRecord to prevent stack trace from being written twice.\n\nbpo-46053: Fix OSS audio support on NetBSD.\n\nbpo-46197: Fix ensurepip environment isolation for subprocess running pip.\n\nbpo-45924: Fix asyncio incorrect traceback when futureâ\x80\x99s exception is raised multiple times. Patch by Kumar Aditya.\n\nbpo-34828: sqlite3.Connection.iterdump() now handles databases that use AUTOINCREMENT in one or more tables.\nDocumentation\ngh-94321: Document the PEP 246 style protocol type sqlite3.PrepareProtocol.\ngh-86128: Document a limitation in ThreadPoolExecutor where its exit handler is executed before any handlers in atexit.\ngh-61162: Clarify sqlite3 behavior when Using the connection as a context manager.\ngh-87260: Align sqlite3 argument specs with the actual implementation.\ngh-86986: The minimum Sphinx version required to build the documentation is now 3.2.\ngh-88831: Augmented documentation of asyncio.create_task(). Clarified the need to keep strong references to tasks and added a code snippet detailing how to to this.\nbpo-47161: Document that pathlib.PurePath does not collapse initial double slashes because they denote UNC paths.\nTests\ngh-95280: Fix problem with test_ssl test_get_ciphers on systems that require perfect forward secrecy (PFS) ciphers.\n\ngh-95212: Make multiprocessing test case test_shared_memory_recreate parallel-safe.\n\ngh-91330: Added more tests for dataclasses to cover behavior with data descriptor-based fields.\n\n# Write your Misc/NEWS entry below. It should be a simple ReST paragraph. # Donâ\x80\x99t start with â\x80\x9C- Issue #: â\x80\x9D or â\x80\x9C- gh-issue-: â\x80\x9D or that sort of stuff. ###########################################################################\n\ngh-94208: test_ssl is now checking for supported TLS version and protocols in more tests.\n\ngh-93951: In test_bdb.StateTestCase.test_skip, avoid including auxiliary importers.\n\ngh-93957: Provide nicer error reporting from subprocesses in test_venv.EnsurePipTest.test_with_pip.\n\ngh-57539: Increase calendar test coverage for calendar.LocaleTextCalendar.formatweekday().\n\ngh-92886: Fixing tests that fail when running with optimizations (-O) in test_zipimport.py\n\nbpo-47016: Create a GitHub Actions workflow for verifying bundled pip and setuptools. Patch by Illia Volochii and Adam Turner.\nBuild\ngh-94841: Fix the possible performance regression of PyObject_Free() compiled with MSVC version 1932.\nbpo-45816: Python now supports building with Visual Studio 2022 (MSVC v143, VS Version 17.0). Patch by Jeremiah Vivian.\nWindows\ngh-90844: Allow virtual environments to correctly launch when they have spaces in the path.\ngh-92841: asyncio no longer throws RuntimeError: Event loop is closed on interpreter exit after asynchronous socket activity. Patch by Oleg Iarygin.\nbpo-42658: Support native Windows case-insensitive path comparisons by using LCMapStringEx instead of str.lower() in ntpath.normcase(). Add LCMapStringEx to the _winapi module.\nIDLE\ngh-95511: Fix the Shell context menu copy-with-prompts bug of copying an extra line when one selects whole lines.\ngh-95471: In the Edit menu, move Select All and add a new separator.\ngh-95411: Enable using IDLEâ\x80\x99s module browser with .pyw files.\ngh-89610: Add .pyi as a recognized extension for IDLE on macOS. This allows opening stub files by double clicking on them in the Finder.\nTools/Demos\ngh-94538: Fix Argument Clinic output to custom file destinations. Patch by Erlend E. Aasland.\ngh-94430: Allow parameters named module and self with custom C names in Argument Clinic. Patch by Erlend E. Aasland\nC API\ngh-94930: Fix SystemError raised when PyArg_ParseTupleAndKeywords() is used with # in (...) but without PY_SSIZE_T_CLEAN defined.\ngh-94864: Fix PyArg_Parse* with deprecated format units â\x80\x9Cuâ\x80\x9D and â\x80\x9CZâ\x80\x9D. It returned 1 (success) when warnings are turned into exceptions.\n" module: pkgsrc subject: 'CVS commit: pkgsrc/lang' unixtime: '1659464842' user: adam