From: Collin Winter Date: Wed, 20 May 2009 17:46:47 +0000 (+0000) Subject: Merge r72792: POP_MARK was not in pickle protocol 0, SHORT_BINBYTES was not in protoc... X-Git-Tag: v3.1rc1~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e61d4372ed32010318d43be8f296aee58cf6d86d;p=thirdparty%2FPython%2Fcpython.git Merge r72792: POP_MARK was not in pickle protocol 0, SHORT_BINBYTES was not in protocol 1. --- diff --git a/Lib/pickletools.py b/Lib/pickletools.py index cfd5fccb98b5..2bb69d1320c3 100644 --- a/Lib/pickletools.py +++ b/Lib/pickletools.py @@ -1057,7 +1057,7 @@ opcodes = [ arg=string1, stack_before=[], stack_after=[pybytes], - proto=1, + proto=3, doc="""Push a Python string object. There are two arguments: the first is a 1-byte unsigned int giving @@ -1384,7 +1384,7 @@ opcodes = [ arg=None, stack_before=[markobject, stackslice], stack_after=[], - proto=0, + proto=1, doc="""Pop all the stack objects at and above the topmost markobject. When an opcode using a variable number of stack objects is done,