Skip to content

Commit 866204f

Browse files
authored
gh-158401: Mention Py_INCREF() change in What's New in Python 3.14/15 (#162863)
Add "Notable changes in 3.x.y" sections.
1 parent b248bf1 commit 866204f

2 files changed

Lines changed: 78 additions & 0 deletions

File tree

‎Doc/whatsnew/3.14.rst‎

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3492,6 +3492,16 @@ Changes in the C API
34923492
.. _pythoncapi-compat project: https://github.com/python/pythoncapi-compat/
34933493

34943494

3495+
Notable changes in 3.14.1
3496+
=========================
3497+
3498+
* Add :c:func:`PyUnstable_ThreadState_SetStackProtection` and
3499+
:c:func:`PyUnstable_ThreadState_ResetStackProtection` functions to set
3500+
the stack protection base address and stack protection size of a Python
3501+
thread state.
3502+
(Contributed by Victor Stinner in :gh:`139653`.)
3503+
3504+
34953505
Notable changes in 3.14.5
34963506
=========================
34973507

@@ -3504,3 +3514,31 @@ gc
35043514
<https://github.com/python/cpython/issues/142516>`__
35053515
of significant memory pressure in production environments.
35063516
See :ref:`whatsnew314-incremental-gc` for details.
3517+
3518+
3519+
Notable changes in 3.14.10
3520+
==========================
3521+
3522+
ssl
3523+
---
3524+
3525+
* The :mod:`ssl` module now rejects TLS certificate chains that contain one
3526+
of a set of compromised eMudhra intermediate CA certificates. The affected
3527+
certificates are identified by their public key, so cross-signed copies that
3528+
reuse the same key are blocked as well. It is a defense-in-depth backstop
3529+
that applies even when an application supplies its own root CA bundle, and
3530+
regardless of whether the platform trust store has removed trust.
3531+
(Contributed by Christian Heimes in :gh:`160040` for :cve:`2026-115557`.)
3532+
3533+
3534+
Notable changes in 3.14.11
3535+
==========================
3536+
3537+
C API changes
3538+
-------------
3539+
3540+
* :c:func:`Py_INCREF`, :c:func:`Py_XINCREF`, :c:func:`Py_DECREF` and
3541+
:c:func:`Py_XDECREF` are now implemented as function calls on all limited C
3542+
API versions. Previously, they were only implemented as function calls on
3543+
the limited C API version 3.12 or newer. Patch by Victor Stinner:
3544+
(Contributed by Victor Stinner in :gh:`158401`.)

‎Doc/whatsnew/3.15.rst‎

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2937,3 +2937,43 @@ that may require changes to your code.
29372937
Use warning filters to silence them or additional :meth:`!assertWarns*`
29382938
to catch and check them.
29392939
(Contributed by Serhiy Storchaka in :gh:`143231`.)
2940+
2941+
2942+
Notable changes in 3.15.2
2943+
=========================
2944+
2945+
importlib
2946+
---------
2947+
2948+
* Threads that simultaneously perform first-time ``import package.submodule``
2949+
imports no longer risk a deadlock or spurious import errors, a regression
2950+
introduced in 3.15.0 by the fix for :gh:`83065`. A package's import lock is
2951+
now released as soon as its ``__init__`` returns.
2952+
:func:`importlib.import_module` now returns the partially initialized
2953+
module in a circular import split across threads, as the :keyword:`import`
2954+
statement already did, instead of raising ``_DeadlockError``.
2955+
(Contributed by Gregory P. Smith in :gh:`159963`.)
2956+
2957+
ssl
2958+
---
2959+
2960+
* The :mod:`ssl` module now rejects TLS certificate chains that contain one
2961+
of a set of compromised eMudhra intermediate CA certificates. The affected
2962+
certificates are identified by their public key, so cross-signed copies that
2963+
reuse the same key are blocked as well. It is a defense-in-depth backstop
2964+
that applies even when an application supplies its own root CA bundle, and
2965+
regardless of whether the platform trust store has removed trust.
2966+
(Contributed by Christian Heimes in :gh:`160040` for :cve:`2026-115557`.)
2967+
2968+
2969+
Notable changes in 3.15.3
2970+
=========================
2971+
2972+
C API changes
2973+
-------------
2974+
2975+
* :c:func:`Py_INCREF`, :c:func:`Py_XINCREF`, :c:func:`Py_DECREF` and
2976+
:c:func:`Py_XDECREF` are now implemented as function calls on all limited C
2977+
API versions. Previously, they were only implemented as function calls on
2978+
the limited C API version 3.12 or newer. Patch by Victor Stinner:
2979+
(Contributed by Victor Stinner in :gh:`158401`.)

0 commit comments

Comments
 (0)