SIGN IN SIGN UP

[3.13] gh-132617: Fix `dict.update()` mutation check (gh-134815) (gh-135582)

Use `ma_used` instead of `ma_keys->dk_nentries` for modification check
so that we only check if the dictionary is modified, not if new keys are
added to a different dictionary that shared the same keys object.
(cherry picked from commit d8994b0a77cc9821772d05db00a6ab23382fa17d)
S
Sam Gross committed
f33a5e891a03df416dde7afa7e3bfb2ac800f5a4
Parent: 404e8aa
Committed by GitHub <noreply@github.com> on 6/16/2025, 5:30:52 PM