[Cython] cannot compile derived class? (cython 0.11.1)
Riccardo Murri
riccardo.murri at gmail.com
Sun Apr 19 09:39:01 CEST 2009
On Fri, Apr 17, 2009 at 8:01 PM, Robert Bradshaw
<robertwb at math.washington.edu> wrote:
> On Apr 17, 2009, at 3:54 AM, Riccardo Murri wrote:
>
>> I cannot get Cython 0.11.1 to compile the following simple example::
>>
>> $ cat a.pxd
>> cdef class A(object)
>> cdef class B(A)
>>
>> $ cat a.pyx
>> cdef class A(object):
>> pass
>>
>> cdef class B(A):
>> pass
>>
>> $ cat c.pyx
>> from a cimport B
>>
>> cdef class C(B):
>> pass
>
> [...]
>
>> Is this a bug or am I doing something wrong?
>
> No, I think this is a bug.
Reported in ticket #286: http://trac.cython.org/cython_trac/ticket/286
Riccardo
--
Riccardo Murri, via Rossée 17, 6987 Caslano (CH)
More information about the Cython-dev
mailing list