[Python-Dev] GC at exit?

Aahz aahz@pythoncraft.com
Mon, 30 Dec 2002 19:57:36 -0500


On Sun, Dec 29, 2002, Tim Peters wrote:
> [Aahz]
>>
>> Is garbage collection supposed to run when Python exits?
> 
> The language reference manual doesn't promise that any garbage will be
> collected, ever.  So, no, "supposed to" doesn't apply.

Thanks.  I'll tell people to run gc.collect() at the end of their
applications if they care.
-- 
Aahz (aahz@pythoncraft.com)           <*>         http://www.pythoncraft.com/

"There are three kinds of lies: Lies, Damn Lies, and Statistics."  --Disraeli