[Python-checkins] python/nondist/sandbox/pickletools pickletools.py,1.11,1.12
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Sat, 25 Jan 2003 21:36:39 -0800
Update of /cvsroot/python/python/nondist/sandbox/pickletools
In directory sc8-pr-cvs1:/tmp/cvs-serv22288
Modified Files:
pickletools.py
Log Message:
Added STOP.
Index: pickletools.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/pickletools/pickletools.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** pickletools.py 26 Jan 2003 05:33:11 -0000 1.11
--- pickletools.py 26 Jan 2003 05:36:37 -0000 1.12
***************
*** 918,933 ****
"""),
! # XXX opcodes below this point haven't been done yet.
I(name='STOP',
code='.',
args=[],
! stack_before=[],
stack_after=[],
proto=0,
! doc="""XXX One-line description goes here.
! XXX Doc body goes here.
"""),
I(name='PERSID',
--- 918,937 ----
"""),
! # Machine control.
I(name='STOP',
code='.',
args=[],
! stack_before=[anyobject],
stack_after=[],
proto=0,
! doc="""Stop the unpickling machine.
! Every pickle ends with this opcode. The object at the top of the stack
! is popped, and that's the result of unpickling. The stack should be
! empty then.
"""),
+
+ # XXX opcodes below this point haven't been done yet.
I(name='PERSID',