]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-121860: Fix crash when materializing managed dict (GH-121866) (#121867)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 16 Jul 2024 19:26:01 +0000 (21:26 +0200)
committerGitHub <noreply@github.com>
Tue, 16 Jul 2024 19:26:01 +0000 (19:26 +0000)
commit66130290846ec9438d80d99a4d1f7754e73c3078
tree4ce21f9400dbca6353028a670d8508d023e48022
parentd24ec8a47c1ea676047a1374a4ea7027c0365ea7
[3.13] gh-121860: Fix crash when materializing managed dict (GH-121866) (#121867)

The object's inline values may be marked invalid if the materialized
dict was already initialized and then deleted.
(cherry picked from commit 162b41f57757c1df40eb377985e2e877fb0f0ea3)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Lib/test/test_class.py
Misc/NEWS.d/next/Core and Builtins/2024-07-16-18-23-22.gh-issue-121860.-FTauD.rst [new file with mode: 0644]
Objects/dictobject.c