patch builtin_getattr in case call to PyObject_GetAttr gets optimised out
just in case you need it