[Pyrex] __del__ not called on some objects

len-l at telus.net len-l at telus.net
Thu Sep 1 22:22:09 CEST 2005


On 31 Aug 2005 at 18:55, 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.
> 

Sorry, I meant "def __new__". This extension type special method is described in the Pyrex documentation at

http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/version/Doc/special_methods.
html
 
Lenard Lindstrom
<len-l at telus.net>




More information about the Pyrex mailing list