Garbage collection questions

Sophie Coon sophiec at scripps.edu
Tue Jun 12 12:30:33 EDT 2001


Hi,
I have problems to understand how the garbage collector works.
If I understood well the documentation a collectable objects is an
unreachable objects that will be garbage collected. So if I do a
gc.collect() and it returns 280 but the gc.garbage list is empty that
means that the memory taken by these 280 objects has been freed ?
Thanks for your help.
Sophie
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sophie COON	              The Scripps Research Institute
Research Programmer II         Molecular Graphics Laboratory
			       10550 North Torrey Pines Road
Phone: (858) 784-9556                     La Jolla, CA 92037 
Fax  : (858) 784-2860
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Python-list mailing list