__del__ problem - would adopting Garbage Collection fix this?
nascheme at enme.ucalgary.ca
Thu Apr 20 08:11:53 CEST 2000
Just van Rossum <just at letterror.com> wrote:
>Hm, wouldn't it be better to collect cyclic objects with __del__
>anyway, and just not call __del__? Possibly printing something
>to stderr, similarly to when an exception occurs within a
I'm not sure if the is any better. By default, a message is
printed to sys.stderr when uncollectable objects are found. The
programmer should be able to redesign things to fix this.
'Slashdot, with its uncontrolled content and participants' poor
impulse control, remains Internet culture's answer to "Lord of
the Flies."' - Salon
More information about the Python-list