From a5f0bd06d358778141e9b48a5d49ab299cba2034 2013-10-29 16:15:56 From: Thomas Kluyver Date: 2013-10-29 16:15:56 Subject: [PATCH] Fix for dictionary iteration in pickleutil --- diff --git a/IPython/utils/pickleutil.py b/IPython/utils/pickleutil.py index 35e0c82..33900c2 100644 --- a/IPython/utils/pickleutil.py +++ b/IPython/utils/pickleutil.py @@ -216,7 +216,7 @@ def _import_mapping(mapping, original=None): """ log = _logger() log.debug("Importing canning map") - for key,value in mapping.items(): + for key,value in list(mapping.items()): if isinstance(key, string_types): try: cls = import_item(key)