[issue17953] sys.modules cannot be reassigned
Terry J. Reedy
report at bugs.python.org
Wed May 15 23:51:59 CEST 2013
Terry J. Reedy added the comment:
"sys.modules
This is a dictionary that maps module names to modules which have already been loaded. This can be manipulated to force reloading of modules and other tricks."
How about adding at the end
"However, replacing or clearing it may cause Python to fail."
or to be slightly more explicit "However, replacing it or deleting critical entries may cause Python to fail."
----------
nosy: +terry.reedy
stage: test needed -> needs patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17953>
_______________________________________
More information about the Python-bugs-list
mailing list