Peter Todd wrote:

> If no __getattr__ is defined, __getattribute__ is essentially a
> tp_getattr slot filler:
> 
> static PyObject *__pyx_tp_getattro_3foo_foo(PyObject *o, PyObject *n) {
>     PyObject *v = __pyx_pf_3foo_3foo___getattribute__(o, n);
>     return v;
> }

What if a __getattr__ is inherited from a base class?

What if this class doesn't define a __getattr__, but
another class that inherits from it does, and doesn't
override __getattribute__?

-- 
Greg
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to