__del__ problem - would adopting Garbage Collection fix this?

Tim Peters tim_one at email.msn.com
Thu Apr 20 03:48:16 EDT 2000


[Just van Rossum, unaccountably arguing for ignoring __del__ methods]
> ...
> There's an additional argument, though: symmetry with JPython.

That JPython is currenty diseased is no excuse either.  Java certainly
doesn't ignore finalization methods *no matter what*; JPython ignores
__del__ mostly because Java's implementation of (non-default) finalizers was
painfully slow.

BTW, this was all discussed at extreme length on Python-Dev -- check it out!
I doubt anyone wants to repeat all of that whlie struggling to pretend it's
new & interesting <wink>.

don't-do-the-crime-if-you-can't-pay-the-time-ly y'rs  - baretta






More information about the Python-list mailing list