]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106168: Revert the "size before item" setting (#111683)
authorscoder <stefan_ml@behnel.de>
Fri, 3 Nov 2023 11:02:39 +0000 (12:02 +0100)
committerGitHub <noreply@github.com>
Fri, 3 Nov 2023 11:02:39 +0000 (11:02 +0000)
commit24ddaee5ca112063b460e72d31b3da551a02bf0a
tree24407ff8b7373cba709e1656900d3f53b5be2d24
parentd49aba5a7a3c695213810a9f82715809c6332df2
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.
Doc/whatsnew/3.13.rst
Include/internal/pycore_list.h
Objects/listobject.c