diff --git a/IPython/utils/pickleshare.py b/IPython/utils/pickleshare.py index e68d1fe..be5cd04 100755 --- a/IPython/utils/pickleshare.py +++ b/IPython/utils/pickleshare.py @@ -67,7 +67,7 @@ class PickleShareDB(collections.MutableMapping): return self.cache[fil][0] try: # The cached item has expired, need to read - obj = pickle.loads(fil.open("rbU").read()) + obj = pickle.loads(fil.open("rb").read()) except: raise KeyError(key)