Raymond Hettinger <[email protected]> added the comment:

Suggest making this change:

-    for module_name, module in list(sys.modules.items()):
+    for module_name, module in sys.modules.copy().items():

----------
nosy: +rhettinger

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40327>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to