Hi

 

I am relatively new to Cython but making good progress I think.  However I
have the following code (skeleton) related to a library I'm wrapping:

 

cdef class foo

            .

 

 

cdef class foo2(object):

cdef foo attribute

            .

            .

def __iadd__(self, foo2 other):

self.attribute+=other.attribute               #This is defined in class foo
and works fine there

return self

 

This compiles absolutely fine (under Mingw) but crashes at runtime.

 

Any ideas?

 

Thanks

 

Phil

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to