Garbage collector and threads
Michael Hudson
mwh at python.net
Mon Mar 1 12:22:54 EST 2004
aahz at pythoncraft.com (Aahz) writes:
> In article <1EJ0c.4334$mx4.105438 at nnrp1.uunet.ca>,
> Nicolas Fleury <nid_oizo at yahoo.com_remove_the_> wrote:
> >Aahz wrote:
> >>
> >> Yes, Don't Do That. Do not rely on finalizers for external resources
> >> (such as threads).
> >
> >Why? Isn't a kind of RAII applied to Python?
>
> What's "RAII"?
Resource Aquisition Is Initialization. Works in C++. Doesn't really
in Python.
Cheers,
mwh
--
Need to Know is usually an interesting UK digest of things that
happened last week or might happen next week. [...] This week,
nothing happened, and we don't care.
-- NTK Now, 2000-12-29, http://www.ntk.net/
More information about the Python-list
mailing list