summaryrefslogtreecommitdiffstats
path: root/Lib/pickletools.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-06-12 03:10:02 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-06-12 03:10:02 (GMT)
commit75f25f2c9a4646746efbc056b4d2a07b40f93964 (patch)
treedc99b42d2c9e31672d27a37659ccf68951526916 /Lib/pickletools.py
parentf501942c764d25f29a2e06ba5c9917b149c7189b (diff)
downloadcpython-75f25f2c9a4646746efbc056b4d2a07b40f93964.zip
cpython-75f25f2c9a4646746efbc056b4d2a07b40f93964.tar.gz
cpython-75f25f2c9a4646746efbc056b4d2a07b40f93964.tar.bz2
revert the addition of _pickle because it was causing havok with 64-bit
Diffstat (limited to 'Lib/pickletools.py')
-rw-r--r--Lib/pickletools.py22
1 files changed, 10 insertions, 12 deletions
diff --git a/Lib/pickletools.py b/Lib/pickletools.py
index 1dd45da..7bc9c67 100644
--- a/Lib/pickletools.py
+++ b/Lib/pickletools.py
@@ -2079,12 +2079,11 @@ _dis_test = r"""
70: t TUPLE (MARK at 49)
71: p PUT 5
74: R REDUCE
- 75: p PUT 6
- 78: V UNICODE 'def'
- 83: p PUT 7
- 86: s SETITEM
- 87: a APPEND
- 88: . STOP
+ 75: V UNICODE 'def'
+ 80: p PUT 6
+ 83: s SETITEM
+ 84: a APPEND
+ 85: . STOP
highest protocol among opcodes = 0
Try again with a "binary" pickle.
@@ -2116,12 +2115,11 @@ Try again with a "binary" pickle.
49: t TUPLE (MARK at 37)
50: q BINPUT 5
52: R REDUCE
- 53: q BINPUT 6
- 55: X BINUNICODE 'def'
- 63: q BINPUT 7
- 65: s SETITEM
- 66: e APPENDS (MARK at 3)
- 67: . STOP
+ 53: X BINUNICODE 'def'
+ 61: q BINPUT 6
+ 63: s SETITEM
+ 64: e APPENDS (MARK at 3)
+ 65: . STOP
highest protocol among opcodes = 1
Exercise the INST/OBJ/BUILD family.