[Python-checkins] python/dist/src/Lib pickletools.py,1.23,1.24
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Thu, 30 Jan 2003 08:35:16 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv1955/Lib
Modified Files:
pickletools.py
Log Message:
Updated the INST/OBJ docs, to say they really are (almost) identical
in 2.3.
Index: pickletools.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pickletools.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** pickletools.py 30 Jan 2003 15:02:12 -0000 1.23
--- pickletools.py 30 Jan 2003 16:35:08 -0000 1.24
***************
*** 1615,1618 ****
--- 1615,1620 ----
argtuple obtained from the stack, and the resulting instance object
is pushed on the stack.
+
+ NOTE: checks for __safe_for_unpickling__ went away in Python 2.3.
"""),
***************
*** 1644,1647 ****
--- 1646,1653 ----
a bug; cPickle does test __safe_for_unpickling__). See INST for
the gory details.
+
+ NOTE: In Python 2.3, INST and OBJ are identical except for how they
+ get the class object. That was always the intent; the implementations
+ had diverged for accidental reasons.
"""),