summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2026-02-03 17:53:04 (GMT)
committerThomas Wouters <thomas@python.org>2026-02-03 17:53:27 (GMT)
commit1cbe481834751b0125e006042ffbd8cd5eaec8a8 (patch)
tree1e5e19e950c3499dcd7df46f5a87aa05f6434e8e
parentad5bd4ad47944f470896aa05f352f1e9118f30e7 (diff)
downloadcpython-3.13.12.zip
cpython-3.13.12.tar.gz
cpython-3.13.12.tar.bz2
Python 3.13.12v3.13.12
-rw-r--r--Include/patchlevel.h4
-rw-r--r--Lib/pydoc_data/module_docs.py9
-rw-r--r--Lib/pydoc_data/topics.py134
-rw-r--r--Misc/NEWS.d/3.13.12.rst1054
-rw-r--r--Misc/NEWS.d/next/Build/2025-08-27-09-52-45.gh-issue-138061.fMVS9w.rst1
-rw-r--r--Misc/NEWS.d/next/Build/2025-11-20-23-15-39.gh-issue-141808.NEewZC.rst4
-rw-r--r--Misc/NEWS.d/next/Build/2025-12-09-13-33-46.gh-issue-142454.cqUxzQ.rst4
-rw-r--r--Misc/NEWS.d/next/C API/2025-12-11-09-06-36.gh-issue-142571.Csdxnn.rst1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2024-12-13-15-21-45.gh-issue-127773.E-DZR4.rst1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-09-06-08-29-08.gh-issue-138568.iZlalC.rst2
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-10-29-20-59-10.gh-issue-140373.-uoaPP.rst2
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-11-06-05-21-25.gh-issue-100964.TxPf1b.rst1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-11-19-16-40-24.gh-issue-141732.PTetqp.rst2
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-12-08-13-04-37.gh-issue-142343.BTAyML.rst1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-12-11-22-59-33.gh-issue-142560.GkJrkk.rst1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-12-13-17-20-38.gh-issue-142554.wNtEFF.rst2
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-12-15-15-01-21.gh-issue-142737.xYXzeB.rst3
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-12-16-11-56-20.gh-issue-142766.Uy2HTm.rst1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-12-17-19-45-10.gh-issue-142829.ICtLXy.rst3
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-12-18-01-00-14.gh-issue-142776.ACaoeP.rst1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-12-22-22-37-53.gh-issue-143006.ZBQwbN.rst2
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-12-23-00-13-02.gh-issue-143003.92g5qW.rst2
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-12-24-11-39-59.gh-issue-143135.3d5ovx.rst2
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-12-27-10-14-26.gh-issue-143195.MNldfr.rst3
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-12-27-12-25-06.gh-issue-142557.KWOc8b.rst3
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-12-27-13-18-12.gh-issue-142664.peeEDV.rst3
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-12-27-23-57-43.gh-issue-143228.m3EF9E.rst4
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2025-12-30-06-48-48.gh-issue-143189.in_sv2.rst3
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2026-01-04-16-56-17.gh-issue-143377.YJqMCa.rst2
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2026-01-11-20-11-36.gh-issue-143670.klnGoD.rst1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2026-01-13-22-26-49.gh-issue-141805.QzIKPS.rst3
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2026-01-23-20-20-42.gh-issue-144194.IbXfxd.rst1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2026-01-29-02-18-08.gh-issue-144307.CLbm_o.rst1
-rw-r--r--Misc/NEWS.d/next/Documentation/2025-10-30-19-28-42.gh-issue-140806.RBT9YH.rst1
-rw-r--r--Misc/NEWS.d/next/IDLE/2026-01-13-01-21-20.gh-issue-143774.rqGwX1.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2024-12-02-19-13-19.gh-issue-127529.Pj1Xtf.rst4
-rw-r--r--Misc/NEWS.d/next/Library/2025-04-19-17-34-11.gh-issue-132715.XXl47F.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2025-05-05-10-41-41.gh-issue-133253.J5-xDD.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2025-05-20-21-45-58.gh-issue-90871.Gkvtp6.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-06-22-18-57-19.gh-issue-109263.f92V95.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-07-29-11-37-22.gh-issue-79986.fnJbE_.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2025-09-14-22-26-50.gh-issue-138897.vnUb_L.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-09-23-16-41-21.gh-issue-139262.RO0E98.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-10-12-12-05-52.gh-issue-139971.UdoStU.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-11-18-15-48-13.gh-issue-105836.sbUw24.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-11-27-10-49-13.gh-issue-142006.nzJDG5.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-04-09-22-31.gh-issue-68552.I_v-xB.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-05-16-39-17.gh-issue-75949.pHxW98.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-05-18-26-50.gh-issue-142282.g6RQUN.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-07-02-36-24.gh-issue-142315.02o5E_.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-09-14-40-45.gh-issue-112527.Tvf5Zk.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-10-10-00-06.gh-issue-142517.fG4hbe.rst4
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-12-02-56-26.gh-issue-142595.wHvTqq.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-13-06-17-44.gh-issue-142651.ZRtBu4.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-13-23-26-42.gh-issue-142495.I88Uv_.rst4
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-14-10-00-23.gh-issue-142451._rkf2S.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-14-18-30-48.gh-issue-142594.belDmD.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-15-02-02-45.gh-issue-142555.EC9QN_.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-16-04-39-27.gh-issue-142784.HBGJag.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-16-11-55-55.gh-issue-142754.xuCrt3.rst4
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-16-14-49-19.gh-issue-142783.VPV1ig.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-17-14-41-09.gh-issue-112127.13OHQk.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-17-20-18-17.gh-issue-142881.5IizIQ.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-20-01-49-02.gh-issue-143010._-SWX0.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-20-10-21-23.gh-issue-142991.jYHD9E.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-21-17-24-29.gh-issue-140648.i8dca6.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-21-17-44-28.gh-issue-143046.GBa5Ip.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-22-00-00-00.gh-issue-143004.uaf-counter.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-22-22-36-21.gh-issue-122431.9E3085.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-24-14-18-52.gh-issue-143145.eXLw8D.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-27-00-14-56.gh-issue-142195.UgBEo5.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-27-15-41-27.gh-issue-143200.2hEUAl.rst4
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-28-13-12-40.gh-issue-142830.uEyd6r.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-28-13-49-06.gh-issue-143241.5H4b8d.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-28-14-41-02.gh-issue-143249.K4vEp4.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-28-20-28-05.gh-issue-143237.q1ymuA.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-31-17-38-33.gh-issue-143308.lY8UCR.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2025-12-31-20-43-02.gh-issue-143309.cdFxdH.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2026-01-01-11-21-57.gh-issue-143310.8rxtH3.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2026-01-02-12-55-52.gh-issue-143346.iTekce.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2026-01-03-19-41-36.gh-issue-143378.29AvE7.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2026-01-08-14-53-46.gh-issue-143547.wHBVlr.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2026-01-09-12-37-19.gh-issue-143602.V8vQpj.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2026-01-10-10-04-08.gh-issue-78724.xkXfxX.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2026-01-10-16-42-47.gh-issue-143638.du5G7d.rst4
-rw-r--r--Misc/NEWS.d/next/Library/2026-01-12-07-17-38.gh-issue-143706.sysArgv.rst5
-rw-r--r--Misc/NEWS.d/next/Library/2026-01-18-14-35-37.gh-issue-143999.MneN4O.rst1
-rw-r--r--Misc/NEWS.d/next/Library/2026-01-19-00-57-40.gh-issue-144023.29XUcp.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2026-01-20-16-35-55.gh-issue-144050.0kKFbF.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2026-01-21-19-39-07.gh-issue-144100.hLMZ8Y.rst3
-rw-r--r--Misc/NEWS.d/next/Library/2026-01-23-06-43-21.gh-issue-144169.LFy9yi.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2026-02-01-15-25-00.gh-issue-144380.U7py_s.rst1
-rw-r--r--Misc/NEWS.d/next/Security/2026-01-16-11-07-36.gh-issue-143916.dpWeOD.rst2
-rw-r--r--Misc/NEWS.d/next/Security/2026-01-16-11-13-15.gh-issue-143919.kchwZV.rst1
-rw-r--r--Misc/NEWS.d/next/Security/2026-01-16-11-51-19.gh-issue-143925.mrtcHW.rst1
-rw-r--r--Misc/NEWS.d/next/Security/2026-01-16-14-40-31.gh-issue-143935.U2YtKl.rst6
-rw-r--r--Misc/NEWS.d/next/Security/2026-01-21-12-34-05.gh-issue-144125.TAz5uo.rst4
-rw-r--r--Misc/NEWS.d/next/Tests/2020-09-29-23-14-01.bpo-31391.IZr2P8.rst2
-rw-r--r--Misc/NEWS.d/next/Tests/2025-02-10-14-34-29.gh-issue-129401.Cq6Ruy.rst1
-rw-r--r--Misc/NEWS.d/next/Tests/2025-12-17-02-02-57.gh-issue-142836.mR-fvK.rst1
-rw-r--r--Misc/NEWS.d/next/Tests/2026-01-08-11-50-06.gh-issue-143553.KyyNTt.rst1
-rw-r--r--Misc/NEWS.d/next/Tests/2026-01-08-16-56-59.gh-issue-65784.aKNo1U.rst3
-rw-r--r--Misc/NEWS.d/next/Tests/2026-02-03-07-57-24.gh-issue-144415.U3L15r.rst3
-rw-r--r--Misc/NEWS.d/next/Tools-Demos/2026-01-02-11-44-56.gh-issue-142095.4ssgnM.rst2
-rw-r--r--Misc/NEWS.d/next/Windows/2025-09-14-13-35-44.gh-issue-128067.BGdP_A.rst1
-rw-r--r--README.rst2
106 files changed, 1173 insertions, 244 deletions
diff --git a/Include/patchlevel.h b/Include/patchlevel.h
index 1ee38f0..7246ff7 100644
--- a/Include/patchlevel.h
+++ b/Include/patchlevel.h
@@ -18,12 +18,12 @@
/*--start constants--*/
#define PY_MAJOR_VERSION 3
#define PY_MINOR_VERSION 13
-#define PY_MICRO_VERSION 11
+#define PY_MICRO_VERSION 12
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
#define PY_RELEASE_SERIAL 0
/* Version as a string */
-#define PY_VERSION "3.13.11+"
+#define PY_VERSION "3.13.12"
/*--end constants--*/
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
diff --git a/Lib/pydoc_data/module_docs.py b/Lib/pydoc_data/module_docs.py
index f6d84a6..39ffd71 100644
--- a/Lib/pydoc_data/module_docs.py
+++ b/Lib/pydoc_data/module_docs.py
@@ -1,4 +1,4 @@
-# Autogenerated by Sphinx on Sun Oct 12 12:02:22 2025
+# Autogenerated by Sphinx on Tue Feb 3 18:53:22 2026
# as part of the release process.
module_docs = {
@@ -8,7 +8,6 @@ module_docs = {
'_tkinter': 'tkinter#module-_tkinter',
'abc': 'abc#module-abc',
'aifc': 'aifc#module-aifc',
- 'annotationlib': 'annotationlib#module-annotationlib',
'argparse': 'argparse#module-argparse',
'array': 'array#module-array',
'ast': 'ast#module-ast',
@@ -37,10 +36,7 @@ module_docs = {
'collections.abc': 'collections.abc#module-collections.abc',
'colorsys': 'colorsys#module-colorsys',
'compileall': 'compileall#module-compileall',
- 'compression': 'compression#module-compression',
- 'compression.zstd': 'compression.zstd#module-compression.zstd',
'concurrent.futures': 'concurrent.futures#module-concurrent.futures',
- 'concurrent.interpreters': 'concurrent.interpreters#module-concurrent.interpreters',
'configparser': 'configparser#module-configparser',
'contextlib': 'contextlib#module-contextlib',
'contextvars': 'contextvars#module-contextvars',
@@ -171,7 +167,6 @@ module_docs = {
'os.path': 'os.path#module-os.path',
'ossaudiodev': 'ossaudiodev#module-ossaudiodev',
'pathlib': 'pathlib#module-pathlib',
- 'pathlib.types': 'pathlib#module-pathlib.types',
'pdb': 'pdb#module-pdb',
'pickle': 'pickle#module-pickle',
'pickletools': 'pickletools#module-pickletools',
@@ -183,7 +178,6 @@ module_docs = {
'posix': 'posix#module-posix',
'pprint': 'pprint#module-pprint',
'profile': 'profile#module-profile',
- 'profiling.sampling': 'profile#module-profiling.sampling',
'pstats': 'profile#module-pstats',
'pty': 'pty#module-pty',
'pwd': 'pwd#module-pwd',
@@ -220,7 +214,6 @@ module_docs = {
'stat': 'stat#module-stat',
'statistics': 'statistics#module-statistics',
'string': 'string#module-string',
- 'string.templatelib': 'string.templatelib#module-string.templatelib',
'stringprep': 'stringprep#module-stringprep',
'struct': 'struct#module-struct',
'subprocess': 'subprocess#module-subprocess',
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py
index fdbe810..839d454 100644
--- a/Lib/pydoc_data/topics.py
+++ b/Lib/pydoc_data/topics.py
@@ -1,4 +1,4 @@
-# Autogenerated by Sphinx on Fri Dec 5 17:06:29 2025
+# Autogenerated by Sphinx on Tue Feb 3 18:53:22 2026
# as part of the release process.
topics = {
@@ -1939,7 +1939,7 @@ ensures that the type of the target "e" is consistently
... except* BlockingIOError as e:
... print(repr(e))
...
- ExceptionGroup('', (BlockingIOError()))
+ ExceptionGroup('', (BlockingIOError(),))
"break", "continue" and "return" cannot appear in an "except*" clause.
@@ -5386,7 +5386,9 @@ The available presentation types for "float" and "Decimal" values are:
| | With no precision given, uses a precision of "6" digits |
| | after the decimal point for "float", and shows all |
| | coefficient digits for "Decimal". If "p=0", the decimal |
- | | point is omitted unless the "#" option is used. |
+ | | point is omitted unless the "#" option is used. For |
+ | | "float", the exponent always contains at least two digits, |
+ | | and is zero if the value is zero. |
+-----------+------------------------------------------------------------+
| "'E'" | Scientific notation. Same as "'e'" except it uses an upper |
| | case ‘E’ as the separator character. |
@@ -9053,7 +9055,12 @@ str.casefold()
it is intended to remove all case distinctions in a string. For
example, the German lowercase letter "'ß'" is equivalent to ""ss"".
Since it is already lowercase, "lower()" would do nothing to "'ß'";
- "casefold()" converts it to ""ss"".
+ "casefold()" converts it to ""ss"". For example:
+
+ >>> 'straße'.lower()
+ 'straße'
+ >>> 'straße'.casefold()
+ 'strasse'
The casefolding algorithm is described in section 3.13 ‘Default
Case Folding’ of the Unicode Standard.
@@ -9242,7 +9249,18 @@ str.format_map(mapping, /)
str.index(sub[, start[, end]])
Like "find()", but raise "ValueError" when the substring is not
- found.
+ found. For example:
+
+ >>> 'spam, spam, spam'.index('spam')
+ 0
+ >>> 'spam, spam, spam'.index('eggs')
+ Traceback (most recent call last):
+ File "<python-input-0>", line 1, in <module>
+ 'spam, spam, spam'.index('eggs')
+ ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
+ ValueError: substring not found
+
+ See also "rindex()".
str.isalnum()
@@ -9341,7 +9359,19 @@ str.isnumeric()
that have the Unicode numeric value property, e.g. U+2155, VULGAR
FRACTION ONE FIFTH. Formally, numeric characters are those with
the property value Numeric_Type=Digit, Numeric_Type=Decimal or
- Numeric_Type=Numeric.
+ Numeric_Type=Numeric. For example:
+
+ >>> '0123456789'.isnumeric()
+ True
+ >>> '٠١٢٣٤٥٦٧٨٩'.isnumeric() # Arabic-indic digit zero to nine
+ True
+ >>> '⅕'.isnumeric() # Vulgar fraction one fifth
+ True
+ >>> '²'.isdecimal(), '²'.isdigit(), '²'.isnumeric()
+ (False, True, True)
+
+ See also "isdecimal()" and "isdigit()". Numeric characters are a
+ superset of decimal numbers.
str.isprintable()
@@ -9359,6 +9389,13 @@ str.isprintable()
plus the ASCII space 0x20. Nonprintable characters are those in
group Separator or Other (Z or C), except the ASCII space.
+ For example:
+
+ >>> ''.isprintable(), ' '.isprintable()
+ (True, True)
+ >>> '\t'.isprintable(), '\n'.isprintable()
+ (False, False)
+
str.isspace()
Return "True" if there are only whitespace characters in the string
@@ -9424,10 +9461,24 @@ str.ljust(width, fillchar=' ', /)
space). The original string is returned if *width* is less than or
equal to "len(s)".
+ For example:
+
+ >>> 'Python'.ljust(10)
+ 'Python '
+ >>> 'Python'.ljust(10, '.')
+ 'Python....'
+ >>> 'Monty Python'.ljust(10, '.')
+ 'Monty Python'
+
+ See also "rjust()".
+
str.lower()
Return a copy of the string with all the cased characters [4]
- converted to lowercase.
+ converted to lowercase. For example:
+
+ >>> 'Lower Method Example'.lower()
+ 'lower method example'
The lowercasing algorithm used is described in section 3.13
‘Default Case Folding’ of the Unicode Standard.
@@ -9491,6 +9542,8 @@ str.removeprefix(prefix, /)
Added in version 3.9.
+ See also "removesuffix()" and "startswith()".
+
str.removesuffix(suffix, /)
If the string ends with the *suffix* string and that *suffix* is
@@ -9504,12 +9557,19 @@ str.removesuffix(suffix, /)
Added in version 3.9.
+ See also "removeprefix()" and "endswith()".
+
str.replace(old, new, /, count=-1)
Return a copy of the string with all occurrences of substring *old*
replaced by *new*. If *count* is given, only the first *count*
occurrences are replaced. If *count* is not specified or "-1", then
- all occurrences are replaced.
+ all occurrences are replaced. For example:
+
+ >>> 'spam, spam, spam'.replace('spam', 'eggs')
+ 'eggs, eggs, eggs'
+ >>> 'spam, spam, spam'.replace('spam', 'eggs', 1)
+ 'eggs, spam, spam'
Changed in version 3.13: *count* is now supported as a keyword
argument.
@@ -9519,12 +9579,30 @@ str.rfind(sub[, start[, end]])
Return the highest index in the string where substring *sub* is
found, such that *sub* is contained within "s[start:end]".
Optional arguments *start* and *end* are interpreted as in slice
- notation. Return "-1" on failure.
+ notation. Return "-1" on failure. For example:
+
+ >>> 'spam, spam, spam'.rfind('sp')
+ 12
+ >>> 'spam, spam, spam'.rfind('sp', 0, 10)
+ 6
+
+ See also "find()" and "rindex()".
str.rindex(sub[, start[, end]])
Like "rfind()" but raises "ValueError" when the substring *sub* is
- not found.
+ not found. For example:
+
+ >>> 'spam, spam, spam'.rindex('spam')
+ 12
+ >>> 'spam, spam, spam'.rindex('eggs')
+ Traceback (most recent call last):
+ File "<stdin-0>", line 1, in <module>
+ 'spam, spam, spam'.rindex('eggs')
+ ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
+ ValueError: substring not found
+
+ See also "index()" and "find()".
str.rjust(width, fillchar=' ', /)
@@ -9541,6 +9619,17 @@ str.rpartition(sep, /)
found, return a 3-tuple containing two empty strings, followed by
the string itself.
+ For example:
+
+ >>> 'Monty Python'.rpartition(' ')
+ ('Monty', ' ', 'Python')
+ >>> "Monty Python's Flying Circus".rpartition(' ')
+ ("Monty Python's Flying", ' ', 'Circus')
+ >>> 'Monty Python'.rpartition('-')
+ ('', '', 'Monty Python')
+
+ See also "partition()".
+
str.rsplit(sep=None, maxsplit=-1)
Return a list of the words in the string, using *sep* as the
@@ -10227,7 +10316,7 @@ ensures that the type of the target "e" is consistently
... except* BlockingIOError as e:
... print(repr(e))
...
- ExceptionGroup('', (BlockingIOError()))
+ ExceptionGroup('', (BlockingIOError(),))
"break", "continue" and "return" cannot appear in an "except*" clause.
@@ -10611,6 +10700,10 @@ Special read-only attributes
+----------------------------------------------------+----------------------------------------------------+
| Attribute | Meaning |
|====================================================|====================================================|
+| function.__builtins__ | A reference to the "dictionary" that holds the |
+| | function’s builtins namespace. Added in version |
+| | 3.10. |
++----------------------------------------------------+----------------------------------------------------+
| function.__globals__ | A reference to the "dictionary" that holds the |
| | function’s global variables – the global namespace |
| | of the module in which the function was defined. |
@@ -11672,10 +11765,6 @@ class dict(iterable, /, **kwargs)
the keyword argument replaces the value from the positional
argument.
- Providing keyword arguments as in the first example only works for
- keys that are valid Python identifiers. Otherwise, any valid keys
- can be used.
-
Dictionaries compare equal if and only if they have the same "(key,
value)" pairs (regardless of ordering). Order comparisons (‘<’,
‘<=’, ‘>=’, ‘>’) raise "TypeError". To illustrate dictionary
@@ -12188,10 +12277,17 @@ Notes:
note that "-0" is still "0".
4. The slice of *s* from *i* to *j* is defined as the sequence of
- items with index *k* such that "i <= k < j". If *i* or *j* is
- greater than "len(s)", use "len(s)". If *i* is omitted or "None",
- use "0". If *j* is omitted or "None", use "len(s)". If *i* is
- greater than or equal to *j*, the slice is empty.
+ items with index *k* such that "i <= k < j".
+
+ * If *i* is omitted or "None", use "0".
+
+ * If *j* is omitted or "None", use "len(s)".
+
+ * If *i* or *j* is less than "-len(s)", use "0".
+
+ * If *i* or *j* is greater than "len(s)", use "len(s)".
+
+ * If *i* is greater than or equal to *j*, the slice is empty.
5. The slice of *s* from *i* to *j* with step *k* is defined as the
sequence of items with index "x = i + n*k" such that "0 <= n <
diff --git a/Misc/NEWS.d/3.13.12.rst b/Misc/NEWS.d/3.13.12.rst
new file mode 100644
index 0000000..decb006
--- /dev/null
+++ b/Misc/NEWS.d/3.13.12.rst
@@ -0,0 +1,1054 @@
+.. date: 2025-09-14-13-35-44
+.. gh-issue: 128067
+.. nonce: BGdP_A
+.. release date: 2026-02-03
+.. section: Windows
+
+Fix a bug in PyREPL on Windows where output without a trailing newline was
+overwritten by the next prompt.
+
+..
+
+.. date: 2026-01-02-11-44-56
+.. gh-issue: 142095
+.. nonce: 4ssgnM
+.. section: Tools/Demos
+
+Make gdb 'py-bt' command use frame from thread local state when available.
+Patch by Sam Gross and Victor Stinner.
+
+..
+
+.. date: 2026-02-03-07-57-24
+.. gh-issue: 144415
+.. nonce: U3L15r
+.. section: Tests
+
+The Android testbed now distinguishes between stdout/stderr messages which
+were triggered by a newline, and those triggered by a manual call to
+``flush``. This fixes logging of progress indicators and similar content.
+
+..
+
+.. date: 2026-01-08-16-56-59
+.. gh-issue: 65784
+.. nonce: aKNo1U
+.. section: Tests
+
+Add support for parametrized resource ``wantobjects`` in regrtests, which
+allows to run Tkinter tests with the specified value of
+:data:`!tkinter.wantobjects`, for example ``-u wantobjects=0``.
+
+..
+
+.. date: 2026-01-08-11-50-06
+.. gh-issue: 143553
+.. nonce: KyyNTt
+.. section: Tests
+
+Add support for parametrized resources, such as ``-u xpickle=2.7``.
+
+..
+
+.. date: 2025-12-17-02-02-57
+.. gh-issue: 142836
+.. nonce: mR-fvK
+.. section: Tests
+
+Accommodated Solaris in ``test_pdb.test_script_target_anonymous_pipe``.
+
+..
+
+.. date: 2025-02-10-14-34-29
+.. gh-issue: 129401
+.. nonce: Cq6Ruy
+.. section: Tests
+
+Fix a flaky test in ``test_repr_rlock`` that checks the representation of
+:class:`multiprocessing.RLock`.
+
+..
+
+.. bpo: 31391
+.. date: 2020-09-29-23-14-01
+.. nonce: IZr2P8
+.. section: Tests
+
+Forward-port test_xpickle from Python 2 to Python 3 and add the resource
+back to test's command line.
+
+..
+
+.. date: 2026-01-21-12-34-05
+.. gh-issue: 144125
+.. nonce: TAz5uo
+.. section: Security
+
+:mod:`~email.generator.BytesGenerator` will now refuse to serialize (write)
+headers that are unsafely folded or delimited; see
+:attr:`~email.policy.Policy.verify_generated_headers`. (Contributed by Bas
+Bloemsaat and Petr Viktorin in :gh:`121650`).
+
+..
+
+.. date: 2026-01-16-14-40-31
+.. gh-issue: 143935
+.. nonce: U2YtKl
+.. section: Security
+
+Fixed a bug in the folding of comments when flattening an email message
+using a modern email policy. Comments consisting of a very long sequence of
+non-foldable characters could trigger a forced line wrap that omitted the
+required leading space on the continuation line, causing the remainder of
+the comment to be interpreted as a new header field. This enabled header
+injection with carefully crafted inputs.
+
+..
+
+.. date: 2026-01-16-11-51-19
+.. gh-issue: 143925
+.. nonce: mrtcHW
+.. section: Security
+
+Reject control characters in ``data:`` URL media types.
+
+..
+
+.. date: 2026-01-16-11-13-15
+.. gh-issue: 143919
+.. nonce: kchwZV
+.. section: Security
+
+Reject control characters in :class:`http.cookies.Morsel` fields and values.
+
+..
+
+.. date: 2026-01-16-11-07-36
+.. gh-issue: 143916
+.. nonce: dpWeOD
+.. section: Security
+
+Reject C0 control characters within wsgiref.headers.Headers fields, values,
+and parameters.
+
+..
+
+.. date: 2026-02-01-15-25-00
+.. gh-issue: 144380
+.. nonce: U7py_s
+.. section: Library
+
+Improve performance of :class:`io.BufferedReader` line iteration by ~49%.
+
+..
+
+.. date: 2026-01-23-06-43-21
+.. gh-issue: 144169
+.. nonce: LFy9yi
+.. section: Library
+
+Fix three crashes when non-string keyword arguments are supplied to objects
+in the :mod:`ast` module.
+
+..
+
+.. date: 2026-01-21-19-39-07
+.. gh-issue: 144100
+.. nonce: hLMZ8Y
+.. section: Library
+
+Fixed a crash in ctypes when using a deprecated ``POINTER(str)`` type in
+``argtypes``. Instead of aborting, ctypes now raises a proper Python
+exception when the pointer target type is unresolved.
+
+..
+
+.. date: 2026-01-20-16-35-55
+.. gh-issue: 144050
+.. nonce: 0kKFbF
+.. section: Library
+
+Fix :func:`stat.filemode` in the pure-Python implementation to avoid
+misclassifying invalid mode values as block devices.
+
+..
+
+.. date: 2026-01-19-00-57-40
+.. gh-issue: 144023
+.. nonce: 29XUcp
+.. section: Library
+
+Fixed validation of file descriptor 0 in posix functions when used with
+follow_symlinks parameter.
+
+..
+
+.. date: 2026-01-18-14-35-37
+.. gh-issue: 143999
+.. nonce: MneN4O
+.. section: Library
+
+Fix an issue where :func:`inspect.getgeneratorstate` and
+:func:`inspect.getcoroutinestate` could fail for generators wrapped by
+:func:`types.coroutine` in the suspended state.
+
+..
+
+.. date: 2026-01-12-07-17-38
+.. gh-issue: 143706
+.. nonce: sysArgv
+.. section: Library
+
+Fix :mod:`multiprocessing` forkserver so that :data:`sys.argv` is correctly
+set before ``__main__`` is preloaded. Previously, :data:`sys.argv` was empty
+during main module import in forkserver child processes. This fixes a
+regression introduced in 3.13.8 and 3.14.1. Root caused by Aaron Wieczorek,
+test provided by Thomas Watson, thanks!
+
+..
+
+.. date: 2026-01-10-16-42-47
+.. gh-issue: 143638
+.. nonce: du5G7d
+.. section: Library
+
+Forbid reentrant calls of the :class:`pickle.Pickler` and
+:class:`pickle.Unpickler` methods for the C implementation. Previously, this
+could cause crash or data corruption, now concurrent calls of methods of the
+same object raise :exc:`RuntimeError`.
+
+..
+
+.. date: 2026-01-10-10-04-08
+.. gh-issue: 78724
+.. nonce: xkXfxX
+.. section: Library
+
+Raise :exc:`RuntimeError`'s when user attempts to call methods on
+half-initialized :class:`~struct.Struct` objects, For example, created by
+``Struct.__new__(Struct)``. Patch by Sergey B Kirpichev.
+
+..
+
+.. date: 2026-01-09-12-37-19
+.. gh-issue: 143602
+.. nonce: V8vQpj
+.. section: Library
+
+Fix a inconsistency issue in :meth:`~io.RawIOBase.write` that leads to
+unexpected buffer overwrite by deduplicating the buffer exports.
+
+..
+
+.. date: 2026-01-08-14-53-46
+.. gh-issue: 143547
+.. nonce: wHBVlr
+.. section: Library
+
+Fix :func:`sys.unraisablehook` when the hook raises an exception and changes
+:func:`sys.unraisablehook`: hold a strong reference to the old hook. Patch
+by Victor Stinner.
+
+..
+
+.. date: 2026-01-03-19-41-36
+.. gh-issue: 143378
+.. nonce: 29AvE7
+.. section: Library
+
+Fix use-after-free crashes when a :class:`~io.BytesIO` object is
+concurrently mutated during :meth:`~io.RawIOBase.write` or
+:meth:`~io.IOBase.writelines`.
+
+..
+
+.. date: 2026-01-02-12-55-52
+.. gh-issue: 143346
+.. nonce: iTekce
+.. section: Library
+
+Fix incorrect wrapping of the Base64 data in :class:`!plistlib._PlistWriter`
+when the indent contains a mix of tabs and spaces.
+
+..
+
+.. date: 2026-01-01-11-21-57
+.. gh-issue: 143310
+.. nonce: 8rxtH3
+.. section: Library
+
+:mod:`tkinter`: fix a crash when a Python :class:`list` is mutated during
+the conversion to a Tcl object (e.g., when setting a Tcl variable). Patch by
+Bénédikt Tran.
+
+..
+
+.. date: 2025-12-31-20-43-02
+.. gh-issue: 143309
+.. nonce: cdFxdH
+.. section: Library
+
+Fix a crash in :func:`os.execve` on non-Windows platforms when given a
+custom environment mapping which is then mutated during parsing. Patch by
+Bénédikt Tran.
+
+..
+
+.. date: 2025-12-31-17-38-33
+.. gh-issue: 143308
+.. nonce: lY8UCR
+.. section: Library
+
+:mod:`pickle`: fix use-after-free crashes when a
+:class:`~pickle.PickleBuffer` is concurrently mutated by a custom buffer
+callback during pickling. Patch by Bénédikt Tran and Aaron Wieczorek.
+
+..
+
+.. date: 2025-12-28-20-28-05
+.. gh-issue: 143237
+.. nonce: q1ymuA
+.. section: Library
+
+Fix support of named pipes in the rotating :mod:`logging` handlers.
+
+..
+
+.. date: 2025-12-28-14-41-02
+.. gh-issue: 143249
+.. nonce: K4vEp4
+.. section: Library
+
+Fix possible buffer leaks in Windows overlapped I/O on error handling.
+
+..
+
+.. date: 2025-12-28-13-49-06
+.. gh-issue: 143241
+.. nonce: 5H4b8d
+.. section: Library
+
+:mod:`zoneinfo`: fix infinite loop in :meth:`ZoneInfo.from_file
+<zoneinfo.ZoneInfo.from_file>` when parsing a malformed TZif file. Patch by
+Fatih Celik.
+
+..
+
+.. date: 2025-12-28-13-12-40
+.. gh-issue: 142830
+.. nonce: uEyd6r
+.. section: Library
+
+:mod:`sqlite3`: fix use-after-free crashes when the connection's callbacks
+are mutated during a callback execution. Patch by Bénédikt Tran.
+
+..
+
+.. date: 2025-12-27-15-41-27
+.. gh-issue: 143200
+.. nonce: 2hEUAl
+.. section: Library
+
+:mod:`xml.etree.ElementTree`: fix use-after-free crashes in
+:meth:`~object.__getitem__` and :meth:`~object.__setitem__` methods of
+:class:`~xml.etree.ElementTree.Element` when the element is concurrently
+mutated. Patch by Bénédikt Tran.
+
+..
+
+.. date: 2025-12-27-00-14-56
+.. gh-issue: 142195
+.. nonce: UgBEo5
+.. section: Library
+
+Updated timeout evaluation logic in :mod:`subprocess` to be compatible with
+deterministic environments like Shadow where time moves exactly as
+requested.
+
+..
+
+.. date: 2025-12-24-14-18-52
+.. gh-issue: 143145
+.. nonce: eXLw8D
+.. section: Library
+
+Fixed a possible reference leak in ctypes when constructing results with
+multiple output parameters on error.
+
+..
+
+.. date: 2025-12-22-22-36-21
+.. gh-issue: 122431
+.. nonce: 9E3085
+.. section: Library
+
+Corrected the error message in :func:`readline.append_history_file` to state
+that ``nelements`` must be non-negative instead of positive.
+
+..
+
+.. date: 2025-12-22-00-00-00
+.. gh-issue: 143004
+.. nonce: uaf-counter
+.. section: Library
+
+Fix a potential use-after-free in :meth:`collections.Counter.update` when
+user code mutates the Counter during an update.
+
+..
+
+.. date: 2025-12-21-17-44-28
+.. gh-issue: 143046
+.. nonce: GBa5Ip
+.. section: Library
+
+The :mod:`asyncio` REPL no longer prints copyright and version messages in
+the quiet mode (:option:`-q`). Patch by Bartosz Sławecki.
+
+..
+
+.. date: 2025-12-21-17-24-29
+.. gh-issue: 140648
+.. nonce: i8dca6
+.. section: Library
+
+The :mod:`asyncio` REPL now respects the :option:`-I` flag (isolated mode).
+Previously, it would load and execute :envvar:`PYTHONSTARTUP` even if the
+flag was set. Contributed by Bartosz Sławecki.
+
+..
+
+.. date: 2025-12-20-10-21-23
+.. gh-issue: 142991
+.. nonce: jYHD9E
+.. section: Library
+
+Fixed socket operations such as recvfrom() and sendto() for FreeBSD
+divert(4) socket.
+
+..
+
+.. date: 2025-12-20-01-49-02
+.. gh-issue: 143010
+.. nonce: _-SWX0
+.. section: Library
+
+Fixed a bug in :mod:`mailbox` where the precise timing of an external event
+could result in the library opening an existing file instead of a file it
+expected to create.
+
+..
+
+.. date: 2025-12-17-20-18-17
+.. gh-issue: 142881
+.. nonce: 5IizIQ
+.. section: Library
+
+Fix concurrent and reentrant call of :func:`atexit.unregister`.
+
+..
+
+.. date: 2025-12-17-14-41-09
+.. gh-issue: 112127
+.. nonce: 13OHQk
+.. section: Library
+
+Fix possible use-after-free in :func:`atexit.unregister` when the callback
+is unregistered during comparison.
+
+..
+
+.. date: 2025-12-16-14-49-19
+.. gh-issue: 142783
+.. nonce: VPV1ig
+.. section: Library
+
+Fix zoneinfo use-after-free with descriptor _weak_cache. a descriptor as
+_weak_cache could cause crashes during object creation. The fix ensures
+proper reference counting for descriptor-provided objects.
+
+..
+
+.. date: 2025-12-16-11-55-55
+.. gh-issue: 142754
+.. nonce: xuCrt3
+.. section: Library
+
+Add the *ownerDocument* attribute to :mod:`xml.dom.minidom` elements and
+attributes created by directly instantiating the ``Element`` or ``Attr``
+class. Note that this way of creating nodes is not supported; creator
+functions like :py:meth:`xml.dom.Document.documentElement` should be used
+instead.
+
+..
+
+.. date: 2025-12-16-04-39-27
+.. gh-issue: 142784
+.. nonce: HBGJag
+.. section: Library
+
+The :mod:`asyncio` REPL now properly closes the loop upon the end of
+interactive session. Previously, it could cause surprising warnings.
+Contributed by Bartosz Sławecki.
+
+..
+
+.. date: 2025-12-15-02-02-45
+.. gh-issue: 142555
+.. nonce: EC9QN_
+.. section: Library
+
+:mod:`array`: fix a crash in ``a[i] = v`` when converting *i* to an index
+via :meth:`i.__index__ <object.__index__>` or :meth:`i.__float__
+<object.__float__>` mutates the array.
+
+..
+
+.. date: 2025-12-14-18-30-48
+.. gh-issue: 142594
+.. nonce: belDmD
+.. section: Library
+
+Fix crash in ``TextIOWrapper.close()`` when the underlying buffer's
+``closed`` property calls :meth:`~io.TextIOBase.detach`.
+
+..
+
+.. date: 2025-12-14-10-00-23
+.. gh-issue: 142451
+.. nonce: _rkf2S
+.. section: Library
+
+:mod:`hmac`: Ensure that the :attr:`HMAC.block_size <hmac.HMAC.block_size>`
+attribute is correctly copied by :meth:`HMAC.copy <hmac.HMAC.copy>`. Patch
+by Bénédikt Tran.
+
+..
+
+.. date: 2025-12-13-23-26-42
+.. gh-issue: 142495
+.. nonce: I88Uv_
+.. section: Library
+
+:class:`collections.defaultdict` now prioritizes :meth:`~object.__setitem__`
+when inserting default values from ``default_factory``. This prevents race
+conditions where a default value would overwrite a value set before
+``default_factory`` returns.
+
+..
+
+.. date: 2025-12-13-06-17-44
+.. gh-issue: 142651
+.. nonce: ZRtBu4
+.. section: Library
+
+:mod:`unittest.mock`: fix a thread safety issue where :attr:`Mock.call_count
+<unittest.mock.Mock.call_count>` may return inaccurate values when the mock
+is called concurrently from multiple threads.
+
+..
+
+.. date: 2025-12-12-02-56-26
+.. gh-issue: 142595
+.. nonce: wHvTqq
+.. section: Library
+
+Added type check during initialization of the :mod:`decimal` module to
+prevent a crash in case of broken stdlib. Patch by Sergey B Kirpichev.
+
+..
+
+.. date: 2025-12-10-10-00-06
+.. gh-issue: 142517
+.. nonce: fG4hbe
+.. section: Library
+
+The non-``compat32`` :mod:`email` policies now correctly handle refolding
+encoded words that contain bytes that can not be decoded in their specified
+character set. Previously this resulted in an encoding exception during
+folding.
+
+..
+
+.. date: 2025-12-09-14-40-45
+.. gh-issue: 112527
+.. nonce: Tvf5Zk
+.. section: Library
+
+The help text for required options in :mod:`argparse` no longer extended
+with " (default: None)".
+
+..
+
+.. date: 2025-12-07-02-36-24
+.. gh-issue: 142315
+.. nonce: 02o5E_
+.. section: Library
+
+Pdb can now run scripts from anonymous pipes used in process substitution.
+Patch by Bartosz Sławecki.
+
+..
+
+.. date: 2025-12-05-18-26-50
+.. gh-issue: 142282
+.. nonce: g6RQUN
+.. section: Library
+
+Fix :func:`winreg.QueryValueEx` to not accidentally read garbage buffer
+under race condition.
+
+..
+
+.. date: 2025-12-05-16-39-17
+.. gh-issue: 75949
+.. nonce: pHxW98
+.. section: Library
+
+Fix :mod:`argparse` to preserve ``|`` separators in mutually exclusive
+groups when the usage line wraps due to length.
+
+..
+
+.. date: 2025-12-04-09-22-31
+.. gh-issue: 68552
+.. nonce: I_v-xB
+.. section: Library
+
+``MisplacedEnvelopeHeaderDefect`` and ``Missing header name`` defects are
+now correctly passed to the ``handle_defect`` method of ``policy`` in
+:class:`~email.parser.FeedParser`.
+
+..
+
+.. date: 2025-11-27-10-49-13
+.. gh-issue: 142006
+.. nonce: nzJDG5
+.. section: Library
+
+Fix a bug in the :mod:`email.policy.default` folding algorithm which
+incorrectly resulted in a doubled newline when a line ending at exactly
+max_line_length was followed by an unfoldable token.
+
+..
+
+.. date: 2025-11-18-15-48-13
+.. gh-issue: 105836
+.. nonce: sbUw24
+.. section: Library
+
+Fix :meth:`asyncio.run_coroutine_threadsafe` leaving underlying cancelled
+asyncio task running.
+
+..
+
+.. date: 2025-10-12-12-05-52
+.. gh-issue: 139971
+.. nonce: UdoStU
+.. section: Library
+
+:mod:`pydoc`: Ensure that the link to the online documentation of a
+:term:`stdlib` module is correct.
+
+..
+
+.. date: 2025-09-23-16-41-21
+.. gh-issue: 139262
+.. nonce: RO0E98
+.. section: Library
+
+Some keystrokes can be swallowed in the new ``PyREPL`` on Windows,
+especially when used together with the ALT key. Fix by Chris Eibl.
+
+..
+
+.. date: 2025-09-14-22-26-50
+.. gh-issue: 138897
+.. nonce: vnUb_L
+.. section: Library
+
+Improved :data:`license`/:data:`copyright`/:data:`credits` display in the
+:term:`REPL`: now uses a pager.
+
+..
+
+.. date: 2025-07-29-11-37-22
+.. gh-issue: 79986
+.. nonce: fnJbE_
+.. section: Library
+
+Add parsing for ``References`` and ``In-Reply-To`` headers to the
+:mod:`email` library that parses the header content as lists of message id
+tokens. This prevents them from being folded incorrectly.
+
+..
+
+.. date: 2025-06-22-18-57-19
+.. gh-issue: 109263
+.. nonce: f92V95
+.. section: Library
+
+Starting a process from spawn context in :mod:`multiprocessing` no longer
+sets the start method globally.
+
+..
+
+.. date: 2025-05-20-21-45-58
+.. gh-issue: 90871
+.. nonce: Gkvtp6
+.. section: Library
+
+Fixed an off by one error concerning the backlog parameter in
+:meth:`~asyncio.loop.create_unix_server`. Contributed by Christian Harries.
+
+..
+
+.. date: 2025-05-05-10-41-41
+.. gh-issue: 133253
+.. nonce: J5-xDD
+.. section: Library
+
+Fix thread-safety issues in :mod:`linecache`.
+
+..
+
+.. date: 2025-04-19-17-34-11
+.. gh-issue: 132715
+.. nonce: XXl47F
+.. section: Library
+
+Skip writing objects during marshalling once a failure has occurred.
+
+..
+
+.. date: 2024-12-02-19-13-19
+.. gh-issue: 127529
+.. nonce: Pj1Xtf
+.. section: Library
+
+Correct behavior of
+:func:`!asyncio.selector_events.BaseSelectorEventLoop._accept_connection` in
+handling :exc:`ConnectionAbortedError` in a loop. This improves performance
+on OpenBSD.
+
+..
+
+.. date: 2026-01-13-01-21-20
+.. gh-issue: 143774
+.. nonce: rqGwX1
+.. section: IDLE
+
+Better explain the operation of Format / Format Paragraph.
+
+..
+
+.. date: 2025-10-30-19-28-42
+.. gh-issue: 140806
+.. nonce: RBT9YH
+.. section: Documentation
+
+Add documentation for :func:`enum.bin`.
+
+..
+
+.. date: 2026-01-29-02-18-08
+.. gh-issue: 144307
+.. nonce: CLbm_o
+.. section: Core and Builtins
+
+Prevent a reference leak in module teardown at interpreter finalization.
+
+..
+
+.. date: 2026-01-23-20-20-42
+.. gh-issue: 144194
+.. nonce: IbXfxd
+.. section: Core and Builtins
+
+Fix error handling in perf jitdump initialization on memory allocation
+failure.
+
+..
+
+.. date: 2026-01-13-22-26-49
+.. gh-issue: 141805
+.. nonce: QzIKPS
+.. section: Core and Builtins
+
+Fix crash in :class:`set` when objects with the same hash are concurrently
+added to the set after removing an element with the same hash while the set
+still contains elements with the same hash.
+
+..
+
+.. date: 2026-01-11-20-11-36
+.. gh-issue: 143670
+.. nonce: klnGoD
+.. section: Core and Builtins
+
+Fixes a crash in ``ga_repr_items_list`` function.
+
+..
+
+.. date: 2026-01-04-16-56-17
+.. gh-issue: 143377
+.. nonce: YJqMCa
+.. section: Core and Builtins
+
+Fix a crash in :func:`!_interpreters.capture_exception` when the exception
+is incorrectly formatted. Patch by Bénédikt Tran.
+
+..
+
+.. date: 2025-12-30-06-48-48
+.. gh-issue: 143189
+.. nonce: in_sv2
+.. section: Core and Builtins
+
+Fix crash when inserting a non-:class:`str` key into a split table
+dictionary when the key matches an existing key in the split table but has
+no corresponding value in the dict.
+
+..
+
+.. date: 2025-12-27-23-57-43
+.. gh-issue: 143228
+.. nonce: m3EF9E
+.. section: Core and Builtins
+
+Fix use-after-free in perf trampoline when toggling profiling while threads
+are running or during interpreter finalization with daemon threads active.
+The fix uses reference counting to ensure trampolines are not freed while
+any code object could still reference them. Pach by Pablo Galindo
+
+..
+
+.. date: 2025-12-27-13-18-12
+.. gh-issue: 142664
+.. nonce: peeEDV
+.. section: Core and Builtins
+
+Fix a use-after-free crash in :meth:`memoryview.__hash__ <object.__hash__>`
+when the ``__hash__`` method of the referenced object mutates that object or
+the view. Patch by Bénédikt Tran.
+
+..
+
+.. date: 2025-12-27-12-25-06
+.. gh-issue: 142557
+.. nonce: KWOc8b
+.. section: Core and Builtins
+
+Fix a use-after-free crash in :ref:`bytearray.__mod__ <bytes-formatting>`
+when the :class:`!bytearray` is mutated while formatting the ``%``-style
+arguments. Patch by Bénédikt Tran.
+
+..
+
+.. date: 2025-12-27-10-14-26
+.. gh-issue: 143195
+.. nonce: MNldfr
+.. section: Core and Builtins
+
+Fix use-after-free crashes in :meth:`bytearray.hex` and
+:meth:`memoryview.hex` when the separator's :meth:`~object.__len__` mutates
+the original object. Patch by Bénédikt Tran.
+
+..
+
+.. date: 2025-12-24-11-39-59
+.. gh-issue: 143135
+.. nonce: 3d5ovx
+.. section: Core and Builtins
+
+Set :data:`sys.flags.inspect` to ``1`` when :envvar:`PYTHONINSPECT` is
+``0``. Previously, it was set to ``0`` in this case.
+
+..
+
+.. date: 2025-12-23-00-13-02
+.. gh-issue: 143003
+.. nonce: 92g5qW
+.. section: Core and Builtins
+
+Fix an overflow of the shared empty buffer in :meth:`bytearray.extend` when
+``__length_hint__()`` returns 0 for non-empty iterator.
+
+..
+
+.. date: 2025-12-22-22-37-53
+.. gh-issue: 143006
+.. nonce: ZBQwbN
+.. section: Core and Builtins
+
+Fix a possible assertion error when comparing negative non-integer ``float``
+and ``int`` with the same number of bits in the integer part.
+
+..
+
+.. date: 2025-12-18-01-00-14
+.. gh-issue: 142776
+.. nonce: ACaoeP
+.. section: Core and Builtins
+
+Fix a file descriptor leak in import.c
+
+..
+
+.. date: 2025-12-17-19-45-10
+.. gh-issue: 142829
+.. nonce: ICtLXy
+.. section: Core and Builtins
+
+Fix a use-after-free crash in :class:`contextvars.Context` comparison when a
+custom ``__eq__`` method modifies the context via
+:meth:`~contextvars.ContextVar.set`.
+
+..
+
+.. date: 2025-12-16-11-56-20
+.. gh-issue: 142766
+.. nonce: Uy2HTm
+.. section: Core and Builtins
+
+Clear the frame of a generator when :meth:`generator.close` is called.
+
+..
+
+.. date: 2025-12-15-15-01-21
+.. gh-issue: 142737
+.. nonce: xYXzeB
+.. section: Core and Builtins
+
+Tracebacks will be displayed in fallback mode even if :func:`io.open` is
+lost. Previously, this would crash the interpreter. Patch by Bartosz
+Sławecki.
+
+..
+
+.. date: 2025-12-13-17-20-38
+.. gh-issue: 142554
+.. nonce: wNtEFF
+.. section: Core and Builtins
+
+Fix a crash in :func:`divmod` when :func:`!_pylong.int_divmod` does not
+return a tuple of length two exactly. Patch by Bénédikt Tran.
+
+..
+
+.. date: 2025-12-11-22-59-33
+.. gh-issue: 142560
+.. nonce: GkJrkk
+.. section: Core and Builtins
+
+Fix use-after-free in :class:`bytearray` search-like methods
+(:meth:`~bytearray.find`, :meth:`~bytearray.count`,
+:meth:`~bytearray.index`, :meth:`~bytearray.rindex`, and
+:meth:`~bytearray.rfind`) by marking the storage as exported which causes
+reallocation attempts to raise :exc:`BufferError`. For
+:func:`~operator.contains`, :meth:`~bytearray.split`, and
+:meth:`~bytearray.rsplit` the :ref:`buffer protocol <bufferobjects>` is used
+for this.
+
+..
+
+.. date: 2025-12-08-13-04-37
+.. gh-issue: 142343
+.. nonce: BTAyML
+.. section: Core and Builtins
+
+Fix SIGILL crash on m68k due to incorrect assembly constraint.
+
+..
+
+.. date: 2025-11-19-16-40-24
+.. gh-issue: 141732
+.. nonce: PTetqp
+.. section: Core and Builtins
+
+Ensure the :meth:`~object.__repr__` for :exc:`ExceptionGroup` and
+:exc:`BaseExceptionGroup` does not change when the exception sequence that
+was original passed in to its constructor is subsequently mutated.
+
+..
+
+.. date: 2025-11-06-05-21-25
+.. gh-issue: 100964
+.. nonce: TxPf1b
+.. section: Core and Builtins
+
+Fix reference cycle in exhausted generator frames. Patch by Savannah
+Ostrowski.
+
+..
+
+.. date: 2025-10-29-20-59-10
+.. gh-issue: 140373
+.. nonce: -uoaPP
+.. section: Core and Builtins
+
+Correctly emit ``PY_UNWIND`` event when generator object is closed. Patch by
+Mikhail Efimov.
+
+..
+
+.. date: 2025-09-06-08-29-08
+.. gh-issue: 138568
+.. nonce: iZlalC
+.. section: Core and Builtins
+
+Adjusted the built-in :func:`help` function so that empty inputs are ignored
+in interactive mode.
+
+..
+
+.. date: 2024-12-13-15-21-45
+.. gh-issue: 127773
+.. nonce: E-DZR4
+.. section: Core and Builtins
+
+Do not use the type attribute cache for types with incompatible :term:`MRO`.
+
+..
+
+.. date: 2025-12-11-09-06-36
+.. gh-issue: 142571
+.. nonce: Csdxnn
+.. section: C API
+
+:c:func:`!PyUnstable_CopyPerfMapFile` now checks that opening the file
+succeeded before flushing.
+
+..
+
+.. date: 2025-12-09-13-33-46
+.. gh-issue: 142454
+.. nonce: cqUxzQ
+.. section: Build
+
+When calculating the digest of the JIT stencils input, sort the hashed files
+by filenames before adding their content to the hasher. This ensures
+deterministic hash input and hence deterministic hash, independent on
+filesystem order.
+
+..
+
+.. date: 2025-11-20-23-15-39
+.. gh-issue: 141808
+.. nonce: NEewZC
+.. section: Build
+
+When running ``make clean-retain-profile``, keep the generated JIT stencils.
+That way, the stencils are not generated twice when Profile-guided
+optimization (PGO) is used. It also allows distributors to supply their own
+pre-built JIT stencils.
+
+..
+
+.. date: 2025-08-27-09-52-45
+.. gh-issue: 138061
+.. nonce: fMVS9w
+.. section: Build
+
+Ensure reproducible builds by making JIT stencil header generation
+deterministic.
diff --git a/Misc/NEWS.d/next/Build/2025-08-27-09-52-45.gh-issue-138061.fMVS9w.rst b/Misc/NEWS.d/next/Build/2025-08-27-09-52-45.gh-issue-138061.fMVS9w.rst
deleted file mode 100644
index 7af79d0..0000000
--- a/Misc/NEWS.d/next/Build/2025-08-27-09-52-45.gh-issue-138061.fMVS9w.rst
+++ /dev/null
@@ -1 +0,0 @@
-Ensure reproducible builds by making JIT stencil header generation deterministic.
diff --git a/Misc/NEWS.d/next/Build/2025-11-20-23-15-39.gh-issue-141808.NEewZC.rst b/Misc/NEWS.d/next/Build/2025-11-20-23-15-39.gh-issue-141808.NEewZC.rst
deleted file mode 100644
index 73220e1..0000000
--- a/Misc/NEWS.d/next/Build/2025-11-20-23-15-39.gh-issue-141808.NEewZC.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-When running ``make clean-retain-profile``, keep the
-generated JIT stencils. That way, the stencils are not generated twice when
-Profile-guided optimization (PGO) is used. It also allows distributors to
-supply their own pre-built JIT stencils.
diff --git a/Misc/NEWS.d/next/Build/2025-12-09-13-33-46.gh-issue-142454.cqUxzQ.rst b/Misc/NEWS.d/next/Build/2025-12-09-13-33-46.gh-issue-142454.cqUxzQ.rst
deleted file mode 100644
index 4de1686..0000000
--- a/Misc/NEWS.d/next/Build/2025-12-09-13-33-46.gh-issue-142454.cqUxzQ.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-When calculating the digest of the JIT stencils input, sort the hashed files
-by filenames before adding their content to the hasher. This ensures
-deterministic hash input and hence deterministic hash, independent on
-filesystem order.
diff --git a/Misc/NEWS.d/next/C API/2025-12-11-09-06-36.gh-issue-142571.Csdxnn.rst b/Misc/NEWS.d/next/C API/2025-12-11-09-06-36.gh-issue-142571.Csdxnn.rst
deleted file mode 100644
index ea419b4..0000000
--- a/Misc/NEWS.d/next/C API/2025-12-11-09-06-36.gh-issue-142571.Csdxnn.rst
+++ /dev/null
@@ -1 +0,0 @@
-:c:func:`!PyUnstable_CopyPerfMapFile` now checks that opening the file succeeded before flushing.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2024-12-13-15-21-45.gh-issue-127773.E-DZR4.rst b/Misc/NEWS.d/next/Core and Builtins/2024-12-13-15-21-45.gh-issue-127773.E-DZR4.rst
deleted file mode 100644
index 7e68b3f..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2024-12-13-15-21-45.gh-issue-127773.E-DZR4.rst
+++ /dev/null
@@ -1 +0,0 @@
-Do not use the type attribute cache for types with incompatible :term:`MRO`.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-09-06-08-29-08.gh-issue-138568.iZlalC.rst b/Misc/NEWS.d/next/Core and Builtins/2025-09-06-08-29-08.gh-issue-138568.iZlalC.rst
deleted file mode 100644
index 8a91631..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-09-06-08-29-08.gh-issue-138568.iZlalC.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Adjusted the built-in :func:`help` function so that empty inputs are ignored in
-interactive mode.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-10-29-20-59-10.gh-issue-140373.-uoaPP.rst b/Misc/NEWS.d/next/Core and Builtins/2025-10-29-20-59-10.gh-issue-140373.-uoaPP.rst
deleted file mode 100644
index c9a9703..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-10-29-20-59-10.gh-issue-140373.-uoaPP.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Correctly emit ``PY_UNWIND`` event when generator object is closed. Patch by
-Mikhail Efimov.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-11-06-05-21-25.gh-issue-100964.TxPf1b.rst b/Misc/NEWS.d/next/Core and Builtins/2025-11-06-05-21-25.gh-issue-100964.TxPf1b.rst
deleted file mode 100644
index 7c554cf..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-11-06-05-21-25.gh-issue-100964.TxPf1b.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix reference cycle in exhausted generator frames. Patch by Savannah Ostrowski.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-11-19-16-40-24.gh-issue-141732.PTetqp.rst b/Misc/NEWS.d/next/Core and Builtins/2025-11-19-16-40-24.gh-issue-141732.PTetqp.rst
deleted file mode 100644
index 08420fd..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-11-19-16-40-24.gh-issue-141732.PTetqp.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Ensure the :meth:`~object.__repr__` for :exc:`ExceptionGroup` and :exc:`BaseExceptionGroup` does
-not change when the exception sequence that was original passed in to its constructor is subsequently mutated.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-12-08-13-04-37.gh-issue-142343.BTAyML.rst b/Misc/NEWS.d/next/Core and Builtins/2025-12-08-13-04-37.gh-issue-142343.BTAyML.rst
deleted file mode 100644
index 9da936c..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-12-08-13-04-37.gh-issue-142343.BTAyML.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix SIGILL crash on m68k due to incorrect assembly constraint.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-12-11-22-59-33.gh-issue-142560.GkJrkk.rst b/Misc/NEWS.d/next/Core and Builtins/2025-12-11-22-59-33.gh-issue-142560.GkJrkk.rst
deleted file mode 100644
index 9c06572..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-12-11-22-59-33.gh-issue-142560.GkJrkk.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix use-after-free in :class:`bytearray` search-like methods (:meth:`~bytearray.find`, :meth:`~bytearray.count`, :meth:`~bytearray.index`, :meth:`~bytearray.rindex`, and :meth:`~bytearray.rfind`) by marking the storage as exported which causes reallocation attempts to raise :exc:`BufferError`. For :func:`~operator.contains`, :meth:`~bytearray.split`, and :meth:`~bytearray.rsplit` the :ref:`buffer protocol <bufferobjects>` is used for this.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-12-13-17-20-38.gh-issue-142554.wNtEFF.rst b/Misc/NEWS.d/next/Core and Builtins/2025-12-13-17-20-38.gh-issue-142554.wNtEFF.rst
deleted file mode 100644
index d0aafe2..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-12-13-17-20-38.gh-issue-142554.wNtEFF.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix a crash in :func:`divmod` when :func:`!_pylong.int_divmod` does not
-return a tuple of length two exactly. Patch by Bénédikt Tran.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-12-15-15-01-21.gh-issue-142737.xYXzeB.rst b/Misc/NEWS.d/next/Core and Builtins/2025-12-15-15-01-21.gh-issue-142737.xYXzeB.rst
deleted file mode 100644
index 8b743d1..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-12-15-15-01-21.gh-issue-142737.xYXzeB.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Tracebacks will be displayed in fallback mode even if :func:`io.open` is lost.
-Previously, this would crash the interpreter.
-Patch by Bartosz Sławecki.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-12-16-11-56-20.gh-issue-142766.Uy2HTm.rst b/Misc/NEWS.d/next/Core and Builtins/2025-12-16-11-56-20.gh-issue-142766.Uy2HTm.rst
deleted file mode 100644
index 6a14976..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-12-16-11-56-20.gh-issue-142766.Uy2HTm.rst
+++ /dev/null
@@ -1 +0,0 @@
-Clear the frame of a generator when :meth:`generator.close` is called.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-12-17-19-45-10.gh-issue-142829.ICtLXy.rst b/Misc/NEWS.d/next/Core and Builtins/2025-12-17-19-45-10.gh-issue-142829.ICtLXy.rst
deleted file mode 100644
index b850030..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-12-17-19-45-10.gh-issue-142829.ICtLXy.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix a use-after-free crash in :class:`contextvars.Context` comparison when a
-custom ``__eq__`` method modifies the context via
-:meth:`~contextvars.ContextVar.set`.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-12-18-01-00-14.gh-issue-142776.ACaoeP.rst b/Misc/NEWS.d/next/Core and Builtins/2025-12-18-01-00-14.gh-issue-142776.ACaoeP.rst
deleted file mode 100644
index 3039b04..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-12-18-01-00-14.gh-issue-142776.ACaoeP.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix a file descriptor leak in import.c
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-12-22-22-37-53.gh-issue-143006.ZBQwbN.rst b/Misc/NEWS.d/next/Core and Builtins/2025-12-22-22-37-53.gh-issue-143006.ZBQwbN.rst
deleted file mode 100644
index f256203..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-12-22-22-37-53.gh-issue-143006.ZBQwbN.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix a possible assertion error when comparing negative non-integer ``float``
-and ``int`` with the same number of bits in the integer part.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-12-23-00-13-02.gh-issue-143003.92g5qW.rst b/Misc/NEWS.d/next/Core and Builtins/2025-12-23-00-13-02.gh-issue-143003.92g5qW.rst
deleted file mode 100644
index 30df3c5..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-12-23-00-13-02.gh-issue-143003.92g5qW.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix an overflow of the shared empty buffer in :meth:`bytearray.extend` when
-``__length_hint__()`` returns 0 for non-empty iterator.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-12-24-11-39-59.gh-issue-143135.3d5ovx.rst b/Misc/NEWS.d/next/Core and Builtins/2025-12-24-11-39-59.gh-issue-143135.3d5ovx.rst
deleted file mode 100644
index 2ff08b4..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-12-24-11-39-59.gh-issue-143135.3d5ovx.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Set :data:`sys.flags.inspect` to ``1`` when :envvar:`PYTHONINSPECT` is ``0``.
-Previously, it was set to ``0`` in this case.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-12-27-10-14-26.gh-issue-143195.MNldfr.rst b/Misc/NEWS.d/next/Core and Builtins/2025-12-27-10-14-26.gh-issue-143195.MNldfr.rst
deleted file mode 100644
index 66dc5e2..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-12-27-10-14-26.gh-issue-143195.MNldfr.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix use-after-free crashes in :meth:`bytearray.hex` and :meth:`memoryview.hex`
-when the separator's :meth:`~object.__len__` mutates the original object.
-Patch by Bénédikt Tran.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-12-27-12-25-06.gh-issue-142557.KWOc8b.rst b/Misc/NEWS.d/next/Core and Builtins/2025-12-27-12-25-06.gh-issue-142557.KWOc8b.rst
deleted file mode 100644
index b7f7a58..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-12-27-12-25-06.gh-issue-142557.KWOc8b.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix a use-after-free crash in :ref:`bytearray.__mod__ <bytes-formatting>` when
-the :class:`!bytearray` is mutated while formatting the ``%``-style arguments.
-Patch by Bénédikt Tran.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-12-27-13-18-12.gh-issue-142664.peeEDV.rst b/Misc/NEWS.d/next/Core and Builtins/2025-12-27-13-18-12.gh-issue-142664.peeEDV.rst
deleted file mode 100644
index 39c2183..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-12-27-13-18-12.gh-issue-142664.peeEDV.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix a use-after-free crash in :meth:`memoryview.__hash__ <object.__hash__>`
-when the ``__hash__`` method of the referenced object mutates that object or
-the view. Patch by Bénédikt Tran.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-12-27-23-57-43.gh-issue-143228.m3EF9E.rst b/Misc/NEWS.d/next/Core and Builtins/2025-12-27-23-57-43.gh-issue-143228.m3EF9E.rst
deleted file mode 100644
index 893bc29..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-12-27-23-57-43.gh-issue-143228.m3EF9E.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-Fix use-after-free in perf trampoline when toggling profiling while
-threads are running or during interpreter finalization with daemon threads
-active. The fix uses reference counting to ensure trampolines are not freed
-while any code object could still reference them. Pach by Pablo Galindo
diff --git a/Misc/NEWS.d/next/Core and Builtins/2025-12-30-06-48-48.gh-issue-143189.in_sv2.rst b/Misc/NEWS.d/next/Core and Builtins/2025-12-30-06-48-48.gh-issue-143189.in_sv2.rst
deleted file mode 100644
index 706b9de..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2025-12-30-06-48-48.gh-issue-143189.in_sv2.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix crash when inserting a non-:class:`str` key into a split table
-dictionary when the key matches an existing key in the split table
-but has no corresponding value in the dict.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2026-01-04-16-56-17.gh-issue-143377.YJqMCa.rst b/Misc/NEWS.d/next/Core and Builtins/2026-01-04-16-56-17.gh-issue-143377.YJqMCa.rst
deleted file mode 100644
index fc58554..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2026-01-04-16-56-17.gh-issue-143377.YJqMCa.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix a crash in :func:`!_interpreters.capture_exception` when
-the exception is incorrectly formatted. Patch by Bénédikt Tran.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2026-01-11-20-11-36.gh-issue-143670.klnGoD.rst b/Misc/NEWS.d/next/Core and Builtins/2026-01-11-20-11-36.gh-issue-143670.klnGoD.rst
deleted file mode 100644
index 4ce0e71..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2026-01-11-20-11-36.gh-issue-143670.klnGoD.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fixes a crash in ``ga_repr_items_list`` function.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2026-01-13-22-26-49.gh-issue-141805.QzIKPS.rst b/Misc/NEWS.d/next/Core and Builtins/2026-01-13-22-26-49.gh-issue-141805.QzIKPS.rst
deleted file mode 100644
index 8878d87..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2026-01-13-22-26-49.gh-issue-141805.QzIKPS.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix crash in :class:`set` when objects with the same hash are concurrently
-added to the set after removing an element with the same hash while the set
-still contains elements with the same hash.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2026-01-23-20-20-42.gh-issue-144194.IbXfxd.rst b/Misc/NEWS.d/next/Core and Builtins/2026-01-23-20-20-42.gh-issue-144194.IbXfxd.rst
deleted file mode 100644
index 1f33284..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2026-01-23-20-20-42.gh-issue-144194.IbXfxd.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix error handling in perf jitdump initialization on memory allocation failure.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2026-01-29-02-18-08.gh-issue-144307.CLbm_o.rst b/Misc/NEWS.d/next/Core and Builtins/2026-01-29-02-18-08.gh-issue-144307.CLbm_o.rst
deleted file mode 100644
index d6928e6..0000000
--- a/Misc/NEWS.d/next/Core and Builtins/2026-01-29-02-18-08.gh-issue-144307.CLbm_o.rst
+++ /dev/null
@@ -1 +0,0 @@
-Prevent a reference leak in module teardown at interpreter finalization.
diff --git a/Misc/NEWS.d/next/Documentation/2025-10-30-19-28-42.gh-issue-140806.RBT9YH.rst b/Misc/NEWS.d/next/Documentation/2025-10-30-19-28-42.gh-issue-140806.RBT9YH.rst
deleted file mode 100644
index 82bdf05..0000000
--- a/Misc/NEWS.d/next/Documentation/2025-10-30-19-28-42.gh-issue-140806.RBT9YH.rst
+++ /dev/null
@@ -1 +0,0 @@
-Add documentation for :func:`enum.bin`.
diff --git a/Misc/NEWS.d/next/IDLE/2026-01-13-01-21-20.gh-issue-143774.rqGwX1.rst b/Misc/NEWS.d/next/IDLE/2026-01-13-01-21-20.gh-issue-143774.rqGwX1.rst
deleted file mode 100644
index dd15d16..0000000
--- a/Misc/NEWS.d/next/IDLE/2026-01-13-01-21-20.gh-issue-143774.rqGwX1.rst
+++ /dev/null
@@ -1 +0,0 @@
-Better explain the operation of Format / Format Paragraph.
diff --git a/Misc/NEWS.d/next/Library/2024-12-02-19-13-19.gh-issue-127529.Pj1Xtf.rst b/Misc/NEWS.d/next/Library/2024-12-02-19-13-19.gh-issue-127529.Pj1Xtf.rst
deleted file mode 100644
index 26f2fd5..0000000
--- a/Misc/NEWS.d/next/Library/2024-12-02-19-13-19.gh-issue-127529.Pj1Xtf.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-Correct behavior of
-:func:`!asyncio.selector_events.BaseSelectorEventLoop._accept_connection`
-in handling :exc:`ConnectionAbortedError` in a loop. This improves
-performance on OpenBSD.
diff --git a/Misc/NEWS.d/next/Library/2025-04-19-17-34-11.gh-issue-132715.XXl47F.rst b/Misc/NEWS.d/next/Library/2025-04-19-17-34-11.gh-issue-132715.XXl47F.rst
deleted file mode 100644
index 191b4f1..0000000
--- a/Misc/NEWS.d/next/Library/2025-04-19-17-34-11.gh-issue-132715.XXl47F.rst
+++ /dev/null
@@ -1 +0,0 @@
-Skip writing objects during marshalling once a failure has occurred.
diff --git a/Misc/NEWS.d/next/Library/2025-05-05-10-41-41.gh-issue-133253.J5-xDD.rst b/Misc/NEWS.d/next/Library/2025-05-05-10-41-41.gh-issue-133253.J5-xDD.rst
deleted file mode 100644
index 7009ca2..0000000
--- a/Misc/NEWS.d/next/Library/2025-05-05-10-41-41.gh-issue-133253.J5-xDD.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix thread-safety issues in :mod:`linecache`.
diff --git a/Misc/NEWS.d/next/Library/2025-05-20-21-45-58.gh-issue-90871.Gkvtp6.rst b/Misc/NEWS.d/next/Library/2025-05-20-21-45-58.gh-issue-90871.Gkvtp6.rst
deleted file mode 100644
index 49397c9..0000000
--- a/Misc/NEWS.d/next/Library/2025-05-20-21-45-58.gh-issue-90871.Gkvtp6.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fixed an off by one error concerning the backlog parameter in
-:meth:`~asyncio.loop.create_unix_server`. Contributed by Christian Harries.
diff --git a/Misc/NEWS.d/next/Library/2025-06-22-18-57-19.gh-issue-109263.f92V95.rst b/Misc/NEWS.d/next/Library/2025-06-22-18-57-19.gh-issue-109263.f92V95.rst
deleted file mode 100644
index 6b96b5b..0000000
--- a/Misc/NEWS.d/next/Library/2025-06-22-18-57-19.gh-issue-109263.f92V95.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Starting a process from spawn context in :mod:`multiprocessing` no longer
-sets the start method globally.
diff --git a/Misc/NEWS.d/next/Library/2025-07-29-11-37-22.gh-issue-79986.fnJbE_.rst b/Misc/NEWS.d/next/Library/2025-07-29-11-37-22.gh-issue-79986.fnJbE_.rst
deleted file mode 100644
index 327bbf8..0000000
--- a/Misc/NEWS.d/next/Library/2025-07-29-11-37-22.gh-issue-79986.fnJbE_.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Add parsing for ``References`` and ``In-Reply-To`` headers to the :mod:`email`
-library that parses the header content as lists of message id tokens. This
-prevents them from being folded incorrectly.
diff --git a/Misc/NEWS.d/next/Library/2025-09-14-22-26-50.gh-issue-138897.vnUb_L.rst b/Misc/NEWS.d/next/Library/2025-09-14-22-26-50.gh-issue-138897.vnUb_L.rst
deleted file mode 100644
index 779c886..0000000
--- a/Misc/NEWS.d/next/Library/2025-09-14-22-26-50.gh-issue-138897.vnUb_L.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Improved :data:`license`/:data:`copyright`/:data:`credits` display in the
-:term:`REPL`: now uses a pager.
diff --git a/Misc/NEWS.d/next/Library/2025-09-23-16-41-21.gh-issue-139262.RO0E98.rst b/Misc/NEWS.d/next/Library/2025-09-23-16-41-21.gh-issue-139262.RO0E98.rst
deleted file mode 100644
index 628fa0e..0000000
--- a/Misc/NEWS.d/next/Library/2025-09-23-16-41-21.gh-issue-139262.RO0E98.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Some keystrokes can be swallowed in the new ``PyREPL`` on Windows,
-especially when used together with the ALT key. Fix by Chris Eibl.
diff --git a/Misc/NEWS.d/next/Library/2025-10-12-12-05-52.gh-issue-139971.UdoStU.rst b/Misc/NEWS.d/next/Library/2025-10-12-12-05-52.gh-issue-139971.UdoStU.rst
deleted file mode 100644
index 720397e..0000000
--- a/Misc/NEWS.d/next/Library/2025-10-12-12-05-52.gh-issue-139971.UdoStU.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-:mod:`pydoc`: Ensure that the link to the online documentation of a
-:term:`stdlib` module is correct.
diff --git a/Misc/NEWS.d/next/Library/2025-11-18-15-48-13.gh-issue-105836.sbUw24.rst b/Misc/NEWS.d/next/Library/2025-11-18-15-48-13.gh-issue-105836.sbUw24.rst
deleted file mode 100644
index d2edc5b..0000000
--- a/Misc/NEWS.d/next/Library/2025-11-18-15-48-13.gh-issue-105836.sbUw24.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix :meth:`asyncio.run_coroutine_threadsafe` leaving underlying cancelled
-asyncio task running.
diff --git a/Misc/NEWS.d/next/Library/2025-11-27-10-49-13.gh-issue-142006.nzJDG5.rst b/Misc/NEWS.d/next/Library/2025-11-27-10-49-13.gh-issue-142006.nzJDG5.rst
deleted file mode 100644
index 4964389..0000000
--- a/Misc/NEWS.d/next/Library/2025-11-27-10-49-13.gh-issue-142006.nzJDG5.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix a bug in the :mod:`email.policy.default` folding algorithm which incorrectly resulted in a doubled newline when a line ending at exactly max_line_length was followed by an unfoldable token.
diff --git a/Misc/NEWS.d/next/Library/2025-12-04-09-22-31.gh-issue-68552.I_v-xB.rst b/Misc/NEWS.d/next/Library/2025-12-04-09-22-31.gh-issue-68552.I_v-xB.rst
deleted file mode 100644
index bd3e53c..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-04-09-22-31.gh-issue-68552.I_v-xB.rst
+++ /dev/null
@@ -1 +0,0 @@
-``MisplacedEnvelopeHeaderDefect`` and ``Missing header name`` defects are now correctly passed to the ``handle_defect`` method of ``policy`` in :class:`~email.parser.FeedParser`.
diff --git a/Misc/NEWS.d/next/Library/2025-12-05-16-39-17.gh-issue-75949.pHxW98.rst b/Misc/NEWS.d/next/Library/2025-12-05-16-39-17.gh-issue-75949.pHxW98.rst
deleted file mode 100644
index 5ca3fc0..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-05-16-39-17.gh-issue-75949.pHxW98.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix :mod:`argparse` to preserve ``|`` separators in mutually exclusive groups when the usage line wraps due to length.
diff --git a/Misc/NEWS.d/next/Library/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
deleted file mode 100644
index d038cd4..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-05-18-26-50.gh-issue-142282.g6RQUN.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix :func:`winreg.QueryValueEx` to not accidentally read garbage buffer under race condition.
diff --git a/Misc/NEWS.d/next/Library/2025-12-07-02-36-24.gh-issue-142315.02o5E_.rst b/Misc/NEWS.d/next/Library/2025-12-07-02-36-24.gh-issue-142315.02o5E_.rst
deleted file mode 100644
index e9c5ba3..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-07-02-36-24.gh-issue-142315.02o5E_.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Pdb can now run scripts from anonymous pipes used in process substitution.
-Patch by Bartosz Sławecki.
diff --git a/Misc/NEWS.d/next/Library/2025-12-09-14-40-45.gh-issue-112527.Tvf5Zk.rst b/Misc/NEWS.d/next/Library/2025-12-09-14-40-45.gh-issue-112527.Tvf5Zk.rst
deleted file mode 100644
index 70447bc..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-09-14-40-45.gh-issue-112527.Tvf5Zk.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-The help text for required options in :mod:`argparse` no
-longer extended with " (default: None)".
diff --git a/Misc/NEWS.d/next/Library/2025-12-10-10-00-06.gh-issue-142517.fG4hbe.rst b/Misc/NEWS.d/next/Library/2025-12-10-10-00-06.gh-issue-142517.fG4hbe.rst
deleted file mode 100644
index d58e532..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-10-10-00-06.gh-issue-142517.fG4hbe.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-The non-``compat32`` :mod:`email` policies now correctly handle refolding
-encoded words that contain bytes that can not be decoded in their specified
-character set. Previously this resulted in an encoding exception during
-folding.
diff --git a/Misc/NEWS.d/next/Library/2025-12-12-02-56-26.gh-issue-142595.wHvTqq.rst b/Misc/NEWS.d/next/Library/2025-12-12-02-56-26.gh-issue-142595.wHvTqq.rst
deleted file mode 100644
index 987e1ae..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-12-02-56-26.gh-issue-142595.wHvTqq.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Added type check during initialization of the :mod:`decimal` module to
-prevent a crash in case of broken stdlib. Patch by Sergey B Kirpichev.
diff --git a/Misc/NEWS.d/next/Library/2025-12-13-06-17-44.gh-issue-142651.ZRtBu4.rst b/Misc/NEWS.d/next/Library/2025-12-13-06-17-44.gh-issue-142651.ZRtBu4.rst
deleted file mode 100644
index 236900b..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-13-06-17-44.gh-issue-142651.ZRtBu4.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-:mod:`unittest.mock`: fix a thread safety issue where :attr:`Mock.call_count
-<unittest.mock.Mock.call_count>` may return inaccurate values when the mock
-is called concurrently from multiple threads.
diff --git a/Misc/NEWS.d/next/Library/2025-12-13-23-26-42.gh-issue-142495.I88Uv_.rst b/Misc/NEWS.d/next/Library/2025-12-13-23-26-42.gh-issue-142495.I88Uv_.rst
deleted file mode 100644
index 3e1a624..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-13-23-26-42.gh-issue-142495.I88Uv_.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-:class:`collections.defaultdict` now prioritizes :meth:`~object.__setitem__`
-when inserting default values from ``default_factory``. This prevents race
-conditions where a default value would overwrite a value set before
-``default_factory`` returns.
diff --git a/Misc/NEWS.d/next/Library/2025-12-14-10-00-23.gh-issue-142451._rkf2S.rst b/Misc/NEWS.d/next/Library/2025-12-14-10-00-23.gh-issue-142451._rkf2S.rst
deleted file mode 100644
index cceb572..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-14-10-00-23.gh-issue-142451._rkf2S.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-:mod:`hmac`: Ensure that the :attr:`HMAC.block_size <hmac.HMAC.block_size>`
-attribute is correctly copied by :meth:`HMAC.copy <hmac.HMAC.copy>`. Patch
-by Bénédikt Tran.
diff --git a/Misc/NEWS.d/next/Library/2025-12-14-18-30-48.gh-issue-142594.belDmD.rst b/Misc/NEWS.d/next/Library/2025-12-14-18-30-48.gh-issue-142594.belDmD.rst
deleted file mode 100644
index ee6a958..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-14-18-30-48.gh-issue-142594.belDmD.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix crash in ``TextIOWrapper.close()`` when the underlying buffer's
-``closed`` property calls :meth:`~io.TextIOBase.detach`.
diff --git a/Misc/NEWS.d/next/Library/2025-12-15-02-02-45.gh-issue-142555.EC9QN_.rst b/Misc/NEWS.d/next/Library/2025-12-15-02-02-45.gh-issue-142555.EC9QN_.rst
deleted file mode 100644
index 72cc7c6..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-15-02-02-45.gh-issue-142555.EC9QN_.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-:mod:`array`: fix a crash in ``a[i] = v`` when converting *i* to
-an index via :meth:`i.__index__ <object.__index__>` or :meth:`i.__float__
-<object.__float__>` mutates the array.
diff --git a/Misc/NEWS.d/next/Library/2025-12-16-04-39-27.gh-issue-142784.HBGJag.rst b/Misc/NEWS.d/next/Library/2025-12-16-04-39-27.gh-issue-142784.HBGJag.rst
deleted file mode 100644
index 92a723c..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-16-04-39-27.gh-issue-142784.HBGJag.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-The :mod:`asyncio` REPL now properly closes the loop upon the end of interactive session.
-Previously, it could cause surprising warnings.
-Contributed by Bartosz Sławecki.
diff --git a/Misc/NEWS.d/next/Library/2025-12-16-11-55-55.gh-issue-142754.xuCrt3.rst b/Misc/NEWS.d/next/Library/2025-12-16-11-55-55.gh-issue-142754.xuCrt3.rst
deleted file mode 100644
index d4e158c..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-16-11-55-55.gh-issue-142754.xuCrt3.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-Add the *ownerDocument* attribute to :mod:`xml.dom.minidom` elements and attributes
-created by directly instantiating the ``Element`` or ``Attr`` class. Note that
-this way of creating nodes is not supported; creator functions like
-:py:meth:`xml.dom.Document.documentElement` should be used instead.
diff --git a/Misc/NEWS.d/next/Library/2025-12-16-14-49-19.gh-issue-142783.VPV1ig.rst b/Misc/NEWS.d/next/Library/2025-12-16-14-49-19.gh-issue-142783.VPV1ig.rst
deleted file mode 100644
index f014771..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-16-14-49-19.gh-issue-142783.VPV1ig.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix zoneinfo use-after-free with descriptor _weak_cache. a descriptor as _weak_cache could cause crashes during object creation. The fix ensures proper reference counting for descriptor-provided objects.
diff --git a/Misc/NEWS.d/next/Library/2025-12-17-14-41-09.gh-issue-112127.13OHQk.rst b/Misc/NEWS.d/next/Library/2025-12-17-14-41-09.gh-issue-112127.13OHQk.rst
deleted file mode 100644
index c983683..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-17-14-41-09.gh-issue-112127.13OHQk.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix possible use-after-free in :func:`atexit.unregister` when the callback
-is unregistered during comparison.
diff --git a/Misc/NEWS.d/next/Library/2025-12-17-20-18-17.gh-issue-142881.5IizIQ.rst b/Misc/NEWS.d/next/Library/2025-12-17-20-18-17.gh-issue-142881.5IizIQ.rst
deleted file mode 100644
index 02f22d3..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-17-20-18-17.gh-issue-142881.5IizIQ.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix concurrent and reentrant call of :func:`atexit.unregister`.
diff --git a/Misc/NEWS.d/next/Library/2025-12-20-01-49-02.gh-issue-143010._-SWX0.rst b/Misc/NEWS.d/next/Library/2025-12-20-01-49-02.gh-issue-143010._-SWX0.rst
deleted file mode 100644
index 4914d0b..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-20-01-49-02.gh-issue-143010._-SWX0.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fixed a bug in :mod:`mailbox` where the precise timing of an external event could result in the library opening an existing file instead of a file it expected to create.
diff --git a/Misc/NEWS.d/next/Library/2025-12-20-10-21-23.gh-issue-142991.jYHD9E.rst b/Misc/NEWS.d/next/Library/2025-12-20-10-21-23.gh-issue-142991.jYHD9E.rst
deleted file mode 100644
index 2c76bb4..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-20-10-21-23.gh-issue-142991.jYHD9E.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fixed socket operations such as recvfrom() and sendto() for FreeBSD
-divert(4) socket.
diff --git a/Misc/NEWS.d/next/Library/2025-12-21-17-24-29.gh-issue-140648.i8dca6.rst b/Misc/NEWS.d/next/Library/2025-12-21-17-24-29.gh-issue-140648.i8dca6.rst
deleted file mode 100644
index 9e56f09..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-21-17-24-29.gh-issue-140648.i8dca6.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-The :mod:`asyncio` REPL now respects the :option:`-I` flag (isolated mode).
-Previously, it would load and execute :envvar:`PYTHONSTARTUP` even if the
-flag was set. Contributed by Bartosz Sławecki.
diff --git a/Misc/NEWS.d/next/Library/2025-12-21-17-44-28.gh-issue-143046.GBa5Ip.rst b/Misc/NEWS.d/next/Library/2025-12-21-17-44-28.gh-issue-143046.GBa5Ip.rst
deleted file mode 100644
index ac819a4..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-21-17-44-28.gh-issue-143046.GBa5Ip.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-The :mod:`asyncio` REPL no longer prints copyright and version messages in
-the quiet mode (:option:`-q`). Patch by Bartosz Sławecki.
diff --git a/Misc/NEWS.d/next/Library/2025-12-22-00-00-00.gh-issue-143004.uaf-counter.rst b/Misc/NEWS.d/next/Library/2025-12-22-00-00-00.gh-issue-143004.uaf-counter.rst
deleted file mode 100644
index 278066e..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-22-00-00-00.gh-issue-143004.uaf-counter.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix a potential use-after-free in :meth:`collections.Counter.update` when user code
-mutates the Counter during an update.
diff --git a/Misc/NEWS.d/next/Library/2025-12-22-22-36-21.gh-issue-122431.9E3085.rst b/Misc/NEWS.d/next/Library/2025-12-22-22-36-21.gh-issue-122431.9E3085.rst
deleted file mode 100644
index 8936ac9..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-22-22-36-21.gh-issue-122431.9E3085.rst
+++ /dev/null
@@ -1 +0,0 @@
-Corrected the error message in :func:`readline.append_history_file` to state that ``nelements`` must be non-negative instead of positive.
diff --git a/Misc/NEWS.d/next/Library/2025-12-24-14-18-52.gh-issue-143145.eXLw8D.rst b/Misc/NEWS.d/next/Library/2025-12-24-14-18-52.gh-issue-143145.eXLw8D.rst
deleted file mode 100644
index 2aff109..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-24-14-18-52.gh-issue-143145.eXLw8D.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fixed a possible reference leak in ctypes when constructing results with multiple output parameters on error.
diff --git a/Misc/NEWS.d/next/Library/2025-12-27-00-14-56.gh-issue-142195.UgBEo5.rst b/Misc/NEWS.d/next/Library/2025-12-27-00-14-56.gh-issue-142195.UgBEo5.rst
deleted file mode 100644
index b2b1ffe..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-27-00-14-56.gh-issue-142195.UgBEo5.rst
+++ /dev/null
@@ -1 +0,0 @@
-Updated timeout evaluation logic in :mod:`subprocess` to be compatible with deterministic environments like Shadow where time moves exactly as requested.
diff --git a/Misc/NEWS.d/next/Library/2025-12-27-15-41-27.gh-issue-143200.2hEUAl.rst b/Misc/NEWS.d/next/Library/2025-12-27-15-41-27.gh-issue-143200.2hEUAl.rst
deleted file mode 100644
index 8b24dec..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-27-15-41-27.gh-issue-143200.2hEUAl.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-:mod:`xml.etree.ElementTree`: fix use-after-free crashes in
-:meth:`~object.__getitem__` and :meth:`~object.__setitem__` methods of
-:class:`~xml.etree.ElementTree.Element` when the element is concurrently
-mutated. Patch by Bénédikt Tran.
diff --git a/Misc/NEWS.d/next/Library/2025-12-28-13-12-40.gh-issue-142830.uEyd6r.rst b/Misc/NEWS.d/next/Library/2025-12-28-13-12-40.gh-issue-142830.uEyd6r.rst
deleted file mode 100644
index 246979e..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-28-13-12-40.gh-issue-142830.uEyd6r.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-:mod:`sqlite3`: fix use-after-free crashes when the connection's callbacks
-are mutated during a callback execution. Patch by Bénédikt Tran.
diff --git a/Misc/NEWS.d/next/Library/2025-12-28-13-49-06.gh-issue-143241.5H4b8d.rst b/Misc/NEWS.d/next/Library/2025-12-28-13-49-06.gh-issue-143241.5H4b8d.rst
deleted file mode 100644
index 7170a06..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-28-13-49-06.gh-issue-143241.5H4b8d.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-:mod:`zoneinfo`: fix infinite loop in :meth:`ZoneInfo.from_file
-<zoneinfo.ZoneInfo.from_file>` when parsing a malformed TZif file. Patch by Fatih Celik.
diff --git a/Misc/NEWS.d/next/Library/2025-12-28-14-41-02.gh-issue-143249.K4vEp4.rst b/Misc/NEWS.d/next/Library/2025-12-28-14-41-02.gh-issue-143249.K4vEp4.rst
deleted file mode 100644
index d50d9e3..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-28-14-41-02.gh-issue-143249.K4vEp4.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix possible buffer leaks in Windows overlapped I/O on error handling.
diff --git a/Misc/NEWS.d/next/Library/2025-12-28-20-28-05.gh-issue-143237.q1ymuA.rst b/Misc/NEWS.d/next/Library/2025-12-28-20-28-05.gh-issue-143237.q1ymuA.rst
deleted file mode 100644
index 131bebc..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-28-20-28-05.gh-issue-143237.q1ymuA.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix support of named pipes in the rotating :mod:`logging` handlers.
diff --git a/Misc/NEWS.d/next/Library/2025-12-31-17-38-33.gh-issue-143308.lY8UCR.rst b/Misc/NEWS.d/next/Library/2025-12-31-17-38-33.gh-issue-143308.lY8UCR.rst
deleted file mode 100644
index 5db43b3..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-31-17-38-33.gh-issue-143308.lY8UCR.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-:mod:`pickle`: fix use-after-free crashes when a :class:`~pickle.PickleBuffer`
-is concurrently mutated by a custom buffer callback during pickling.
-Patch by Bénédikt Tran and Aaron Wieczorek.
diff --git a/Misc/NEWS.d/next/Library/2025-12-31-20-43-02.gh-issue-143309.cdFxdH.rst b/Misc/NEWS.d/next/Library/2025-12-31-20-43-02.gh-issue-143309.cdFxdH.rst
deleted file mode 100644
index 5f30ed3..0000000
--- a/Misc/NEWS.d/next/Library/2025-12-31-20-43-02.gh-issue-143309.cdFxdH.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix a crash in :func:`os.execve` on non-Windows platforms when
-given a custom environment mapping which is then mutated during
-parsing. Patch by Bénédikt Tran.
diff --git a/Misc/NEWS.d/next/Library/2026-01-01-11-21-57.gh-issue-143310.8rxtH3.rst b/Misc/NEWS.d/next/Library/2026-01-01-11-21-57.gh-issue-143310.8rxtH3.rst
deleted file mode 100644
index 32d4862..0000000
--- a/Misc/NEWS.d/next/Library/2026-01-01-11-21-57.gh-issue-143310.8rxtH3.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-:mod:`tkinter`: fix a crash when a Python :class:`list` is mutated during
-the conversion to a Tcl object (e.g., when setting a Tcl variable).
-Patch by Bénédikt Tran.
diff --git a/Misc/NEWS.d/next/Library/2026-01-02-12-55-52.gh-issue-143346.iTekce.rst b/Misc/NEWS.d/next/Library/2026-01-02-12-55-52.gh-issue-143346.iTekce.rst
deleted file mode 100644
index 93c45ee..0000000
--- a/Misc/NEWS.d/next/Library/2026-01-02-12-55-52.gh-issue-143346.iTekce.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix incorrect wrapping of the Base64 data in :class:`!plistlib._PlistWriter`
-when the indent contains a mix of tabs and spaces.
diff --git a/Misc/NEWS.d/next/Library/2026-01-03-19-41-36.gh-issue-143378.29AvE7.rst b/Misc/NEWS.d/next/Library/2026-01-03-19-41-36.gh-issue-143378.29AvE7.rst
deleted file mode 100644
index 57bbb4d..0000000
--- a/Misc/NEWS.d/next/Library/2026-01-03-19-41-36.gh-issue-143378.29AvE7.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix use-after-free crashes when a :class:`~io.BytesIO` object is concurrently mutated during :meth:`~io.RawIOBase.write` or :meth:`~io.IOBase.writelines`.
diff --git a/Misc/NEWS.d/next/Library/2026-01-08-14-53-46.gh-issue-143547.wHBVlr.rst b/Misc/NEWS.d/next/Library/2026-01-08-14-53-46.gh-issue-143547.wHBVlr.rst
deleted file mode 100644
index 934570b..0000000
--- a/Misc/NEWS.d/next/Library/2026-01-08-14-53-46.gh-issue-143547.wHBVlr.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix :func:`sys.unraisablehook` when the hook raises an exception and changes
-:func:`sys.unraisablehook`: hold a strong reference to the old hook. Patch
-by Victor Stinner.
diff --git a/Misc/NEWS.d/next/Library/2026-01-09-12-37-19.gh-issue-143602.V8vQpj.rst b/Misc/NEWS.d/next/Library/2026-01-09-12-37-19.gh-issue-143602.V8vQpj.rst
deleted file mode 100644
index 0eaec90..0000000
--- a/Misc/NEWS.d/next/Library/2026-01-09-12-37-19.gh-issue-143602.V8vQpj.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix a inconsistency issue in :meth:`~io.RawIOBase.write` that leads to
-unexpected buffer overwrite by deduplicating the buffer exports.
diff --git a/Misc/NEWS.d/next/Library/2026-01-10-10-04-08.gh-issue-78724.xkXfxX.rst b/Misc/NEWS.d/next/Library/2026-01-10-10-04-08.gh-issue-78724.xkXfxX.rst
deleted file mode 100644
index 8a4bec4..0000000
--- a/Misc/NEWS.d/next/Library/2026-01-10-10-04-08.gh-issue-78724.xkXfxX.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Raise :exc:`RuntimeError`'s when user attempts to call methods on
-half-initialized :class:`~struct.Struct` objects, For example, created by
-``Struct.__new__(Struct)``. Patch by Sergey B Kirpichev.
diff --git a/Misc/NEWS.d/next/Library/2026-01-10-16-42-47.gh-issue-143638.du5G7d.rst b/Misc/NEWS.d/next/Library/2026-01-10-16-42-47.gh-issue-143638.du5G7d.rst
deleted file mode 100644
index fd71db9..0000000
--- a/Misc/NEWS.d/next/Library/2026-01-10-16-42-47.gh-issue-143638.du5G7d.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-Forbid reentrant calls of the :class:`pickle.Pickler` and
-:class:`pickle.Unpickler` methods for the C implementation. Previously, this
-could cause crash or data corruption, now concurrent calls of methods of the
-same object raise :exc:`RuntimeError`.
diff --git a/Misc/NEWS.d/next/Library/2026-01-12-07-17-38.gh-issue-143706.sysArgv.rst b/Misc/NEWS.d/next/Library/2026-01-12-07-17-38.gh-issue-143706.sysArgv.rst
deleted file mode 100644
index 5bdefbb..0000000
--- a/Misc/NEWS.d/next/Library/2026-01-12-07-17-38.gh-issue-143706.sysArgv.rst
+++ /dev/null
@@ -1,5 +0,0 @@
-Fix :mod:`multiprocessing` forkserver so that :data:`sys.argv` is correctly
-set before ``__main__`` is preloaded. Previously, :data:`sys.argv` was empty
-during main module import in forkserver child processes. This fixes a
-regression introduced in 3.13.8 and 3.14.1. Root caused by Aaron Wieczorek,
-test provided by Thomas Watson, thanks!
diff --git a/Misc/NEWS.d/next/Library/2026-01-18-14-35-37.gh-issue-143999.MneN4O.rst b/Misc/NEWS.d/next/Library/2026-01-18-14-35-37.gh-issue-143999.MneN4O.rst
deleted file mode 100644
index dc87411..0000000
--- a/Misc/NEWS.d/next/Library/2026-01-18-14-35-37.gh-issue-143999.MneN4O.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix an issue where :func:`inspect.getgeneratorstate` and :func:`inspect.getcoroutinestate` could fail for generators wrapped by :func:`types.coroutine` in the suspended state.
diff --git a/Misc/NEWS.d/next/Library/2026-01-19-00-57-40.gh-issue-144023.29XUcp.rst b/Misc/NEWS.d/next/Library/2026-01-19-00-57-40.gh-issue-144023.29XUcp.rst
deleted file mode 100644
index 0d06506..0000000
--- a/Misc/NEWS.d/next/Library/2026-01-19-00-57-40.gh-issue-144023.29XUcp.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fixed validation of file descriptor 0 in posix functions when used with
-follow_symlinks parameter.
diff --git a/Misc/NEWS.d/next/Library/2026-01-20-16-35-55.gh-issue-144050.0kKFbF.rst b/Misc/NEWS.d/next/Library/2026-01-20-16-35-55.gh-issue-144050.0kKFbF.rst
deleted file mode 100644
index dfc062d..0000000
--- a/Misc/NEWS.d/next/Library/2026-01-20-16-35-55.gh-issue-144050.0kKFbF.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix :func:`stat.filemode` in the pure-Python implementation to avoid misclassifying
-invalid mode values as block devices.
diff --git a/Misc/NEWS.d/next/Library/2026-01-21-19-39-07.gh-issue-144100.hLMZ8Y.rst b/Misc/NEWS.d/next/Library/2026-01-21-19-39-07.gh-issue-144100.hLMZ8Y.rst
deleted file mode 100644
index 7093b75..0000000
--- a/Misc/NEWS.d/next/Library/2026-01-21-19-39-07.gh-issue-144100.hLMZ8Y.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Fixed a crash in ctypes when using a deprecated ``POINTER(str)`` type in
-``argtypes``. Instead of aborting, ctypes now raises a proper Python
-exception when the pointer target type is unresolved.
diff --git a/Misc/NEWS.d/next/Library/2026-01-23-06-43-21.gh-issue-144169.LFy9yi.rst b/Misc/NEWS.d/next/Library/2026-01-23-06-43-21.gh-issue-144169.LFy9yi.rst
deleted file mode 100644
index e2ef3d7..0000000
--- a/Misc/NEWS.d/next/Library/2026-01-23-06-43-21.gh-issue-144169.LFy9yi.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix three crashes when non-string keyword arguments are supplied to objects
-in the :mod:`ast` module.
diff --git a/Misc/NEWS.d/next/Library/2026-02-01-15-25-00.gh-issue-144380.U7py_s.rst b/Misc/NEWS.d/next/Library/2026-02-01-15-25-00.gh-issue-144380.U7py_s.rst
deleted file mode 100644
index 4b5b1b3..0000000
--- a/Misc/NEWS.d/next/Library/2026-02-01-15-25-00.gh-issue-144380.U7py_s.rst
+++ /dev/null
@@ -1 +0,0 @@
-Improve performance of :class:`io.BufferedReader` line iteration by ~49%.
diff --git a/Misc/NEWS.d/next/Security/2026-01-16-11-07-36.gh-issue-143916.dpWeOD.rst b/Misc/NEWS.d/next/Security/2026-01-16-11-07-36.gh-issue-143916.dpWeOD.rst
deleted file mode 100644
index 44bd0b2..0000000
--- a/Misc/NEWS.d/next/Security/2026-01-16-11-07-36.gh-issue-143916.dpWeOD.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Reject C0 control characters within wsgiref.headers.Headers fields, values,
-and parameters.
diff --git a/Misc/NEWS.d/next/Security/2026-01-16-11-13-15.gh-issue-143919.kchwZV.rst b/Misc/NEWS.d/next/Security/2026-01-16-11-13-15.gh-issue-143919.kchwZV.rst
deleted file mode 100644
index 788c3e4..0000000
--- a/Misc/NEWS.d/next/Security/2026-01-16-11-13-15.gh-issue-143919.kchwZV.rst
+++ /dev/null
@@ -1 +0,0 @@
-Reject control characters in :class:`http.cookies.Morsel` fields and values.
diff --git a/Misc/NEWS.d/next/Security/2026-01-16-11-51-19.gh-issue-143925.mrtcHW.rst b/Misc/NEWS.d/next/Security/2026-01-16-11-51-19.gh-issue-143925.mrtcHW.rst
deleted file mode 100644
index 46109df..0000000
--- a/Misc/NEWS.d/next/Security/2026-01-16-11-51-19.gh-issue-143925.mrtcHW.rst
+++ /dev/null
@@ -1 +0,0 @@
-Reject control characters in ``data:`` URL media types.
diff --git a/Misc/NEWS.d/next/Security/2026-01-16-14-40-31.gh-issue-143935.U2YtKl.rst b/Misc/NEWS.d/next/Security/2026-01-16-14-40-31.gh-issue-143935.U2YtKl.rst
deleted file mode 100644
index c3d8649..0000000
--- a/Misc/NEWS.d/next/Security/2026-01-16-14-40-31.gh-issue-143935.U2YtKl.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-Fixed a bug in the folding of comments when flattening an email message
-using a modern email policy. Comments consisting of a very long sequence of
-non-foldable characters could trigger a forced line wrap that omitted the
-required leading space on the continuation line, causing the remainder of
-the comment to be interpreted as a new header field. This enabled header
-injection with carefully crafted inputs.
diff --git a/Misc/NEWS.d/next/Security/2026-01-21-12-34-05.gh-issue-144125.TAz5uo.rst b/Misc/NEWS.d/next/Security/2026-01-21-12-34-05.gh-issue-144125.TAz5uo.rst
deleted file mode 100644
index e6333e7..0000000
--- a/Misc/NEWS.d/next/Security/2026-01-21-12-34-05.gh-issue-144125.TAz5uo.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-:mod:`~email.generator.BytesGenerator` will now refuse to serialize (write) headers
-that are unsafely folded or delimited; see
-:attr:`~email.policy.Policy.verify_generated_headers`. (Contributed by Bas
-Bloemsaat and Petr Viktorin in :gh:`121650`).
diff --git a/Misc/NEWS.d/next/Tests/2020-09-29-23-14-01.bpo-31391.IZr2P8.rst b/Misc/NEWS.d/next/Tests/2020-09-29-23-14-01.bpo-31391.IZr2P8.rst
deleted file mode 100644
index 60b7fdc..0000000
--- a/Misc/NEWS.d/next/Tests/2020-09-29-23-14-01.bpo-31391.IZr2P8.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Forward-port test_xpickle from Python 2 to Python 3 and add the resource
-back to test's command line.
diff --git a/Misc/NEWS.d/next/Tests/2025-02-10-14-34-29.gh-issue-129401.Cq6Ruy.rst b/Misc/NEWS.d/next/Tests/2025-02-10-14-34-29.gh-issue-129401.Cq6Ruy.rst
deleted file mode 100644
index 7b87d54..0000000
--- a/Misc/NEWS.d/next/Tests/2025-02-10-14-34-29.gh-issue-129401.Cq6Ruy.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix a flaky test in ``test_repr_rlock`` that checks the representation of :class:`multiprocessing.RLock`.
diff --git a/Misc/NEWS.d/next/Tests/2025-12-17-02-02-57.gh-issue-142836.mR-fvK.rst b/Misc/NEWS.d/next/Tests/2025-12-17-02-02-57.gh-issue-142836.mR-fvK.rst
deleted file mode 100644
index dd84ce9..0000000
--- a/Misc/NEWS.d/next/Tests/2025-12-17-02-02-57.gh-issue-142836.mR-fvK.rst
+++ /dev/null
@@ -1 +0,0 @@
-Accommodated Solaris in ``test_pdb.test_script_target_anonymous_pipe``.
diff --git a/Misc/NEWS.d/next/Tests/2026-01-08-11-50-06.gh-issue-143553.KyyNTt.rst b/Misc/NEWS.d/next/Tests/2026-01-08-11-50-06.gh-issue-143553.KyyNTt.rst
deleted file mode 100644
index e950905..0000000
--- a/Misc/NEWS.d/next/Tests/2026-01-08-11-50-06.gh-issue-143553.KyyNTt.rst
+++ /dev/null
@@ -1 +0,0 @@
-Add support for parametrized resources, such as ``-u xpickle=2.7``.
diff --git a/Misc/NEWS.d/next/Tests/2026-01-08-16-56-59.gh-issue-65784.aKNo1U.rst b/Misc/NEWS.d/next/Tests/2026-01-08-16-56-59.gh-issue-65784.aKNo1U.rst
deleted file mode 100644
index 7d1a153..0000000
--- a/Misc/NEWS.d/next/Tests/2026-01-08-16-56-59.gh-issue-65784.aKNo1U.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Add support for parametrized resource ``wantobjects`` in regrtests,
-which allows to run Tkinter tests with the specified value of
-:data:`!tkinter.wantobjects`, for example ``-u wantobjects=0``.
diff --git a/Misc/NEWS.d/next/Tests/2026-02-03-07-57-24.gh-issue-144415.U3L15r.rst b/Misc/NEWS.d/next/Tests/2026-02-03-07-57-24.gh-issue-144415.U3L15r.rst
deleted file mode 100644
index b3a8d46..0000000
--- a/Misc/NEWS.d/next/Tests/2026-02-03-07-57-24.gh-issue-144415.U3L15r.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-The Android testbed now distinguishes between stdout/stderr messages which
-were triggered by a newline, and those triggered by a manual call to
-``flush``. This fixes logging of progress indicators and similar content.
diff --git a/Misc/NEWS.d/next/Tools-Demos/2026-01-02-11-44-56.gh-issue-142095.4ssgnM.rst b/Misc/NEWS.d/next/Tools-Demos/2026-01-02-11-44-56.gh-issue-142095.4ssgnM.rst
deleted file mode 100644
index 196b27d..0000000
--- a/Misc/NEWS.d/next/Tools-Demos/2026-01-02-11-44-56.gh-issue-142095.4ssgnM.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Make gdb 'py-bt' command use frame from thread local state when available.
-Patch by Sam Gross and Victor Stinner.
diff --git a/Misc/NEWS.d/next/Windows/2025-09-14-13-35-44.gh-issue-128067.BGdP_A.rst b/Misc/NEWS.d/next/Windows/2025-09-14-13-35-44.gh-issue-128067.BGdP_A.rst
deleted file mode 100644
index f68cda2..0000000
--- a/Misc/NEWS.d/next/Windows/2025-09-14-13-35-44.gh-issue-128067.BGdP_A.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix a bug in PyREPL on Windows where output without a trailing newline was overwritten by the next prompt.
diff --git a/README.rst b/README.rst
index 879a542..9694fc8 100644
--- a/README.rst
+++ b/README.rst
@@ -1,4 +1,4 @@
-This is Python version 3.13.11
+This is Python version 3.13.12
==============================
.. image:: https://github.com/python/cpython/workflows/Tests/badge.svg