commit | 38d930f2ccbff6f93c4c54a7a6a1759266136504 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Sat Jul 18 14:37:43 2020 -0700 |
committer | GitHub <noreply@github.com> | Sat Jul 18 14:37:43 2020 -0700 |
tree | 5480be9034b0bccf541d077b8979fb022bacaefc | |
parent | 668d321476d974c4f51476b33aaca870272523bf [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 (cherry picked from commit c53b310e5926266ce267c44a168165cacd786d6e) Co-authored-by: scoder <stefan_ml@behnel.de>