commit | c53b310e5926266ce267c44a168165cacd786d6e | [log] [tgz] |
---|---|---|
author | scoder <stefan_ml@behnel.de> | Sat Jul 18 23:19:50 2020 +0200 |
committer | GitHub <noreply@github.com> | Sat Jul 18 14:19:50 2020 -0700 |
tree | 26741e4be5b2718fde92877507c111e9a8d00958 | |
parent | 8ca8a2e8fb068863c1138f07e3098478ef8be12e [diff] |
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