Commit 83f0f43b authored by Kevin Modzelewski's avatar Kevin Modzelewski

We support string pickling now

parent a7c10a6e
# allow-warning: converting unicode literal to str
# allow-warning: import level 0 will be treated as -1
import pickle import pickle
l = [[], (123,)] l = [[], (123,)]
...@@ -9,5 +12,4 @@ l2 = pickle.loads(s) ...@@ -9,5 +12,4 @@ l2 = pickle.loads(s)
l3 = l2.pop() l3 = l2.pop()
print l2, l3, l2 is l3 print l2, l3, l2 is l3
# This doesn't work yet; we need str.decode("string-escape") print pickle.loads(pickle.dumps("hello world"))
# print pickle.loads(pickle.dumps("hello world"))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment