]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-125608: Trigger dictionary watchers when inline values change (GH-125611...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 25 Oct 2024 14:35:04 +0000 (16:35 +0200)
committerGitHub <noreply@github.com>
Fri, 25 Oct 2024 14:35:04 +0000 (14:35 +0000)
commit7b46ae92ad0e2a724ced70fb89f32b8804cf9244
tree0d56d259e54b6ba8a790d4e885516cf34fb44dba
parentdba992b03b1c4e6895e0311219518be0e52e84ca
[3.13] gh-125608: Trigger dictionary watchers when inline values change (GH-125611) (GH-125982)

Dictionary watchers on an object's attributes dictionary
(`object.__dict__`) were not triggered when the managed dictionary used
the object's inline values.
(cherry picked from commit 5989eb74463c26780632f17f221d6bf4c9372a01)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Lib/test/test_capi/test_watchers.py
Misc/NEWS.d/next/C_API/2024-10-16-19-28-23.gh-issue-125608.gTsU2g.rst [new file with mode: 0644]
Objects/dictobject.c