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