Simon Brunning wrote:

> but for the fact that Python
> stashes a reference to the module in (IIRC) sys.__modules__. And you
> mess with *that* at your peril. ;-)

According to Python in a Nutshell, references are stored in the 
dictionary sys.modules, but I'm not sure if it matters that it's not 
__modules__ instead (unless that also exists).
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to