diff --git a/Misc/NEWS.d/3.14.0a1.rst b/Misc/NEWS.d/3.14.0a1.rst index 2f76cbe0a037f4..5303bd89efff5b 100644 --- a/Misc/NEWS.d/3.14.0a1.rst +++ b/Misc/NEWS.d/3.14.0a1.rst @@ -4016,7 +4016,7 @@ Make ``this_instr`` and ``prev_instr`` const in cases generator. .. date: 2024-10-05-23-53-06 .. gh-issue: 125008 .. nonce: ETANpd -.. section: Core and Builtins +.. section: Library Fix :func:`tokenize.untokenize` producing invalid syntax for double braces preceded by certain escape characters. @@ -4275,7 +4275,7 @@ devdanzin .. date: 2024-09-02-20-39-10 .. gh-issue: 123614 .. nonce: 26TMHp -.. section: Core and Builtins +.. section: Library Add :func:`turtle.save` to easily save Turtle drawings as PostScript files. Patch by Marie Roald and Yngve Mardal Moe. @@ -4761,7 +4761,7 @@ enabled (yet). .. date: 2024-07-18-21-19-04 .. gh-issue: 121999 .. nonce: 8IBbTK -.. section: Core and Builtins +.. section: Library The default extraction filter for the :mod:`tarfile` module is now set to :func:`'data' `. @@ -4955,7 +4955,7 @@ Galindo .. date: 2024-06-28-23-17-22 .. gh-issue: 121381 .. nonce: i2xL7P -.. section: Core and Builtins +.. section: Library Remove ``subprocess._USE_VFORK`` escape hatch code and documentation. It was added just in case, and doesn't have any known cases that require it. @@ -5115,7 +5115,7 @@ and identities of :class:`str` objects. .. date: 2024-06-14-07-52-00 .. gh-issue: 120485 .. nonce: yy4K4b -.. section: Core and Builtins +.. section: Library Add an override of ``allow_reuse_port`` on classes subclassing ``socketserver.TCPServer`` where ``allow_reuse_address`` is also overridden. @@ -5147,7 +5147,7 @@ after exception handlers are moved to the end of the code. .. date: 2024-06-12-18-23-15 .. gh-issue: 120380 .. nonce: edtqjq -.. section: Core and Builtins +.. section: Library Fix Python implementation of :class:`pickle.Pickler` for :class:`bytes` and :class:`bytearray` objects when using protocol version 5. Patch by Bénédikt @@ -5625,7 +5625,7 @@ in the future. .. date: 2024-04-27-18-36-46 .. gh-issue: 115801 .. nonce: SVeHSy -.. section: Core and Builtins +.. section: Library Raise ``TypeError`` when passing a string to :func:`difflib.unified_diff` and :func:`difflib.context_diff`. diff --git a/Misc/NEWS.d/3.14.0a2.rst b/Misc/NEWS.d/3.14.0a2.rst index 4a64bcc75206f0..2fd86dbe72a29d 100644 --- a/Misc/NEWS.d/3.14.0a2.rst +++ b/Misc/NEWS.d/3.14.0a2.rst @@ -1253,7 +1253,7 @@ including SerenityOS. .. date: 2024-11-09-16-10-22 .. gh-issue: 126066 .. nonce: 9zs4m4 -.. section: Core and Builtins +.. section: Library Fix :mod:`importlib` to not write an incomplete .pyc files when a ulimit or some other operating system mechanism is preventing the write to go through @@ -1285,7 +1285,7 @@ its ``__iter__``. .. date: 2024-11-02-18-01-31 .. gh-issue: 126209 .. nonce: 2ZIhrS -.. section: Core and Builtins +.. section: Library Fix an issue with ``skip_file_prefixes`` parameter which resulted in an inconsistent behaviour between the C and Python implementations of @@ -1567,7 +1567,7 @@ Wannes Boeykens. .. date: 2024-05-12-03-10-36 .. gh-issue: 118950 .. nonce: 5Wc4vp -.. section: Core and Builtins +.. section: Library Fix bug where SSLProtocol.connection_lost wasn't getting called when OSError was thrown on writing to socket. @@ -1577,7 +1577,7 @@ was thrown on writing to socket. .. date: 2023-12-30-00-21-45 .. gh-issue: 113570 .. nonce: _XQgsW -.. section: Core and Builtins +.. section: Library Fixed a bug in ``reprlib.repr`` where it incorrectly called the repr method on shadowed Python built-in types. diff --git a/Misc/NEWS.d/3.14.0a3.rst b/Misc/NEWS.d/3.14.0a3.rst index 8393be8909ff8f..b4264335a2d8c3 100644 --- a/Misc/NEWS.d/3.14.0a3.rst +++ b/Misc/NEWS.d/3.14.0a3.rst @@ -820,7 +820,7 @@ Fix possible undefined behavior division by zero in :class:`complex`'s .. date: 2024-11-23-04-54-42 .. gh-issue: 127133 .. nonce: WMoJjF -.. section: Core and Builtins +.. section: Library Calling :meth:`argparse.ArgumentParser.add_argument_group` on an argument group, and calling :meth:`argparse.ArgumentParser.add_argument_group` or diff --git a/Misc/NEWS.d/3.14.0a4.rst b/Misc/NEWS.d/3.14.0a4.rst index 176ba72da65e4b..94350556093433 100644 --- a/Misc/NEWS.d/3.14.0a4.rst +++ b/Misc/NEWS.d/3.14.0a4.rst @@ -548,7 +548,7 @@ atomic operation. Patch by Donghee Na. .. date: 2024-12-23-11-14-07 .. gh-issue: 128192 .. nonce: 02mEhD -.. section: Core and Builtins +.. section: Library Upgrade HTTP digest authentication algorithm for :mod:`urllib.request` by supporting SHA-256 digest authentication as specified in :rfc:`7616`. @@ -613,7 +613,7 @@ object when importing a non-existent symbol from a non-module object. .. date: 2024-12-17-18-20-37 .. gh-issue: 128035 .. nonce: JwqHdB -.. section: Core and Builtins +.. section: Library Indicate through :data:`ssl.HAS_PHA` whether the :mod:`ssl` module supports TLSv1.3 post-handshake client authentication (PHA). Patch by Will diff --git a/Misc/NEWS.d/3.14.0a5.rst b/Misc/NEWS.d/3.14.0a5.rst index a3548d0a7b0357..6242fce823c569 100644 --- a/Misc/NEWS.d/3.14.0a5.rst +++ b/Misc/NEWS.d/3.14.0a5.rst @@ -944,7 +944,7 @@ It is always ``'freebsd'``, instead of ``'freebsd13'`` or ``'freebsd14'``. .. date: 2025-01-28-06-23-59 .. gh-issue: 129345 .. nonce: uOjkML -.. section: Core and Builtins +.. section: Library Fix null pointer dereference in :func:`syslog.openlog` when an audit hook raises an exception. @@ -1197,7 +1197,7 @@ generator. Patch by Mikhail Efimov. .. date: 2024-11-03-06-05-16 .. gh-issue: 126349 .. nonce: 7YwWsI -.. section: Core and Builtins +.. section: Library Add :func:`turtle.fill`, :func:`turtle.poly` and :func:`turtle.no_animation` context managers. Patch by Marie Roald and Yngve Mardal Moe. @@ -1218,7 +1218,7 @@ Willmer. .. date: 2023-12-04-15-53-25 .. gh-issue: 112713 .. nonce: Zrhv77 -.. section: Core and Builtins +.. section: Library Added support for the ``Partitioned`` cookie flag in :mod:`http.cookies`. diff --git a/Misc/NEWS.d/3.14.0a6.rst b/Misc/NEWS.d/3.14.0a6.rst index 9064402bcf71f6..e5066f86e2d794 100644 --- a/Misc/NEWS.d/3.14.0a6.rst +++ b/Misc/NEWS.d/3.14.0a6.rst @@ -1187,7 +1187,7 @@ Improve the experimental JIT's handling of returns to unknown callers. .. date: 2025-02-11-20-38-37 .. gh-issue: 129983 .. nonce: _1Fujo -.. section: Core and Builtins +.. section: Library Fix data race in compile_template in :file:`sre.c`. @@ -1335,7 +1335,7 @@ interpreter state. .. date: 2022-12-21-14-28-01 .. gh-issue: 100388 .. nonce: vne8ky -.. section: Core and Builtins +.. section: Library Fix the ``platform._sys_version()`` method when ``__DATE__`` is undefined at buildtime by changing default buildtime datetime string to the UNIX epoch. diff --git a/Misc/NEWS.d/3.14.0a7.rst b/Misc/NEWS.d/3.14.0a7.rst index 946ca27046a745..752d8be8dc8f44 100644 --- a/Misc/NEWS.d/3.14.0a7.rst +++ b/Misc/NEWS.d/3.14.0a7.rst @@ -880,7 +880,7 @@ Fix an issue with thread identifiers being sign-extended on some platforms. .. date: 2025-02-15-14-36-32 .. gh-issue: 99108 .. nonce: u6CfmK -.. section: Core and Builtins +.. section: Library Add support for built-in implementation of HMAC (:rfc:`2104`) based on HACL*. Patch by Bénédikt Tran. diff --git a/Misc/NEWS.d/3.14.0b1.rst b/Misc/NEWS.d/3.14.0b1.rst index df61f04d9be71e..045c47ce5addc4 100644 --- a/Misc/NEWS.d/3.14.0b1.rst +++ b/Misc/NEWS.d/3.14.0b1.rst @@ -1325,7 +1325,7 @@ Add new utilities of observing JIT compilation: .. date: 2025-04-30-13-09-20 .. gh-issue: 133194 .. nonce: 25_G5c -.. section: Core and Builtins +.. section: Library :func:`ast.parse` will no longer parse new :pep:`758` syntax with older *feature_version* passed. @@ -1498,7 +1498,7 @@ helpful fix suggestion for the typo. Contributed by Pablo Galindo Salgado. .. date: 2025-04-19-18-07-34 .. gh-issue: 132737 .. nonce: 9mW1il -.. section: Core and Builtins +.. section: Library Support profiling code that requires ``__main__``, such as :mod:`pickle`. @@ -1891,7 +1891,7 @@ Steven Sun) .. date: 2022-12-29-19-10-36 .. gh-issue: 89562 .. nonce: g8m8RC -.. section: Core and Builtins +.. section: Library Remove ``hostflags`` member from ``PySSLContext`` struct. diff --git a/Misc/NEWS.d/3.15.0a1.rst b/Misc/NEWS.d/3.15.0a1.rst index 273731f2535f70..f6c78879890fad 100644 --- a/Misc/NEWS.d/3.15.0a1.rst +++ b/Misc/NEWS.d/3.15.0a1.rst @@ -4367,7 +4367,7 @@ Stinner. .. date: 2025-09-21-14-33-17 .. gh-issue: 116738 .. nonce: vNaI4h -.. section: Core and Builtins +.. section: Library Make :mod:`mmap` thread-safe on the :term:`free threaded ` build. @@ -4480,7 +4480,7 @@ pass .. date: 2025-09-02-22-17-55 .. gh-issue: 138401 .. nonce: uTRvue -.. section: Core and Builtins +.. section: Library Add missing validation of argument ``count`` in :func:`os.sendfile` to be non-negative. @@ -4552,7 +4552,7 @@ auto-completion of imports. .. date: 2025-08-28-09-29-46 .. gh-issue: 116738 .. nonce: yLZJpV -.. section: Core and Builtins +.. section: Library Make :mod:`!cProfile` thread-safe on the :term:`free threaded ` build. @@ -4593,7 +4593,7 @@ shutdown. Patch by Kumar Aditya. .. date: 2025-08-21-06-31-42 .. gh-issue: 138004 .. nonce: FH2Hre -.. section: Core and Builtins +.. section: Library On Solaris/Illumos platforms, thread names are now encoded as ASCII to avoid errors on systems (e.g. OpenIndiana) that don't support non-ASCII names. @@ -4603,7 +4603,7 @@ errors on systems (e.g. OpenIndiana) that don't support non-ASCII names. .. date: 2025-08-21-01-46-39 .. gh-issue: 137976 .. nonce: p4sb4x -.. section: Core and Builtins +.. section: Library Removed ``localtime`` from the list of reported system timezones. @@ -4920,7 +4920,7 @@ time. Patch by Serhiy Storchaka, Oleg Iarygin, and Yoav Nir .. date: 2025-07-18-08-43-35 .. gh-issue: 116738 .. nonce: i0HWtP -.. section: Core and Builtins +.. section: Library Make functions in :mod:`syslog` thread-safe on the :term:`free threaded ` build. @@ -4930,7 +4930,7 @@ Make functions in :mod:`syslog` thread-safe on the :term:`free threaded .. date: 2025-07-15-10-03-57 .. gh-issue: 116738 .. nonce: oFttKl -.. section: Core and Builtins +.. section: Library Make functions in :mod:`pwd` thread-safe on the :term:`free threaded ` build. @@ -4959,7 +4959,7 @@ Improve performance of :class:`int` hash calculations. .. date: 2025-07-12-09-59-14 .. gh-issue: 136421 .. nonce: ZD1rNj -.. section: Core and Builtins +.. section: Library Fix crash when initializing :mod:`datetime` concurrently. @@ -4979,7 +4979,7 @@ lead to the perf integration not working correctly. Patch by Pablo Galindo. .. date: 2025-07-11-12-29-09 .. gh-issue: 107545 .. nonce: ipfl7U -.. section: Core and Builtins +.. section: Library Improve the error messages that may be raised by :meth:`~socket.socket.setsockopt`. @@ -5285,7 +5285,7 @@ Fix regression in :exc:`SyntaxError` messages after :gh:`134036`. .. date: 2025-06-12-00-03-34 .. gh-issue: 116738 .. nonce: iBBAdo -.. section: Core and Builtins +.. section: Library Make functions in :mod:`grp` thread-safe on the :term:`free threaded ` build. @@ -5295,7 +5295,7 @@ threading>` build. .. date: 2025-06-11-15-08-10 .. gh-issue: 127319 .. nonce: OVGFSZ -.. section: Core and Builtins +.. section: Library Set the ``allow_reuse_port`` class variable to ``False`` on the XMLRPC, logging, and HTTP servers. This matches the behavior in prior Python @@ -5384,7 +5384,7 @@ in JIT-compiled code. .. date: 2025-06-02-13-57-40 .. gh-issue: 116738 .. nonce: ycJsL8 -.. section: Core and Builtins +.. section: Library Make methods in :mod:`heapq` thread-safe on the :term:`free threaded ` build. @@ -5424,7 +5424,7 @@ optimizing ``LOAD_FAST``. .. date: 2025-05-30-15-56-19 .. gh-issue: 134908 .. nonce: 3a7PxM -.. section: Core and Builtins +.. section: Library Fix crash when iterating over lines in a text file on the :term:`free threaded ` build. @@ -5512,7 +5512,7 @@ Optimize ``_POP_CALL_TWO_LOAD_CONST_INLINE_BORROW``. .. date: 2025-05-22-14-48-19 .. gh-issue: 134381 .. nonce: 2BXhth -.. section: Core and Builtins +.. section: Library Fix :exc:`RuntimeError` when using a not-started :class:`threading.Thread` after calling :func:`os.fork` @@ -5823,7 +5823,7 @@ Update :attr:`Thread.native_id ` after .. date: 2025-04-19-16-22-47 .. gh-issue: 132732 .. nonce: jgqhlF -.. section: Core and Builtins +.. section: Library Automatically constant evaluate bytecode operations marked as pure in the JIT optimizer. @@ -5894,7 +5894,7 @@ Fix a crash when using threads inside of a subinterpreter. .. date: 2024-06-04-20-26-21 .. gh-issue: 116738 .. nonce: q_hPYq -.. section: Core and Builtins +.. section: Library Make the module :mod:`json` safe to use under the free-threading build. diff --git a/Misc/NEWS.d/3.15.0a2.rst b/Misc/NEWS.d/3.15.0a2.rst index 4e3a62b0f4a7d2..8c3897fd7dd5d7 100644 --- a/Misc/NEWS.d/3.15.0a2.rst +++ b/Misc/NEWS.d/3.15.0a2.rst @@ -1093,7 +1093,7 @@ calls to native code. .. date: 2025-11-04-12-18-06 .. gh-issue: 140942 .. nonce: GYns6n -.. section: Core and Builtins +.. section: Library Add ``.cjs`` to :mod:`mimetypes` to give CommonJS modules a MIME type of ``application/node``. @@ -1122,7 +1122,7 @@ the ``%*b`` format with a large width that results in a :exc:`MemoryError`. .. date: 2025-11-02-15-28-33 .. gh-issue: 140260 .. nonce: JNzlGz -.. section: Core and Builtins +.. section: Library Fix :mod:`struct` data race in endian table initialization with subinterpreters. Patch by Shamil Abdulaev. @@ -1142,7 +1142,7 @@ Tran. .. date: 2025-10-31-14-03-42 .. gh-issue: 90344 .. nonce: gvZigO -.. section: Core and Builtins +.. section: Library Replace :class:`io.IncrementalNewlineDecoder` with non incremental newline decoders in codebase where :meth:`!io.IncrementalNewlineDecoder.decode` was @@ -1246,7 +1246,7 @@ encountering malformed :attr:`~ast.AST._fields` containing non-:class:`str`. .. date: 2025-10-22-23-26-37 .. gh-issue: 140443 .. nonce: wT5i1A -.. section: Core and Builtins +.. section: Library The logarithm functions (such as :func:`math.log10` and :func:`math.log`) may now produce slightly different results for extremely large integers that @@ -1291,7 +1291,7 @@ Specifically, 19 bit branches for AArch64 in Mach-O object files. .. date: 2025-10-21-09-20-03 .. gh-issue: 140398 .. nonce: SoABwJ -.. section: Core and Builtins +.. section: Library Fix memory leaks in :mod:`readline` functions :func:`~readline.read_init_file`, :func:`~readline.read_history_file`, diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2025-11-10-00-14-20.gh-issue-116738.IxliC_.rst b/Misc/NEWS.d/next/Library/2025-11-10-00-14-20.gh-issue-116738.IxliC_.rst similarity index 100% rename from Misc/NEWS.d/next/Core_and_Builtins/2025-11-10-00-14-20.gh-issue-116738.IxliC_.rst rename to Misc/NEWS.d/next/Library/2025-11-10-00-14-20.gh-issue-116738.IxliC_.rst diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2025-11-25-13-13-34.gh-issue-116738.MnZRdV.rst b/Misc/NEWS.d/next/Library/2025-11-25-13-13-34.gh-issue-116738.MnZRdV.rst similarity index 100% rename from Misc/NEWS.d/next/Core_and_Builtins/2025-11-25-13-13-34.gh-issue-116738.MnZRdV.rst rename to Misc/NEWS.d/next/Library/2025-11-25-13-13-34.gh-issue-116738.MnZRdV.rst diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2025-12-01-10-03-08.gh-issue-116738.972YsG.rst b/Misc/NEWS.d/next/Library/2025-12-01-10-03-08.gh-issue-116738.972YsG.rst similarity index 100% rename from Misc/NEWS.d/next/Core_and_Builtins/2025-12-01-10-03-08.gh-issue-116738.972YsG.rst rename to Misc/NEWS.d/next/Library/2025-12-01-10-03-08.gh-issue-116738.972YsG.rst diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2025-12-05-18-26-50.gh-issue-142282.g6RQUN.rst b/Misc/NEWS.d/next/Library/2025-12-05-18-26-50.gh-issue-142282.g6RQUN.rst similarity index 100% rename from Misc/NEWS.d/next/Core_and_Builtins/2025-12-05-18-26-50.gh-issue-142282.g6RQUN.rst rename to Misc/NEWS.d/next/Library/2025-12-05-18-26-50.gh-issue-142282.g6RQUN.rst