Stephen LARROQUE schrieb am 15.06.2015 um 12:34:
> I am trying to make an extension type inheriting from int or cython.int (to
> do arithmetic operations in Galois Fields). However, this causes a
> MemoryError because it seems such extension type is not freed correctly.
> Other than that, it works
Addendum: I tried to define __weakref__ and __dealloc__, but this did
nothing to solve the issue.
2015-06-15 12:34 GMT+02:00 Stephen LARROQUE :
> Hello,
>
> I am trying to make an extension type inheriting from int or cython.int (to
> do arithmetic operations in Galois Fields). However, this caus
Hello,
I am trying to make an extension type inheriting from int or cython.int (to
do arithmetic operations in Galois Fields). However, this causes a
MemoryError because it seems such extension type is not freed correctly.
Other than that, it works perfectly well.
Here is a test case to reproduce