On May 20, 2009, at 4:08 PM, Greg Ewing wrote: > OUARDA MEHDI wrote: > >> class LinearConfigurationSpaceJoint(Joint): > ... >> cdef class RzRyRxJoint(LinearConfigurationSpaceJoint): > > Unless Cython has enhanced something here, you can't > do that.
Nope, that would be quite the feat. > At least in Pyrex, an extension type can > only inherit from another built-in or extension > type, not a Python class. > > Since you're defining the base class in Cython, > there's no reason not to make it an extension type > as well. +1 - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
