Hello Greg, On Tue, May 18, 2004 at 02:33:42PM +1200, Greg Ewing wrote: > Now that we have a garbage collector, is it really necessary > any more? What would happen if we simply set sys.modules to > None and then invoked the collector? There is a patch on SF that does this. Brett, can you see if this patch helps in your case? http://www.python.org/sf/812369 The problem I can see with my patch is that it's not clear to me that it eventually causes the destruction of enough objects. For that matter it's not clear why, or how many, objects we should try to destroy at shut-down time. I bet the goal is that if Python is embedded, and initialized and shut down repeatedly, it should not leak memory. Someone with such an application should give my patch a serious try before I can start to believe that no object is missed. There are moreover a few other pending issues raised on the patch's message board. A bientot, Armin.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4