summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.13.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/whatsnew/3.13.rst')
-rw-r--r--Doc/whatsnew/3.13.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index f3460be..c0e9e92 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -441,6 +441,12 @@ New Features
``NULL`` if the referent is no longer live.
(Contributed by Victor Stinner in :gh:`105927`.)
+* If Python is built in :ref:`debug mode <debug-build>` or :option:`with
+ assertions <--with-assertions>`, :c:func:`PyTuple_SET_ITEM` and
+ :c:func:`PyList_SET_ITEM` now check the index argument with an assertion.
+ If the assertion fails, make sure that the size is set before.
+ (Contributed by Victor Stinner in :gh:`106168`.)
+
Porting to Python 3.13
----------------------