No, use the __dealloc__ method instead. On May 24, 2008, at 10:59 AM, Johannes Wienke wrote:
Hi, is it possible to use __del__ in cython? A first try didn't succeed: cpdef class Foo: def __del__(self): print "Foo::__del__"from ship.test import Foo f = Foo() del f<<no output>> Any chance to get this or something equivalent working? Johannes _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
