@@ -750,13 +750,13 @@ int type_ready_graalpy_slot_conv(PyTypeObject* cls, PyObject* dict) {
750
750
751
751
// NOTE: The slots may be called from managed code, i.e., we need to wrap the functions
752
752
// and convert arguments that should be C primitives.
753
- ADD_SLOT_CONV ("__getattr__ " , cls -> tp_getattr , -2 , JWRAPPER_GETATTR );
753
+ ADD_SLOT_CONV ("__getattribute__ " , cls -> tp_getattr , -2 , JWRAPPER_GETATTR );
754
754
ADD_SLOT_CONV ("__setattr__" , cls -> tp_setattr , -3 , JWRAPPER_SETATTR );
755
755
ADD_SLOT_CONV ("__repr__" , cls -> tp_repr , -1 , JWRAPPER_REPR );
756
756
ADD_SLOT_CONV ("__hash__" , cls -> tp_hash , -1 , JWRAPPER_HASHFUNC );
757
757
ADD_SLOT_CONV ("__call__" , cls -> tp_call , METH_KEYWORDS | METH_VARARGS , JWRAPPER_CALL );
758
758
ADD_SLOT_CONV ("__str__" , cls -> tp_str , -1 , JWRAPPER_STR );
759
- ADD_SLOT_CONV ("__getattr__ " , cls -> tp_getattro , -2 , JWRAPPER_DIRECT );
759
+ ADD_SLOT_CONV ("__getattribute__ " , cls -> tp_getattro , -2 , JWRAPPER_DIRECT );
760
760
ADD_SLOT_CONV ("__setattr__" , cls -> tp_setattro , -3 , JWRAPPER_SETATTRO );
761
761
ADD_SLOT_CONV ("__clear__" , cls -> tp_clear , -1 , JWRAPPER_INQUIRY );
762
762
0 commit comments