diff options
author | Sam Gross <colesbury@gmail.com> | 2025-06-16 12:55:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-16 12:55:20 -0400 |
commit | d8994b0a77cc9821772d05db00a6ab23382fa17d (patch) | |
tree | 1e3d0f76db96a70443b47874b9d9324098b77c26 /Lib/encodings/punycode.py | |
parent | 4c15505071498439407483004721d0369f110229 (diff) | |
download | cpython-d8994b0a77cc9821772d05db00a6ab23382fa17d.tar.gz cpython-d8994b0a77cc9821772d05db00a6ab23382fa17d.zip |
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.
Diffstat (limited to 'Lib/encodings/punycode.py')
0 files changed, 0 insertions, 0 deletions