From d919d29cbe19134a95d73c68d7194bba283469ac Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 30 Nov 2026 12:05:44 +0100 Subject: [PATCH] gh-158401: Mention Py_INCREF() change in What's New in Python 3.14/15 (GH-162863) Add "Notable changes in 3.x.y" sections. (cherry picked from commit 866204fc5ebf5a8ac6b08ab8b9165f62dbc6a489) Co-authored-by: Victor Stinner --- Doc/whatsnew/3.14.rst | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 04233c4c79bbf7..246898ae3fcff7 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -3490,6 +3490,16 @@ Changes in the C API .. _pythoncapi-compat project: https://github.com/python/pythoncapi-compat/ +Notable changes in 3.14.1 +========================= + +* Add :c:func:`PyUnstable_ThreadState_SetStackProtection` and + :c:func:`PyUnstable_ThreadState_ResetStackProtection` functions to set + the stack protection base address and stack protection size of a Python + thread state. + (Contributed by Victor Stinner in :gh:`139653`.) + + Notable changes in 3.14.5 ========================= @@ -3502,3 +3512,31 @@ gc `__ of significant memory pressure in production environments. See :ref:`whatsnew314-incremental-gc` for details. + + +Notable changes in 3.14.10 +========================== + +ssl +--- + +* The :mod:`ssl` module now rejects TLS certificate chains that contain one + of a set of compromised eMudhra intermediate CA certificates. The affected + certificates are identified by their public key, so cross-signed copies that + reuse the same key are blocked as well. It is a defense-in-depth backstop + that applies even when an application supplies its own root CA bundle, and + regardless of whether the platform trust store has removed trust. + (Contributed by Christian Heimes in :gh:`160040` for :cve:`2026-115557`.) + + +Notable changes in 3.14.11 +========================== + +C API changes +------------- + +* :c:func:`Py_INCREF`, :c:func:`Py_XINCREF`, :c:func:`Py_DECREF` and + :c:func:`Py_XDECREF` are now implemented as function calls on all limited C + API versions. Previously, they were only implemented as function calls on + the limited C API version 3.12 or newer. Patch by Victor Stinner: + (Contributed by Victor Stinner in :gh:`158401`.)