summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorscoder <stefan_ml@behnel.de>2023-11-03 11:02:39 (GMT)
committerGitHub <noreply@github.com>2023-11-03 11:02:39 (GMT)
commit24ddaee5ca112063b460e72d31b3da551a02bf0a (patch)
tree24407ff8b7373cba709e1656900d3f53b5be2d24 /Doc
parentd49aba5a7a3c695213810a9f82715809c6332df2 (diff)
downloadcpython-24ddaee5ca112063b460e72d31b3da551a02bf0a.zip
cpython-24ddaee5ca112063b460e72d31b3da551a02bf0a.tar.gz
cpython-24ddaee5ca112063b460e72d31b3da551a02bf0a.tar.bz2
gh-106168: Revert the "size before item" setting (#111683)
gh-106168: Update the size only after setting the item, to avoid temporary inconsistencies. Also remove the "what's new" sentence regarding the size setting since tuples cannot grow after allocation.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.13.rst2
1 files changed, 0 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index aa693c6..f2c1441 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -1049,8 +1049,6 @@ New Features
* 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 in :c:func:`PyTuple_SET_ITEM`, make sure that the
- tuple size is set before.
(Contributed by Victor Stinner in :gh:`106168`.)
* Add :c:func:`PyModule_Add` function: similar to