diff options
author | scoder <stefan_ml@behnel.de> | 2020-07-18 21:19:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-18 21:19:50 (GMT) |
commit | c53b310e5926266ce267c44a168165cacd786d6e (patch) | |
tree | 26741e4be5b2718fde92877507c111e9a8d00958 /Objects/odictobject.c | |
parent | 8ca8a2e8fb068863c1138f07e3098478ef8be12e (diff) | |
download | cpython-c53b310e5926266ce267c44a168165cacd786d6e.zip cpython-c53b310e5926266ce267c44a168165cacd786d6e.tar.gz cpython-c53b310e5926266ce267c44a168165cacd786d6e.tar.bz2 |
bpo-41295: Reimplement the Carlo Verre "hackcheck" (GH-21528)
Walk down the MRO backwards to find the type that originally defined the final `tp_setattro`, then make sure we are not jumping over intermediate C-level bases with the Python-level call.
Automerge-Triggered-By: @gvanrossum
Diffstat (limited to 'Objects/odictobject.c')
0 files changed, 0 insertions, 0 deletions