__del__ problem - would adopting Garbage Collection fix this?

Gordon McMillan gmcm at hypernet.com
Thu Apr 20 07:51:21 EDT 2000


I think Neil has the correct approach: gc.garbage is a 
development aid. If anything shows up in there, fix the 
classes. Silently ignoring __del__ methods is a great way to 
leak resources, which is worse than leaking memory.

[Tim]
> even-five-year-olds-understand-they're-supposed-to-clean-up-their-
>     own-mess<wink>-ly y'rs  - tim

<snort>-five-year-old-bots-maybe-ly y'rs

- Gordon




More information about the Python-list mailing list