[mod_python] Any support for Class Destructors

jalil jalil at securia.com
Sat Feb 7 13:30:04 EST 2004


Sorry! I just found about the __del__ (self) method.

-Jalil

jalil wrote:

>
> Is there a concept of class destructors in Python? I couldn't find 
> any. If not, what is the right way to release resources that are 
> needed during the lifetime of an object w/o making an explict call to 
> a method?
>
> Thanks,
>
> -Jalil
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>



More information about the Mod_python mailing list