Browse files

Do not flatten unicode on unpacking

  • Loading branch information...
1 parent 371b30f commit 83da26bc10e0d3c90bdc076aa06293b96be3433d @takluyver committed Jun 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 IPython/zmq/session.py
View
2 IPython/zmq/session.py
@@ -72,7 +72,7 @@ def squash_unicode(obj):
#-----------------------------------------------------------------------------
key = 'on_unknown' if jsonapi.jsonmod.__name__ == 'jsonlib' else 'default'
json_packer = lambda obj: jsonapi.dumps(obj, **{key:date_default})
-json_unpacker = lambda s: squash_unicode(extract_dates(jsonapi.loads(s)))
+json_unpacker = lambda s: extract_dates(jsonapi.loads(s))
pickle_packer = lambda o: pickle.dumps(o,-1)
pickle_unpacker = pickle.loads

0 comments on commit 83da26b

Please sign in to comment.