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