does python have useless destructors?

Slawomir Nowaczyk slawek at cs.lth.se
Fri Jun 11 22:24:58 CEST 2004


On Fri, 11 Jun 2004 10:34:26 -0400
Brian van den Broek <bvande at po-box.mcgill.ca> wrote:

#> I've read the rest of the thread, but the ensuing references to C++
#> RAII, malloc, etc. are not yet within my grasp. (I recognize I'm
#> not really the target audience of the thread.) I'd google for an
#> explanation, but I don't have a clear sense of what to google for.

If you are looking for a short description of RAII (Resource
Acquisiton Is Initialization), I would suggest this link:

http://www.research.att.com/~bs/bs_faq2.html#finally

HTH

-- 
 Best wishes,
   Slawomir Nowaczyk
     ( Slawomir.Nowaczyk at cs.lth.se )

As I said before, I never repeat myself.





More information about the Python-list mailing list