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. -- http://mail.python.org/mailman/listinfo/python-list