From 2d9f4e357ad30e002ca0c7568047e9a818b96cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20S=C5=82awecki?= Date: Thu, 1 Jan 2026 12:52:21 +0100 Subject: [PATCH 1/2] gh-143048: Remove outdated mention to `curses` in the "Interactive Mode" docs (#143049) --- Doc/tutorial/appendix.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Doc/tutorial/appendix.rst b/Doc/tutorial/appendix.rst index 5020c428741feb..2539edb51ba3a0 100644 --- a/Doc/tutorial/appendix.rst +++ b/Doc/tutorial/appendix.rst @@ -14,8 +14,7 @@ There are two variants of the interactive :term:`REPL`. The classic basic interpreter is supported on all platforms with minimal line control capabilities. -On Windows, or Unix-like systems with :mod:`curses` support, -a new interactive shell is used by default since Python 3.13. +Since Python 3.13, a new interactive shell is used by default. This one supports color, multiline editing, history browsing, and paste mode. To disable color, see :ref:`using-on-controlling-color` for details. Function keys provide some additional functionality. From 422ca074bc80a1d570d2599f733b8d8a748abf66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A9n=C3=A9dikt=20Tran?= <10796600+picnixz@users.noreply.github.com> Date: Thu, 1 Jan 2026 15:16:26 +0100 Subject: [PATCH 2/2] Amend NEWS entries for PRs GH-139553 and GH-142790 (#143329) --- .../2025-10-04-20-48-02.gh-issue-63016.EC9QN_.rst | 0 .../Library/2025-12-16-14-49-19.gh-issue-142783.VPV1ig.rst | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) rename Misc/NEWS.d/next/{Core_and_Builtins => Library}/2025-10-04-20-48-02.gh-issue-63016.EC9QN_.rst (100%) diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2025-10-04-20-48-02.gh-issue-63016.EC9QN_.rst b/Misc/NEWS.d/next/Library/2025-10-04-20-48-02.gh-issue-63016.EC9QN_.rst similarity index 100% rename from Misc/NEWS.d/next/Core_and_Builtins/2025-10-04-20-48-02.gh-issue-63016.EC9QN_.rst rename to Misc/NEWS.d/next/Library/2025-10-04-20-48-02.gh-issue-63016.EC9QN_.rst 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 index f014771ae9a146..db6de6e801f8a4 100644 --- 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 @@ -1 +1,3 @@ -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. +:mod:`zoneinfo`: fix a use-after-free crash when instantiating +:class:`~zoneinfo.ZoneInfo` objects with an invalid ``_weak_cache`` +descriptor.