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 <rep...@bugs.python.org> <http://bugs.python.org/issue17953> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com