No destructor
Martin von Loewis
loewis at informatik.hu-berlin.de
Wed Aug 23 10:00:54 EDT 2000
"Alex Martelli" <alex at magenta.com> writes:
> GC and reliable-finalization never seem to cooperate 100% in
> any language or environment I know of. Sure, with GC, circular
> references will not mean automatic resource leaks, which is
> no doubt a gain, but, consider for example -- in WHAT order
> would the objects' __del__ methods be called? I know of no
> way to ensure a good result.
Neil Schemenauer's collector does not collect a cycle if it involves
finalization of an instance object.
Regards,
Martin
More information about the Python-list
mailing list