[Cython] Pure python mode

Robert Bradshaw robertwb at math.washington.edu
Fri Nov 14 18:45:54 CET 2008


On Nov 14, 2008, at 1:13 AM, Stefan Behnel wrote:

> Greg Ewing wrote:
>> Stefan Behnel wrote:
>>
>>> Not only in this case would it be nice to allow extension classes to
>>> inherit from object in Cython without any additional setup.
>>
>> What do you mean by that? Extension classes already
>> inherit from object implicitly.
>
> Yes, but you can't currently write
>
>     cdef class A(object): pass
>
> without declaring 'object' as a C class first.

Yes, that should change.

- Robert




More information about the Cython-dev mailing list