Re: [Cython] Memory leak of memoryview attributes in cdef subclasses

2013-09-25 Thread Daniel, Bruno
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

Re: [Cython] Memory leak of memoryview attributes in cdef subclasses

2013-09-24 Thread Pauli Virtanen
Hi, 18.09.2013 16:14, Daniel, Bruno kirjoitti: > 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 > c