]> granicus.if.org Git - python/commit
Introducing __reduce_ex__, which is called with a protocol number argument
authorGuido van Rossum <guido@python.org>
Tue, 18 Feb 2003 22:05:12 +0000 (22:05 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 18 Feb 2003 22:05:12 +0000 (22:05 +0000)
commitc53f009f94a5758530e6f35d8e7ed64c8efcb74b
treee39099602182ef895a382a640dc49872619d64b7
parent2b0643a95db568ef9293cc51708d72b121c5d734
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.
Lib/copy_reg.py
Lib/pickle.py
Lib/test/test_descrtut.py
Objects/typeobject.c