Re: [Cython] [Pyrex] exposing extension class attributes

Robert Bradshaw <[email protected]>
Newsgroups gmane.comp.python.cython.devel,gmane.comp.python.pyrex
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.