__del__ warnings apply to tp_dealloc?

Jey Kottalam kottalam at cs.ucdavis.edu
Tue Feb 3 06:29:15 CET 2004


The Python 2.3 Language Reference cautions that __del__ is not guarnateed to
be invoked at
http://www.python.org/doc/current/ref/customization.html#l2h-175 . I am
writing a Python extension in C and I was wondering if the same precautions
apply to tp_dealloc, that is, is there a possibility that the tp_delloc for
my type may not be invoked?

Thanks in advance,
Jey Kottalam

More information about the Python-list mailing list