This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author attilio.dinisio
Recipients attilio.dinisio, pitrou, vstinner
Date 2014-08-28.09:20:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1409217602.58.0.533773454069.issue22292@psf.upfronthosting.co.za>
In-reply-to
Content
diff -r fb3aee1cff59 Lib/pickle.py
--- a/Lib/pickle.py	Wed Aug 27 09:41:05 2014 -0700
+++ b/Lib/pickle.py	Thu Aug 28 10:59:37 2014 +0200
@@ -280,7 +280,7 @@
     module_name = getattr(obj, '__module__', None)
     if module_name is not None:
         return module_name
-    for module_name, module in sys.modules.items():
+    for module_name, module in list(sys.modules.items()):
         if module_name == '__main__' or module is None:
             continue
         try:
History
Date User Action Args
2014-08-28 09:20:02attilio.dinisiosetrecipients: + attilio.dinisio, pitrou, vstinner
2014-08-28 09:20:02attilio.dinisiosetmessageid: <1409217602.58.0.533773454069.issue22292@psf.upfronthosting.co.za>
2014-08-28 09:20:02attilio.dinisiolinkissue22292 messages
2014-08-28 09:20:02attilio.dinisiocreate