Staging
v0.5.1
https://github.com/python/cpython
Revision 01ab9634601fc1a4f9ac5d72ddc022239d2543fe authored by Miss Islington (bot) on 18 July 2020, 21:39:02 UTC, committed by GitHub on 18 July 2020, 21:39:02 UTC

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>
1 parent 27b8110
History
Tip revision: 01ab9634601fc1a4f9ac5d72ddc022239d2543fe authored by Miss Islington (bot) on 18 July 2020, 21:39:02 UTC
bpo-41295: Reimplement the Carlo Verre "hackcheck" (GH-21528)
Tip revision: 01ab963
File Mode Size
darwin
libffi_osx
_ctypes.c -rw-r--r-- 186.0 KB
_ctypes_test.c -rw-r--r-- 21.6 KB
_ctypes_test.h -rw-r--r-- 82 bytes
callbacks.c -rw-r--r-- 17.3 KB
callproc.c -rw-r--r-- 55.4 KB
cfield.c -rw-r--r-- 42.9 KB
ctypes.h -rw-r--r-- 12.9 KB
ctypes_dlfcn.h -rw-r--r-- 459 bytes
malloc_closure.c -rw-r--r-- 2.8 KB
stgdict.c -rw-r--r-- 31.3 KB

back to top