[Python-checkins] python/dist/src/Lib pickletools.py,1.28,1.29
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Tue Dec 7 09:26:14 CET 2004
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1523
Modified Files:
pickletools.py
Log Message:
Remove reference to old pickle feature.
Index: pickletools.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pickletools.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- pickletools.py 6 Nov 2004 23:45:48 -0000 1.28
+++ pickletools.py 7 Dec 2004 08:26:10 -0000 1.29
@@ -1526,11 +1526,6 @@
opcode is followed by code to create setstate's argument, and then a
BUILD opcode to apply __setstate__ to that argument.
- There are lots of special cases here. The argtuple can be None, in
- which case callable.__basicnew__() is called instead to produce the
- object to be pushed on the stack. This appears to be a trick unique
- to ExtensionClasses, and is deprecated regardless.
-
If type(callable) is not ClassType, REDUCE complains unless the
callable has been registered with the copy_reg module's
safe_constructors dict, or the callable has a magic
More information about the Python-checkins
mailing list