[issue17953] sys.modules cannot be reassigned
Antoine Pitrou
report at bugs.python.org
Sat May 11 14:34:34 CEST 2013
Antoine Pitrou added the comment:
I wouldn't call it a bug personally. The modules dictionary is used in all kinds of places in the interpreter; you can change the dictionary's contents, but not swap it with another one.
It's just a pity that we can't forbid reassignment altogether.
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17953>
_______________________________________
More information about the Python-bugs-list
mailing list