in cdef subclasses
(Pauli Virtanen)
--
Message: 1
Date: Tue, 24 Sep 2013 20:43:14 +0300
From: Pauli Virtanen
To: cython-devel@python.org
Subject: Re: [Cython] Memory leak of memoryview attributes in cdef
subclasses
Mes
Dear developers,
We encountered memory leaks when using memoryview attributes in cdef subclasses
in Cython code. They can be avoided by adding a dealloc method setting the value
of the memoryview attribute to None. The problem does not occur in topmost
cdef classes.
Here's an example: (See the mo