Merge pull request #983 from Euphorbium/patch-1

fix cPickle not defined error
This commit is contained in:
mdipierro
2015-05-28 23:16:33 -05:00

View File

@@ -126,7 +126,7 @@ class History:
def globals_dict(self):
"""Returns a dictionary view of the globals.
"""
return dict((name, cPickle.loads(val))
return dict((name, pickle.loads(val))
for name, val in zip(self.global_names, self.globals))
def add_unpicklable(self, statement, names):