diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-06-12 18:26:05 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-06-12 18:26:05 (GMT) |
commit | ca2d610dba5711823999c4751897160f138a7811 (patch) | |
tree | 2f1e8b2a6c3205c21dcf26ba74787826ed02c59f /Lib/pickletools.py | |
parent | 829b99195dade3e835cf50117963cd5b33073717 (diff) | |
download | cpython-ca2d610dba5711823999c4751897160f138a7811.zip cpython-ca2d610dba5711823999c4751897160f138a7811.tar.gz cpython-ca2d610dba5711823999c4751897160f138a7811.tar.bz2 |
Restore _pickle module accelerator module.
Removed Windows support temporarily.
64bit bug with integer unpickling is now fixed.
Diffstat (limited to 'Lib/pickletools.py')
-rw-r--r-- | Lib/pickletools.py | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/Lib/pickletools.py b/Lib/pickletools.py index 7bc9c67..1dd45da 100644 --- a/Lib/pickletools.py +++ b/Lib/pickletools.py @@ -2079,11 +2079,12 @@ _dis_test = r""" 70: t TUPLE (MARK at 49) 71: p PUT 5 74: R REDUCE - 75: V UNICODE 'def' - 80: p PUT 6 - 83: s SETITEM - 84: a APPEND - 85: . STOP + 75: p PUT 6 + 78: V UNICODE 'def' + 83: p PUT 7 + 86: s SETITEM + 87: a APPEND + 88: . STOP highest protocol among opcodes = 0 Try again with a "binary" pickle. @@ -2115,11 +2116,12 @@ Try again with a "binary" pickle. 49: t TUPLE (MARK at 37) 50: q BINPUT 5 52: R REDUCE - 53: X BINUNICODE 'def' - 61: q BINPUT 6 - 63: s SETITEM - 64: e APPENDS (MARK at 3) - 65: . STOP + 53: q BINPUT 6 + 55: X BINUNICODE 'def' + 63: q BINPUT 7 + 65: s SETITEM + 66: e APPENDS (MARK at 3) + 67: . STOP highest protocol among opcodes = 1 Exercise the INST/OBJ/BUILD family. |