]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-124470: Fix crash when reading from object instance dictionary while replacing...
authorDino Viehland <dinoviehland@meta.com>
Thu, 21 Nov 2024 16:41:19 +0000 (08:41 -0800)
committerGitHub <noreply@github.com>
Thu, 21 Nov 2024 16:41:19 +0000 (10:41 -0600)
commitbf542f8bb9f12f0df9481f2222b21545806dd9e1
tree41db15281aa5a0e25e63a46e80cbe50ef80cb7f6
parent3926842117feffe5d2c9727e1899bea5ae2adb28
gh-124470: Fix crash when reading from object instance dictionary while replacing it (#122489)

Delay free a dictionary when replacing it
Include/internal/pycore_gc.h
Include/internal/pycore_pymem.h
Lib/test/test_free_threading/test_dict.py
Misc/NEWS.d/next/Core_and_Builtins/2024-09-25-21-50-23.gh-issue-124470.pFr3_d.rst [new file with mode: 0644]
Objects/dictobject.c
Objects/obmalloc.c
Python/gc_free_threading.c