Does Python cache the startup module?

Baz Walter bazwal at googlemail.com
Mon Jan 7 16:18:19 EST 2008


John Machin <sjmachin <at> lexicon.net> writes:
> If you execute that stuff inside a function (see below) instead of in
> global scope, do you get the same effect?

Thanks for your reply.

No, running it inside a function means I can't rely on python to garbage 
collect, so there will be widgets left over whether I've changed names or not.

See Frederik Lundh's last message to see what's really happening.





More information about the Python-list mailing list