SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72140 0 32 Python

gh-132617: Fix `dict.update()` mutation check (gh-134815)

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.
S
Sam Gross committed
d8994b0a77cc9821772d05db00a6ab23382fa17d
Parent: 4c15505
Committed by GitHub <noreply@github.com> on 6/16/2025, 4:55:20 PM