fixed 1820:uncaught pickling error with shell and app engine, thanks Alan
This commit is contained in:
@@ -258,7 +258,7 @@ def run(history, statement, env={}):
|
||||
if not name.startswith('__'):
|
||||
try:
|
||||
history.set_global(name, val)
|
||||
except TypeError, ex:
|
||||
except (TypeError, cPickle.PicklingError), ex:
|
||||
UNPICKLABLE_TYPES.append(type(val))
|
||||
history.add_unpicklable(statement, new_globals.keys())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user