[Pyrex] exposing extension class attributes

Robert Bradshaw robertwb at math.washington.edu
Wed Mar 19 03:45:33 CET 2008


On Mar 18, 2008, at 6:59 PM, Greg Ewing wrote:

> Robert Bradshaw wrote:
>
>> Overriding and inheritance work for cpdef methods exactly as they  
>> do  in Python.
>
> Does that mean you've fixed the inherited method call
> problem? What approach did you use?

Yes. If the object has a dictionary, it does a lookup to see if the  
method has been overridden. It also checks a global flag that is set  
to skip this dispatching step in some cases.

- Robert




More information about the Pyrex mailing list