From: Guido van Rossum Date: Wed, 29 Jan 2003 06:16:12 +0000 (+0000) Subject: Declare Protocol 2 as implemented. X-Git-Tag: v2.3c1~2196 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=586c9e813c590b64c5bfcd98424c5f74ba9ffe40;p=thirdparty%2FPython%2Fcpython.git Declare Protocol 2 as implemented. --- diff --git a/Lib/pickle.py b/Lib/pickle.py index d98bcd50761a..e36e6a6c90c1 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -141,7 +141,7 @@ BINFLOAT = 'G' # push float; arg is 8-byte float encoding TRUE = 'I01\n' # not an opcode; see INT docs in pickletools.py FALSE = 'I00\n' # not an opcode; see INT docs in pickletools.py -# Protocol 2 (XXX not yet implemented). +# Protocol 2 PROTO = '\x80' # identify pickle protocol NEWOBJ = '\x81' # build object by applying cls.__new__ to argtuple