garbage collection could force destructors?

Pete Shinners pete at visionart.com
Wed Nov 1 00:46:29 CET 2000


the talk about destructors got me thinking. now that garbage collection is
a base part of python2, does that make it possible to define some behavior
for object destructors? i know before there were many cases where an object
might never be deleted, so is was impossible to guarantee the destructors.

now with garbage collection, it seems all objects could be caught and
destructed in a logically-defined order. is this possible? i haven't
dug to deep to understand the gc, but if it is now possible to do
something about this, i think everyone would be better off.







More information about the Python-list mailing list