[Python-checkins] python/dist/src/Lib/test test_descrtut.py,1.15,1.16

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Tue, 18 Feb 2003 14:05:15 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv10437/Lib/test

Modified Files:
	test_descrtut.py 
Log Message:
Introducing __reduce_ex__, which is called with a protocol number argument
if it exists in preference over __reduce__.  Now Tim can go implement this
in cPickle.c.


Index: test_descrtut.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_descrtut.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** test_descrtut.py	18 Feb 2003 16:54:41 -0000	1.15
--- test_descrtut.py	18 Feb 2003 22:05:12 -0000	1.16
***************
*** 211,214 ****
--- 211,215 ----
       '__new__',
       '__reduce__',
+      '__reduce_ex__',
       '__repr__',
       '__rmul__',