From ee9bb168c5743bd762a6cabe37301a2a3068a454 Mon Sep 17 00:00:00 2001 From: Aniket Singh Yadav Date: Sun, 4 Jan 2026 11:00:31 +0530 Subject: [PATCH 1/6] Move misplaced NEWS entries to an appropriate section --- Misc/NEWS.d/3.10.0a1.rst | 50 ++++++++++++++++++++-------------------- Misc/NEWS.d/3.10.0a2.rst | 4 ++-- Misc/NEWS.d/3.10.0a3.rst | 6 ++--- Misc/NEWS.d/3.10.0a4.rst | 14 +++++------ Misc/NEWS.d/3.10.0a5.rst | 8 +++---- Misc/NEWS.d/3.10.0a6.rst | 4 ++-- Misc/NEWS.d/3.10.0a7.rst | 10 ++++---- Misc/NEWS.d/3.10.0b1.rst | 8 +++---- Misc/NEWS.d/3.11.0a1.rst | 22 +++++++++--------- Misc/NEWS.d/3.11.0a3.rst | 4 ++-- Misc/NEWS.d/3.11.0a4.rst | 8 +++---- Misc/NEWS.d/3.11.0a5.rst | 12 +++++----- Misc/NEWS.d/3.11.0a6.rst | 8 +++---- Misc/NEWS.d/3.11.0a7.rst | 4 ++-- Misc/NEWS.d/3.11.0b1.rst | 8 +++---- 15 files changed, 85 insertions(+), 85 deletions(-) diff --git a/Misc/NEWS.d/3.10.0a1.rst b/Misc/NEWS.d/3.10.0a1.rst index f09842f1e77dea..317fa15a3cfec3 100644 --- a/Misc/NEWS.d/3.10.0a1.rst +++ b/Misc/NEWS.d/3.10.0a1.rst @@ -95,7 +95,7 @@ convention. Patch by Donghee Na. .. bpo: 1635741 .. date: 2020-09-26-14-43-30 .. nonce: aJS9B3 -.. section: Core and Builtins +.. section: Library Port the :mod:`!_bisect` module to the multi-phase initialization API (:pep:`489`). @@ -126,7 +126,7 @@ Taskaya. .. bpo: 1635741 .. date: 2020-09-12-18-34-34 .. nonce: lh335O -.. section: Core and Builtins +.. section: Library Port the :mod:`!_lsprof` extension module to multi-phase initialization (:pep:`489`). @@ -136,7 +136,7 @@ Port the :mod:`!_lsprof` extension module to multi-phase initialization .. bpo: 1635741 .. date: 2020-09-08-21-58-47 .. nonce: vdjSLH -.. section: Core and Builtins +.. section: Library Port the :mod:`cmath` extension module to multi-phase initialization (:pep:`489`). @@ -146,7 +146,7 @@ Port the :mod:`cmath` extension module to multi-phase initialization .. bpo: 1635741 .. date: 2020-09-08-20-39-43 .. nonce: jiXmyT -.. section: Core and Builtins +.. section: Library Port the :mod:`!_scproxy` extension module to multi-phase initialization (:pep:`489`). @@ -156,7 +156,7 @@ Port the :mod:`!_scproxy` extension module to multi-phase initialization .. bpo: 1635741 .. date: 2020-09-07-11-35-02 .. nonce: rvIexb -.. section: Core and Builtins +.. section: Library Port the :mod:`termios` extension module to multi-phase initialization (:pep:`489`). @@ -166,7 +166,7 @@ Port the :mod:`termios` extension module to multi-phase initialization .. bpo: 1635741 .. date: 2020-09-07-09-45-47 .. nonce: QuDIut -.. section: Core and Builtins +.. section: Library Convert the :mod:`!_sha256` extension module types to heap types. @@ -185,7 +185,7 @@ classes with a huge amount of arguments. Patch by Pablo Galindo. .. bpo: 1635741 .. date: 2020-09-01-17-22-35 .. nonce: CnRME3 -.. section: Core and Builtins +.. section: Library Port the :mod:`!_overlapped` extension module to multi-phase initialization (:pep:`489`). @@ -195,7 +195,7 @@ Port the :mod:`!_overlapped` extension module to multi-phase initialization .. bpo: 1635741 .. date: 2020-09-01-17-08-07 .. nonce: X9CZgo -.. section: Core and Builtins +.. section: Library Port the :mod:`!_curses_panel` extension module to multi-phase initialization (:pep:`489`). @@ -205,7 +205,7 @@ Port the :mod:`!_curses_panel` extension module to multi-phase initialization .. bpo: 1635741 .. date: 2020-09-01-17-06-02 .. nonce: 5jZymK -.. section: Core and Builtins +.. section: Library Port the :mod:`!_opcode` extension module to multi-phase initialization (:pep:`489`). @@ -225,7 +225,7 @@ format string in f-string and :meth:`str.format`. .. bpo: 41675 .. date: 2020-08-31-14-53-17 .. nonce: VSoqWU -.. section: Core and Builtins +.. section: Library The implementation of :func:`signal.siginterrupt` now uses :c:func:`!sigaction` (if it is available in the system) instead of the @@ -257,7 +257,7 @@ Fix a crash that occurred when destroying subclasses of .. bpo: 1635741 .. date: 2020-08-28-20-54-04 .. nonce: 7ijlcI -.. section: Core and Builtins +.. section: Library Port the :mod:`zlib` extension module to multi-phase initialization (:pep:`489`). @@ -267,7 +267,7 @@ Port the :mod:`zlib` extension module to multi-phase initialization .. bpo: 41631 .. date: 2020-08-26-11-23-31 .. nonce: 3jZcd9 -.. section: Core and Builtins +.. section: Library The ``_ast`` module uses again a global state. Using a module state per module instance is causing subtle practical problems. For example, the @@ -280,7 +280,7 @@ initialized ``_ast`` module. .. bpo: 40077 .. date: 2020-08-25-22-43-33 .. nonce: vcxSUa -.. section: Core and Builtins +.. section: Library Convert :mod:`!_operator` to use :c:func:`PyType_FromSpec`. @@ -298,7 +298,7 @@ Port :mod:`!_sha3` to multi-phase init. Convert static types to heap types. .. bpo: 1635741 .. date: 2020-08-13-07-18-05 .. nonce: FC13e7 -.. section: Core and Builtins +.. section: Library Port the :mod:`!_blake2` extension module to the multi-phase initialization API (:pep:`489`). @@ -337,7 +337,7 @@ The output of ``python --help`` contains now only ASCII characters. .. bpo: 1635741 .. date: 2020-08-10-16-11-32 .. nonce: O0d3ym -.. section: Core and Builtins +.. section: Library Port the :mod:`!_sha1`, :mod:`!_sha512`, and :mod:`!_md5` extension modules to multi-phase initialization API (:pep:`489`). @@ -454,7 +454,7 @@ Port :mod:`multiprocessing` to multi-phase initialization .. bpo: 1635741 .. date: 2020-07-06-20-43-19 .. nonce: LYhsni -.. section: Core and Builtins +.. section: Library Port :mod:`winapi` to multiphase initialization @@ -486,7 +486,7 @@ will tagged as so. .. bpo: 1635741 .. date: 2020-07-03-23-10-02 .. nonce: F5coWe -.. section: Core and Builtins +.. section: Library Port :mod:`faulthandler` to multiphase initialization. @@ -495,7 +495,7 @@ Port :mod:`faulthandler` to multiphase initialization. .. bpo: 1635741 .. date: 2020-07-01-20-17-38 .. nonce: -AtPYu -.. section: Core and Builtins +.. section: Library Port :mod:`sha256` to multiphase initialization @@ -634,7 +634,7 @@ Remove the remaining files from the old parser and the :mod:`symbol` module. .. bpo: 40077 .. date: 2020-06-18-19-04-30 .. nonce: _yI-ax -.. section: Core and Builtins +.. section: Library Convert :mod:`!_bz2` to use :c:func:`PyType_FromSpec`. @@ -643,7 +643,7 @@ Convert :mod:`!_bz2` to use :c:func:`PyType_FromSpec`. .. bpo: 41006 .. date: 2020-06-18-00-07-09 .. nonce: H-wN-d -.. section: Core and Builtins +.. section: Library The ``encodings.latin_1`` module is no longer imported at startup. Now it is only imported when it is the filesystem encoding or the stdio encoding. @@ -653,7 +653,7 @@ only imported when it is the filesystem encoding or the stdio encoding. .. bpo: 40636 .. date: 2020-06-17-10-27-17 .. nonce: MYaCIe -.. section: Core and Builtins +.. section: Library :func:`zip` now supports :pep:`618`'s ``strict`` parameter, which raises a :exc:`ValueError` if the arguments are exhausted at different lengths. Patch @@ -712,7 +712,7 @@ Fix refleak in _Py_fopen_obj() when PySys_Audit() fails .. bpo: 40950 .. date: 2020-06-12-00-12-28 .. nonce: tzMy7m -.. section: Core and Builtins +.. section: Library Add a state to the :mod:`!nis` module (:pep:`3121`) and apply the multiphase initialization. Patch by Donghee Na. @@ -999,7 +999,7 @@ Improve performance of generators by not raising internal StopIteration. .. bpo: 1635741 .. date: 2020-04-10-23-54-57 .. nonce: ZURqoN -.. section: Core and Builtins +.. section: Library Port :mod:`mmap` to multiphase initialization. @@ -1008,7 +1008,7 @@ Port :mod:`mmap` to multiphase initialization. .. bpo: 1635741 .. date: 2020-04-05-02-35-08 .. nonce: Kfe9fT -.. section: Core and Builtins +.. section: Library Port :mod:`!_lzma` to multiphase initialization. @@ -1040,7 +1040,7 @@ representation of an integer. Patch by Niklas Fiekas. .. bpo: 36982 .. date: 2019-05-25-05-27-39 .. nonce: 0UHgfB -.. section: Core and Builtins +.. section: Library Use ncurses extended color functions when available to support terminals with 256 colors, and add the new function diff --git a/Misc/NEWS.d/3.10.0a2.rst b/Misc/NEWS.d/3.10.0a2.rst index 3e82de9ef266d6..80bb35079b1a5d 100644 --- a/Misc/NEWS.d/3.10.0a2.rst +++ b/Misc/NEWS.d/3.10.0a2.rst @@ -65,7 +65,7 @@ parser. .. bpo: 41796 .. date: 2020-10-29-12-49-08 .. nonce: tkGdHq -.. section: Core and Builtins +.. section: Library The :mod:`ast` module internal state is now per interpreter. Patch by Victor Stinner. @@ -212,7 +212,7 @@ Micro optimization for range.index if step is 1. Patch by Donghee Na. .. bpo: 41435 .. date: 2020-08-07-13-42-48 .. nonce: qPWjJA -.. section: Core and Builtins +.. section: Library Add ``sys._current_exceptions()`` function to retrieve a dictionary mapping each thread's identifier to the topmost exception currently active in that diff --git a/Misc/NEWS.d/3.10.0a3.rst b/Misc/NEWS.d/3.10.0a3.rst index 6cf3db3eb43c8b..ec02216849766f 100644 --- a/Misc/NEWS.d/3.10.0a3.rst +++ b/Misc/NEWS.d/3.10.0a3.rst @@ -89,7 +89,7 @@ non-buffer object. .. bpo: 1635741 .. date: 2020-11-18-23-46-31 .. nonce: GVOQ-m -.. section: Core and Builtins +.. section: Library Port the ``_warnings`` extension module to the multi-phase initialization API (:pep:`489`). Patch by Victor Stinner. @@ -204,7 +204,7 @@ Pablo Galindo. .. bpo: 40077 .. date: 2020-11-03-21-58-27 .. nonce: a9qM1j -.. section: Core and Builtins +.. section: Library Convert :mod:`queue` to use heap types. @@ -223,7 +223,7 @@ objects. See PEP 626 for details. .. bpo: 40077 .. date: 2020-11-02-14-39-48 .. nonce: grY9TG -.. section: Core and Builtins +.. section: Library Convert :mod:`mmap` to use heap types. diff --git a/Misc/NEWS.d/3.10.0a4.rst b/Misc/NEWS.d/3.10.0a4.rst index 19f0db9a6be5e9..10d450482182e5 100644 --- a/Misc/NEWS.d/3.10.0a4.rst +++ b/Misc/NEWS.d/3.10.0a4.rst @@ -11,7 +11,7 @@ Fix undefined behavior in ``Objects/genericaliasobject.c``. .. bpo: 42806 .. date: 2021-01-03-00-20-38 .. nonce: mLAobJ -.. section: Core and Builtins +.. section: Library Fix the column offsets for f-strings :mod:`ast` nodes surrounded by parentheses and for nodes that spawn multiple lines. Patch by Pablo Galindo. @@ -102,7 +102,7 @@ blocks .. bpo: 42639 .. date: 2020-12-09-01-55-10 .. nonce: 5pI5HG -.. section: Core and Builtins +.. section: Library Make the :mod:`atexit` module state per-interpreter. It is now safe have more than one :mod:`atexit` module instance. Patch by Donghee Na and Victor @@ -124,7 +124,7 @@ the filename. .. bpo: 42195 .. date: 2020-11-20-00-57-47 .. nonce: HeqcpS -.. section: Core and Builtins +.. section: Library The ``__args__`` of the parameterized generics for :data:`typing.Callable` and :class:`collections.abc.Callable` are now consistent. The ``__args__`` @@ -143,7 +143,7 @@ Ken Jin. .. bpo: 40137 .. date: 2020-11-19-23-12-57 .. nonce: bihl9O -.. section: Core and Builtins +.. section: Library Convert functools module to use :c:func:`PyType_FromModuleAndSpec`. @@ -152,7 +152,7 @@ Convert functools module to use :c:func:`PyType_FromModuleAndSpec`. .. bpo: 40077 .. date: 2020-11-03-13-46-10 .. nonce: NfAIdj -.. section: Core and Builtins +.. section: Library Convert :mod:`array` to use heap types, and establish module state for these. @@ -162,7 +162,7 @@ these. .. bpo: 42008 .. date: 2020-10-12-14-51-59 .. nonce: ijWw2I -.. section: Core and Builtins +.. section: Library Fix _random.Random() seeding. @@ -171,7 +171,7 @@ Fix _random.Random() seeding. .. bpo: 1635741 .. date: 2020-09-12-19-21-52 .. nonce: F2kDrU -.. section: Core and Builtins +.. section: Library Port the :mod:`pyexpat` extension module to multi-phase initialization (:pep:`489`). diff --git a/Misc/NEWS.d/3.10.0a5.rst b/Misc/NEWS.d/3.10.0a5.rst index a85ea1ff1c2817..c5cee14d1e1a3e 100644 --- a/Misc/NEWS.d/3.10.0a5.rst +++ b/Misc/NEWS.d/3.10.0a5.rst @@ -95,7 +95,7 @@ by Pablo Galindo. .. bpo: 42924 .. date: 2021-01-13-14-06-01 .. nonce: _WS1Ok -.. section: Core and Builtins +.. section: Library Fix ``bytearray`` repetition incorrectly copying data from the start of the buffer, even if the data is offset within the buffer (e.g. after reassigning @@ -136,7 +136,7 @@ frame.f_lineno is correct even if frame.f_trace is set to True .. bpo: 37324 .. date: 2020-12-12-20-09-12 .. nonce: jB-9_U -.. section: Core and Builtins +.. section: Library Remove deprecated aliases to :ref:`collections-abstract-base-classes` from the :mod:`collections` module. @@ -146,7 +146,7 @@ the :mod:`collections` module. .. bpo: 41994 .. date: 2020-10-10-14-16-03 .. nonce: Xop8sV -.. section: Core and Builtins +.. section: Library Fixed possible leak in ``import`` when ``sys.modules`` is not a ``dict``. @@ -155,7 +155,7 @@ Fixed possible leak in ``import`` when ``sys.modules`` is not a ``dict``. .. bpo: 27772 .. date: 2018-12-20-23-59-23 .. nonce: idHEcj -.. section: Core and Builtins +.. section: Library In string formatting, preceding the *width* field by ``'0'`` no longer affects the default alignment for strings. diff --git a/Misc/NEWS.d/3.10.0a6.rst b/Misc/NEWS.d/3.10.0a6.rst index 31b7df2c61158e..ec5b868708ba0b 100644 --- a/Misc/NEWS.d/3.10.0a6.rst +++ b/Misc/NEWS.d/3.10.0a6.rst @@ -88,7 +88,7 @@ Patch by Pablo Galindo. .. bpo: 42819 .. date: 2021-01-04-23-54-34 .. nonce: 4KO6wU -.. section: Core and Builtins +.. section: Library :mod:`readline`: Explicitly disable bracketed paste in the interactive interpreter, even if it's set in the inputrc, is enabled by default (eg GNU @@ -144,7 +144,7 @@ Implement :pep:`634` (structural pattern matching). Patch by Brandt Bucher. .. bpo: 40692 .. date: 2020-05-19-22-10-05 .. nonce: ajEhrR -.. section: Core and Builtins +.. section: Library In the :class:`concurrent.futures.ProcessPoolExecutor`, validate that :func:`multiprocess.synchronize` is available on a given platform and rely diff --git a/Misc/NEWS.d/3.10.0a7.rst b/Misc/NEWS.d/3.10.0a7.rst index d866e805fd3a7e..94c6e50e676533 100644 --- a/Misc/NEWS.d/3.10.0a7.rst +++ b/Misc/NEWS.d/3.10.0a7.rst @@ -50,7 +50,7 @@ Update CPython bytecode magic number. .. bpo: 43672 .. date: 2021-03-31-09-12-54 .. nonce: jTT5uG -.. section: Core and Builtins +.. section: Library Raise ImportWarning when calling find_loader(). @@ -81,7 +81,7 @@ instruction dispatch a bit. .. bpo: 40645 .. date: 2021-03-29-11-55-06 .. nonce: PhaT-B -.. section: Core and Builtins +.. section: Library Fix reference leak in the :mod:`!_hashopenssl` extension. Patch by Pablo Galindo. @@ -91,7 +91,7 @@ Galindo. .. bpo: 42134 .. date: 2021-03-26-17-30-19 .. nonce: G4Sjxg -.. section: Core and Builtins +.. section: Library Calls to find_module() by the import system now raise ImportWarning. @@ -120,7 +120,7 @@ convention. Patch by Donghee Na. .. bpo: 42137 .. date: 2021-03-20-19-54-47 .. nonce: A8aQvj -.. section: Core and Builtins +.. section: Library The import system now prefers using ``__spec__`` for ``ModuleType.__repr__`` over ``module_repr()``. @@ -150,7 +150,7 @@ continuation characters. Patch by Pablo Galindo. .. bpo: 43517 .. date: 2021-03-16-17-12-54 .. nonce: zAo6Ws -.. section: Core and Builtins +.. section: Library Fix misdetection of circular imports when using ``from pkg.mod import attr``, which caused false positives in non-trivial multi-threaded code. diff --git a/Misc/NEWS.d/3.10.0b1.rst b/Misc/NEWS.d/3.10.0b1.rst index 406a5d7853edc0..aa6f1f0841e3fa 100644 --- a/Misc/NEWS.d/3.10.0b1.rst +++ b/Misc/NEWS.d/3.10.0b1.rst @@ -202,7 +202,7 @@ line number tables more robust in some circumstances. .. bpo: 43908 .. date: 2021-04-26-21-20-41 .. nonce: 2L51nO -.. section: Core and Builtins +.. section: Library Make :mod:`re` types immutable. Patch by Erlend E. Aasland. @@ -211,7 +211,7 @@ Make :mod:`re` types immutable. Patch by Erlend E. Aasland. .. bpo: 43908 .. date: 2021-04-26-20-59-17 .. nonce: -COW4- -.. section: Core and Builtins +.. section: Library Make the :class:`array.array` type immutable. Patch by Erlend E. Aasland. @@ -370,7 +370,7 @@ Patch by Pablo Galindo. .. bpo: 43798 .. date: 2021-04-10-00-01-43 .. nonce: p_nJFM -.. section: Core and Builtins +.. section: Library :class:`ast.alias` nodes now include source location metadata attributes e.g. lineno, col_offset. @@ -442,7 +442,7 @@ coroutine. .. bpo: 43105 .. date: 2021-03-31-20-35-11 .. nonce: PBVmHm -.. section: Core and Builtins +.. section: Library Importlib now resolves relative paths when creating module spec objects from file locations. diff --git a/Misc/NEWS.d/3.11.0a1.rst b/Misc/NEWS.d/3.11.0a1.rst index 2c8e349d3c8bfb..e4d5659b64256f 100644 --- a/Misc/NEWS.d/3.11.0a1.rst +++ b/Misc/NEWS.d/3.11.0a1.rst @@ -127,7 +127,7 @@ default value of ``1`` for the ``length`` argument. .. bpo: 44219 .. date: 2021-09-09-10-32-33 .. nonce: WiYyjz -.. section: Core and Builtins +.. section: Library Release the GIL while performing ``isatty`` system calls on arbitrary file descriptors. In particular, this affects :func:`os.isatty`, @@ -149,7 +149,7 @@ Added fallback to extension modules with '.sl' suffix on HP-UX .. bpo: 45121 .. date: 2021-09-07-17-10-16 .. nonce: iG-Hsf -.. section: Core and Builtins +.. section: Library Fix issue where ``Protocol.__init__`` raises ``RecursionError`` when it's called directly or via ``super()``. Patch provided by Yurii Karabas. @@ -206,7 +206,7 @@ in the :mod:`__main__` module. .. bpo: 37330 .. date: 2021-09-02-01-28-01 .. nonce: QDjM_l -.. section: Core and Builtins +.. section: Library :func:`open`, :func:`io.open`, :func:`codecs.open` and :class:`fileinput.FileInput` no longer accept ``'U'`` ("universal newline") @@ -269,7 +269,7 @@ it's running out of the source tree). .. bpo: 45012 .. date: 2021-08-31-11-09-52 .. nonce: ueeOcx -.. section: Core and Builtins +.. section: Library In :mod:`posix`, release GIL during ``stat()``, ``lstat()``, and ``fstatat()`` syscalls made by :func:`os.DirEntry.stat`. Patch by Stanisław @@ -309,7 +309,7 @@ objects. Patch by Pablo Galindo. .. bpo: 44962 .. date: 2021-08-23-19-55-08 .. nonce: J00ftt -.. section: Core and Builtins +.. section: Library Fix a race in WeakKeyDictionary, WeakValueDictionary and WeakSet when two threads attempt to commit the last pending removal. This fixes @@ -379,7 +379,7 @@ new instructions: .. bpo: 44929 .. date: 2021-08-16-23-16-17 .. nonce: qpMEky -.. section: Core and Builtins +.. section: Library Fix some edge cases of ``enum.Flag`` string representation in the REPL. Patch by Pablo Galindo. @@ -728,7 +728,7 @@ Collapse union of equal types. E.g. the result of ``int | int`` is now .. bpo: 44611 .. date: 2021-07-16-01-01-11 .. nonce: LcfHN- -.. section: Core and Builtins +.. section: Library On Windows, :func:`os.urandom`: uses BCryptGenRandom API instead of CryptGenRandom API which is deprecated from Microsoft Windows API. Patch by @@ -840,7 +840,7 @@ from dynload_shlib.c. .. bpo: 44490 .. date: 2021-07-06-22-22-15 .. nonce: BJxPbZ -.. section: Core and Builtins +.. section: Library :mod:`typing` now searches for type parameters in ``types.Union`` objects. ``get_type_hints`` will also properly resolve annotations with nested @@ -875,7 +875,7 @@ Remove uses of :c:func:`PyObject_GC_Del` in error path when initializing .. bpo: 41486 .. date: 2021-07-04-17-41-47 .. nonce: DiM24a -.. section: Core and Builtins +.. section: Library Fix a memory consumption and copying performance regression in earlier 3.10 beta releases if someone used an output buffer larger than 4GiB with @@ -917,7 +917,7 @@ Add ``__parameters__`` attribute and ``__getitem__`` operator to .. bpo: 44523 .. date: 2021-06-29-11-49-29 .. nonce: 67-ZIP -.. section: Core and Builtins +.. section: Library Remove the pass-through for :func:`hash` of :class:`weakref.proxy` objects to prevent unintended consequences when the original referred object dies @@ -1116,7 +1116,7 @@ Improve tokenizer error with improved locations. Patch by Pablo Galindo. .. bpo: 44304 .. date: 2021-06-05-02-34-57 .. nonce: _MAoPc -.. section: Core and Builtins +.. section: Library Fix a crash in the :mod:`sqlite3` module that happened when the garbage collector clears :class:`sqlite.Statement` objects. Patch by Pablo Galindo diff --git a/Misc/NEWS.d/3.11.0a3.rst b/Misc/NEWS.d/3.11.0a3.rst index 6a0ae20d1fb5ed..e79f91ecf7e77a 100644 --- a/Misc/NEWS.d/3.11.0a3.rst +++ b/Misc/NEWS.d/3.11.0a3.rst @@ -133,7 +133,7 @@ additional allocation when the frame object outlives the frame activation. .. bpo: 45614 .. date: 2021-11-23-12-06-41 .. nonce: fIekgI -.. section: Core and Builtins +.. section: Library Fix :mod:`traceback` display for exceptions with invalid module name. @@ -242,7 +242,7 @@ of function pointers (rather than switching on the oparg). .. bpo: 42540 .. date: 2021-11-15-12-08-27 .. nonce: V2w107 -.. section: Core and Builtins +.. section: Library Fix crash when :func:`os.fork` is called with an active non-default memory allocator. diff --git a/Misc/NEWS.d/3.11.0a4.rst b/Misc/NEWS.d/3.11.0a4.rst index 47cbf33c3bb29b..3bbcbf08146edf 100644 --- a/Misc/NEWS.d/3.11.0a4.rst +++ b/Misc/NEWS.d/3.11.0a4.rst @@ -119,7 +119,7 @@ perform tracing and optimizer checks. .. bpo: 46208 .. date: 2022-01-04-01-53-35 .. nonce: i00Vz5 -.. section: Core and Builtins +.. section: Library Fix the regression of os.path.normpath("A/../../B") not returning expected "../B" but "B". @@ -178,7 +178,7 @@ sequence of other opcodes. .. bpo: 46085 .. date: 2021-12-30-00-23-41 .. nonce: bDuJqu -.. section: Core and Builtins +.. section: Library Fix iterator cache mechanism of :class:`OrderedDict`. @@ -334,7 +334,7 @@ Deepfreeze :mod:`runpy`, patch by Kumar Aditya. .. bpo: 46025 .. date: 2021-12-09-11-41-35 .. nonce: pkEvW9 -.. section: Core and Builtins +.. section: Library Fix a crash in the :mod:`atexit` module involving functions that unregister themselves before raising exceptions. Patch by Pablo Galindo. @@ -344,7 +344,7 @@ themselves before raising exceptions. Patch by Pablo Galindo. .. bpo: 46000 .. date: 2021-12-07-11-42-44 .. nonce: v_ru3k -.. section: Core and Builtins +.. section: Library Improve compatibility of the :mod:`curses` module with NetBSD curses. diff --git a/Misc/NEWS.d/3.11.0a5.rst b/Misc/NEWS.d/3.11.0a5.rst index 5418d5d59dd583..1852b13500b0ea 100644 --- a/Misc/NEWS.d/3.11.0a5.rst +++ b/Misc/NEWS.d/3.11.0a5.rst @@ -54,7 +54,7 @@ path. .. bpo: 46527 .. date: 2022-01-25-19-34-55 .. nonce: mQLNPk -.. section: Core and Builtins +.. section: Library Allow passing ``iterable`` as a keyword argument to :func:`enumerate` again. Patch by Jelle Zijlstra. @@ -204,7 +204,7 @@ platform when dividing an int by a value smaller than ``2**30``. .. bpo: 46383 .. date: 2022-01-14-20-55-34 .. nonce: v8MTl4 -.. section: Core and Builtins +.. section: Library Fix invalid signature of ``_zoneinfo``'s ``module_free`` function to resolve a crash on wasm32-emscripten platform. @@ -214,7 +214,7 @@ a crash on wasm32-emscripten platform. .. bpo: 46361 .. date: 2022-01-12-17-15-17 .. nonce: mgI_j_ -.. section: Core and Builtins +.. section: Library Ensure that "small" integers created by :meth:`int.from_bytes` and :class:`decimal.Decimal` are properly cached. @@ -255,7 +255,7 @@ that are ended by line continuation characters. Patch by Pablo Galindo .. bpo: 30512 .. date: 2021-12-12-00-49-19 .. nonce: nU9E9V -.. section: Core and Builtins +.. section: Library Add CAN Socket support for NetBSD. @@ -264,7 +264,7 @@ Add CAN Socket support for NetBSD. .. bpo: 46045 .. date: 2021-12-11-11-36-48 .. nonce: sfThay -.. section: Core and Builtins +.. section: Library Do not use POSIX semaphores on NetBSD @@ -273,7 +273,7 @@ Do not use POSIX semaphores on NetBSD .. bpo: 44024 .. date: 2021-05-04-21-55-49 .. nonce: M9m8Qd -.. section: Core and Builtins +.. section: Library Improve the :exc:`TypeError` message for non-string second arguments passed to the built-in functions :func:`getattr` and :func:`hasattr`. Patch by Géry diff --git a/Misc/NEWS.d/3.11.0a6.rst b/Misc/NEWS.d/3.11.0a6.rst index e88142e641f040..7fdfa4ebdf2e37 100644 --- a/Misc/NEWS.d/3.11.0a6.rst +++ b/Misc/NEWS.d/3.11.0a6.rst @@ -255,7 +255,7 @@ Fix specialization stats gathering for :opcode:`!PRECALL` instructions. .. bpo: 46794 .. date: 2022-02-22-12-07-53 .. nonce: 6WvJ9o -.. section: Core and Builtins +.. section: Library Bump up the libexpat version into 2.4.6 @@ -379,7 +379,7 @@ involving lots of brackets. Patch by Pablo Galindo. .. bpo: 46323 .. date: 2022-02-10-02-29-12 .. nonce: HK_cs0 -.. section: Core and Builtins +.. section: Library :mod:`ctypes` now allocates memory on the stack instead of on the heap to pass arguments while calling a Python callback function. Patch by Donghee @@ -429,7 +429,7 @@ now 254. .. bpo: 40479 .. date: 2022-02-06-23-08-30 .. nonce: zED3Zu -.. section: Core and Builtins +.. section: Library Add a missing call to ``va_end()`` in ``Modules/_hashopenssl.c``. @@ -438,7 +438,7 @@ Add a missing call to ``va_end()`` in ``Modules/_hashopenssl.c``. .. bpo: 46323 .. date: 2022-02-05-14-46-21 .. nonce: FC1OJg -.. section: Core and Builtins +.. section: Library Use :c:func:`PyObject_Vectorcall` while calling ctypes callback function. Patch by Donghee Na. diff --git a/Misc/NEWS.d/3.11.0a7.rst b/Misc/NEWS.d/3.11.0a7.rst index eff2ea2dac13f8..fddbb63218d1b9 100644 --- a/Misc/NEWS.d/3.11.0a7.rst +++ b/Misc/NEWS.d/3.11.0a7.rst @@ -181,7 +181,7 @@ to simplify clearing and deallocing frames and generators. .. bpo: 46968 .. date: 2022-03-17-14-22-23 .. nonce: 4gz4NA -.. section: Core and Builtins +.. section: Library Check for the existence of the "sys/auxv.h" header in :mod:`faulthandler` to avoid compilation problems in systems where this header doesn't exist. Patch @@ -243,7 +243,7 @@ reducing the number of invocations of ``memcpy``. .. bpo: 46829 .. date: 2022-03-12-21-07-21 .. nonce: cpGoPV -.. section: Core and Builtins +.. section: Library Deprecate passing a message into :meth:`asyncio.Future.cancel` and :meth:`asyncio.Task.cancel` diff --git a/Misc/NEWS.d/3.11.0b1.rst b/Misc/NEWS.d/3.11.0b1.rst index c3a1942b881ad4..24ff66a9ca256d 100644 --- a/Misc/NEWS.d/3.11.0b1.rst +++ b/Misc/NEWS.d/3.11.0b1.rst @@ -388,7 +388,7 @@ Add internal documentation explaining design of new (for 3.11) frame stack. .. bpo: 47197 .. date: 2022-04-03-17-21-04 .. nonce: Ji_c30 -.. section: Core and Builtins +.. section: Library ctypes used to mishandle ``void`` return types, so that for instance a function declared like ``ctypes.CFUNCTYPE(None, ctypes.c_int)`` would be @@ -434,7 +434,7 @@ cache when applicable. .. bpo: 46962 .. date: 2022-03-08-21-59-57 .. nonce: UomDfz -.. section: Core and Builtins +.. section: Library Classes and functions that unconditionally declared their docstrings ignoring the ``--without-doc-strings`` compilation flag no longer do so. @@ -500,7 +500,7 @@ at runtime where types are known at C compile time. .. bpo: 46045 .. date: 2021-12-11-11-36-48 .. nonce: sfThay -.. section: Core and Builtins +.. section: Library Do not use POSIX semaphores on NetBSD @@ -519,7 +519,7 @@ less or equal than the starting position of non-encodable characters. .. bpo: 34093 .. date: 2018-07-14-16-58-00 .. nonce: WaVD-f -.. section: Core and Builtins +.. section: Library ``marshal.dumps()`` uses ``FLAG_REF`` for all interned strings. This makes output more deterministic and helps reproducible build. From f19e5e673f555024ff0d9acb73564d2cce0ad0e4 Mon Sep 17 00:00:00 2001 From: Aniket Singh Yadav Date: Sun, 4 Jan 2026 16:22:26 +0530 Subject: [PATCH 2/6] Move misplaced NEWS entries to an appropriate section --- Misc/NEWS.d/3.10.0a1.rst | 4 ++-- Misc/NEWS.d/3.10.0a2.rst | 2 +- Misc/NEWS.d/3.10.0a4.rst | 2 +- Misc/NEWS.d/3.10.0b1.rst | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Misc/NEWS.d/3.10.0a1.rst b/Misc/NEWS.d/3.10.0a1.rst index 317fa15a3cfec3..a309b31a71b57b 100644 --- a/Misc/NEWS.d/3.10.0a1.rst +++ b/Misc/NEWS.d/3.10.0a1.rst @@ -267,7 +267,7 @@ Port the :mod:`zlib` extension module to multi-phase initialization .. bpo: 41631 .. date: 2020-08-26-11-23-31 .. nonce: 3jZcd9 -.. section: Library +.. section: Core and Builtins The ``_ast`` module uses again a global state. Using a module state per module instance is causing subtle practical problems. For example, the @@ -653,7 +653,7 @@ only imported when it is the filesystem encoding or the stdio encoding. .. bpo: 40636 .. date: 2020-06-17-10-27-17 .. nonce: MYaCIe -.. section: Library +.. section: Core and Builtins :func:`zip` now supports :pep:`618`'s ``strict`` parameter, which raises a :exc:`ValueError` if the arguments are exhausted at different lengths. Patch diff --git a/Misc/NEWS.d/3.10.0a2.rst b/Misc/NEWS.d/3.10.0a2.rst index 80bb35079b1a5d..bae62d93759e2d 100644 --- a/Misc/NEWS.d/3.10.0a2.rst +++ b/Misc/NEWS.d/3.10.0a2.rst @@ -65,7 +65,7 @@ parser. .. bpo: 41796 .. date: 2020-10-29-12-49-08 .. nonce: tkGdHq -.. section: Library +.. section: Core and Builtins The :mod:`ast` module internal state is now per interpreter. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/3.10.0a4.rst b/Misc/NEWS.d/3.10.0a4.rst index 10d450482182e5..cd419dfaaee2e8 100644 --- a/Misc/NEWS.d/3.10.0a4.rst +++ b/Misc/NEWS.d/3.10.0a4.rst @@ -11,7 +11,7 @@ Fix undefined behavior in ``Objects/genericaliasobject.c``. .. bpo: 42806 .. date: 2021-01-03-00-20-38 .. nonce: mLAobJ -.. section: Library +.. section: Core and Builtins Fix the column offsets for f-strings :mod:`ast` nodes surrounded by parentheses and for nodes that spawn multiple lines. Patch by Pablo Galindo. diff --git a/Misc/NEWS.d/3.10.0b1.rst b/Misc/NEWS.d/3.10.0b1.rst index aa6f1f0841e3fa..2ab1c7c29155c2 100644 --- a/Misc/NEWS.d/3.10.0b1.rst +++ b/Misc/NEWS.d/3.10.0b1.rst @@ -370,7 +370,7 @@ Patch by Pablo Galindo. .. bpo: 43798 .. date: 2021-04-10-00-01-43 .. nonce: p_nJFM -.. section: Library +.. section: Core and Builtins :class:`ast.alias` nodes now include source location metadata attributes e.g. lineno, col_offset. From 5b061c6775d03b552fcc21046209ad026a54bbab Mon Sep 17 00:00:00 2001 From: Aniket Singh Yadav Date: Sun, 4 Jan 2026 16:57:04 +0530 Subject: [PATCH 3/6] Move misplaced NEWS entries to an appropriate section --- Misc/NEWS.d/3.10.0a5.rst | 4 ++-- Misc/NEWS.d/3.10.0a7.rst | 4 ++-- Misc/NEWS.d/3.11.0a1.rst | 2 +- Misc/NEWS.d/3.11.0a5.rst | 2 +- Misc/NEWS.d/3.11.0b1.rst | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Misc/NEWS.d/3.10.0a5.rst b/Misc/NEWS.d/3.10.0a5.rst index c5cee14d1e1a3e..ac8deb537ea171 100644 --- a/Misc/NEWS.d/3.10.0a5.rst +++ b/Misc/NEWS.d/3.10.0a5.rst @@ -95,7 +95,7 @@ by Pablo Galindo. .. bpo: 42924 .. date: 2021-01-13-14-06-01 .. nonce: _WS1Ok -.. section: Library +.. section: Core and Builtins Fix ``bytearray`` repetition incorrectly copying data from the start of the buffer, even if the data is offset within the buffer (e.g. after reassigning @@ -155,7 +155,7 @@ Fixed possible leak in ``import`` when ``sys.modules`` is not a ``dict``. .. bpo: 27772 .. date: 2018-12-20-23-59-23 .. nonce: idHEcj -.. section: Library +.. section: Core and Builtins In string formatting, preceding the *width* field by ``'0'`` no longer affects the default alignment for strings. diff --git a/Misc/NEWS.d/3.10.0a7.rst b/Misc/NEWS.d/3.10.0a7.rst index 94c6e50e676533..ebda154344a48f 100644 --- a/Misc/NEWS.d/3.10.0a7.rst +++ b/Misc/NEWS.d/3.10.0a7.rst @@ -120,7 +120,7 @@ convention. Patch by Donghee Na. .. bpo: 42137 .. date: 2021-03-20-19-54-47 .. nonce: A8aQvj -.. section: Library +.. section: Core and Builtins The import system now prefers using ``__spec__`` for ``ModuleType.__repr__`` over ``module_repr()``. @@ -150,7 +150,7 @@ continuation characters. Patch by Pablo Galindo. .. bpo: 43517 .. date: 2021-03-16-17-12-54 .. nonce: zAo6Ws -.. section: Library +.. section: Core and Builtins Fix misdetection of circular imports when using ``from pkg.mod import attr``, which caused false positives in non-trivial multi-threaded code. diff --git a/Misc/NEWS.d/3.11.0a1.rst b/Misc/NEWS.d/3.11.0a1.rst index e4d5659b64256f..409aef01f49464 100644 --- a/Misc/NEWS.d/3.11.0a1.rst +++ b/Misc/NEWS.d/3.11.0a1.rst @@ -206,7 +206,7 @@ in the :mod:`__main__` module. .. bpo: 37330 .. date: 2021-09-02-01-28-01 .. nonce: QDjM_l -.. section: Library +.. section: Core and Builtins :func:`open`, :func:`io.open`, :func:`codecs.open` and :class:`fileinput.FileInput` no longer accept ``'U'`` ("universal newline") diff --git a/Misc/NEWS.d/3.11.0a5.rst b/Misc/NEWS.d/3.11.0a5.rst index 1852b13500b0ea..f4537820ed5e26 100644 --- a/Misc/NEWS.d/3.11.0a5.rst +++ b/Misc/NEWS.d/3.11.0a5.rst @@ -54,7 +54,7 @@ path. .. bpo: 46527 .. date: 2022-01-25-19-34-55 .. nonce: mQLNPk -.. section: Library +.. section: Core and Builtins Allow passing ``iterable`` as a keyword argument to :func:`enumerate` again. Patch by Jelle Zijlstra. diff --git a/Misc/NEWS.d/3.11.0b1.rst b/Misc/NEWS.d/3.11.0b1.rst index 24ff66a9ca256d..b67aaee4e00238 100644 --- a/Misc/NEWS.d/3.11.0b1.rst +++ b/Misc/NEWS.d/3.11.0b1.rst @@ -500,7 +500,7 @@ at runtime where types are known at C compile time. .. bpo: 46045 .. date: 2021-12-11-11-36-48 .. nonce: sfThay -.. section: Library +.. section: Core and Builtins Do not use POSIX semaphores on NetBSD From 64a270c2039779108637fb2477c3f0ad7a3de53f Mon Sep 17 00:00:00 2001 From: Aniket Singh Yadav Date: Sun, 4 Jan 2026 18:40:41 +0530 Subject: [PATCH 4/6] Move misplaced NEWS entries to an appropriate section --- Misc/NEWS.d/3.11.0b1.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/3.11.0b1.rst b/Misc/NEWS.d/3.11.0b1.rst index b67aaee4e00238..f6cd6dfc802c2f 100644 --- a/Misc/NEWS.d/3.11.0b1.rst +++ b/Misc/NEWS.d/3.11.0b1.rst @@ -500,7 +500,7 @@ at runtime where types are known at C compile time. .. bpo: 46045 .. date: 2021-12-11-11-36-48 .. nonce: sfThay -.. section: Core and Builtins +.. section: Build Do not use POSIX semaphores on NetBSD From ce5603d45a1050c4e84d2a89b6674ba752049173 Mon Sep 17 00:00:00 2001 From: Aniket Singh Yadav Date: Thu, 8 Jan 2026 15:47:43 +0530 Subject: [PATCH 5/6] Move misplaced NEWS entries to an appropriate section --- Misc/NEWS.d/3.10.0a5.rst | 2 +- Misc/NEWS.d/3.10.0a7.rst | 4 ++-- Misc/NEWS.d/3.11.0a3.rst | 2 +- Misc/NEWS.d/3.11.0a4.rst | 2 +- Misc/NEWS.d/3.11.0a5.rst | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Misc/NEWS.d/3.10.0a5.rst b/Misc/NEWS.d/3.10.0a5.rst index ac8deb537ea171..6ac0acc0b800a5 100644 --- a/Misc/NEWS.d/3.10.0a5.rst +++ b/Misc/NEWS.d/3.10.0a5.rst @@ -146,7 +146,7 @@ the :mod:`collections` module. .. bpo: 41994 .. date: 2020-10-10-14-16-03 .. nonce: Xop8sV -.. section: Library +.. section: Core and Builtins Fixed possible leak in ``import`` when ``sys.modules`` is not a ``dict``. diff --git a/Misc/NEWS.d/3.10.0a7.rst b/Misc/NEWS.d/3.10.0a7.rst index ebda154344a48f..33e5e073202efc 100644 --- a/Misc/NEWS.d/3.10.0a7.rst +++ b/Misc/NEWS.d/3.10.0a7.rst @@ -50,7 +50,7 @@ Update CPython bytecode magic number. .. bpo: 43672 .. date: 2021-03-31-09-12-54 .. nonce: jTT5uG -.. section: Library +.. section: Core and Builtins Raise ImportWarning when calling find_loader(). @@ -91,7 +91,7 @@ Galindo. .. bpo: 42134 .. date: 2021-03-26-17-30-19 .. nonce: G4Sjxg -.. section: Library +.. section: Core and Builtins Calls to find_module() by the import system now raise ImportWarning. diff --git a/Misc/NEWS.d/3.11.0a3.rst b/Misc/NEWS.d/3.11.0a3.rst index e79f91ecf7e77a..c051074f50a148 100644 --- a/Misc/NEWS.d/3.11.0a3.rst +++ b/Misc/NEWS.d/3.11.0a3.rst @@ -242,7 +242,7 @@ of function pointers (rather than switching on the oparg). .. bpo: 42540 .. date: 2021-11-15-12-08-27 .. nonce: V2w107 -.. section: Library +.. section: Core and Builtins Fix crash when :func:`os.fork` is called with an active non-default memory allocator. diff --git a/Misc/NEWS.d/3.11.0a4.rst b/Misc/NEWS.d/3.11.0a4.rst index 3bbcbf08146edf..8fc565bb76b9fc 100644 --- a/Misc/NEWS.d/3.11.0a4.rst +++ b/Misc/NEWS.d/3.11.0a4.rst @@ -334,7 +334,7 @@ Deepfreeze :mod:`runpy`, patch by Kumar Aditya. .. bpo: 46025 .. date: 2021-12-09-11-41-35 .. nonce: pkEvW9 -.. section: Library +.. section: Core and Builtins Fix a crash in the :mod:`atexit` module involving functions that unregister themselves before raising exceptions. Patch by Pablo Galindo. diff --git a/Misc/NEWS.d/3.11.0a5.rst b/Misc/NEWS.d/3.11.0a5.rst index f4537820ed5e26..de03458062b95d 100644 --- a/Misc/NEWS.d/3.11.0a5.rst +++ b/Misc/NEWS.d/3.11.0a5.rst @@ -214,7 +214,7 @@ a crash on wasm32-emscripten platform. .. bpo: 46361 .. date: 2022-01-12-17-15-17 .. nonce: mgI_j_ -.. section: Library +.. section: Core and Builtins Ensure that "small" integers created by :meth:`int.from_bytes` and :class:`decimal.Decimal` are properly cached. @@ -264,7 +264,7 @@ Add CAN Socket support for NetBSD. .. bpo: 46045 .. date: 2021-12-11-11-36-48 .. nonce: sfThay -.. section: Library +.. section: Build Do not use POSIX semaphores on NetBSD @@ -273,7 +273,7 @@ Do not use POSIX semaphores on NetBSD .. bpo: 44024 .. date: 2021-05-04-21-55-49 .. nonce: M9m8Qd -.. section: Library +.. section: Core and Builtins Improve the :exc:`TypeError` message for non-string second arguments passed to the built-in functions :func:`getattr` and :func:`hasattr`. Patch by Géry From 75282c2d9d671ca6b0b55287203c0d27db076100 Mon Sep 17 00:00:00 2001 From: Aniket Singh Yadav Date: Fri, 9 Jan 2026 20:19:36 +0530 Subject: [PATCH 6/6] Move misplaced NEWS entries to an appropriate section --- Misc/NEWS.d/3.10.0a1.rst | 2 +- Misc/NEWS.d/3.11.0a1.rst | 2 +- Misc/NEWS.d/3.11.0b1.rst | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Misc/NEWS.d/3.10.0a1.rst b/Misc/NEWS.d/3.10.0a1.rst index a309b31a71b57b..ffdaad18e9d814 100644 --- a/Misc/NEWS.d/3.10.0a1.rst +++ b/Misc/NEWS.d/3.10.0a1.rst @@ -643,7 +643,7 @@ Convert :mod:`!_bz2` to use :c:func:`PyType_FromSpec`. .. bpo: 41006 .. date: 2020-06-18-00-07-09 .. nonce: H-wN-d -.. section: Library +.. section: Core and Builtins The ``encodings.latin_1`` module is no longer imported at startup. Now it is only imported when it is the filesystem encoding or the stdio encoding. diff --git a/Misc/NEWS.d/3.11.0a1.rst b/Misc/NEWS.d/3.11.0a1.rst index 409aef01f49464..17b8cdc42f33f0 100644 --- a/Misc/NEWS.d/3.11.0a1.rst +++ b/Misc/NEWS.d/3.11.0a1.rst @@ -917,7 +917,7 @@ Add ``__parameters__`` attribute and ``__getitem__`` operator to .. bpo: 44523 .. date: 2021-06-29-11-49-29 .. nonce: 67-ZIP -.. section: Library +.. section: Core and Builtins Remove the pass-through for :func:`hash` of :class:`weakref.proxy` objects to prevent unintended consequences when the original referred object dies diff --git a/Misc/NEWS.d/3.11.0b1.rst b/Misc/NEWS.d/3.11.0b1.rst index f6cd6dfc802c2f..218857e3a4f42a 100644 --- a/Misc/NEWS.d/3.11.0b1.rst +++ b/Misc/NEWS.d/3.11.0b1.rst @@ -434,7 +434,7 @@ cache when applicable. .. bpo: 46962 .. date: 2022-03-08-21-59-57 .. nonce: UomDfz -.. section: Library +.. section: Core and Builtins Classes and functions that unconditionally declared their docstrings ignoring the ``--without-doc-strings`` compilation flag no longer do so. @@ -519,7 +519,7 @@ less or equal than the starting position of non-encodable characters. .. bpo: 34093 .. date: 2018-07-14-16-58-00 .. nonce: WaVD-f -.. section: Library +.. section: Core and Builtins ``marshal.dumps()`` uses ``FLAG_REF`` for all interned strings. This makes output more deterministic and helps reproducible build.