[Pyrex] __del__ not called on some objects

Andrew Straw strawman at astraw.com
Thu Sep 1 21:57:35 CEST 2005


On Aug 31, 2005, at 3:55 PM, John (J5) Palmieri wrote:

> On Sat, 2005-08-27 at 13:21 -0700, len-l at telus.net wrote:
>> On 26 Aug 2005 at 1:00, John (J5) Palmieri wrote:
>>
>> You want a __dealloc__ method for your cdef extension type. It is  
>> described in the
>> special methods section of the documentation. It is the destructor  
>> counterpart of the
>> cdef __new__, which should not be confused with the new-style class  
>> __new__.
>>
>
> I didn't see any reference to cdef __new__.  Is this in CVS or in the
> latest release?  How do I use it.

http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/version/Doc/ 
special_methods.html




More information about the Pyrex mailing list