]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
The default __reduce__ on the base object type obscured any
authorGuido van Rossum <guido@python.org>
Tue, 28 Jan 2003 19:48:18 +0000 (19:48 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 28 Jan 2003 19:48:18 +0000 (19:48 +0000)
commit3d8c01b31c1a58d2181f78c5df2b0e79131046c0
tree956b7a7da9a7de221671bfc5d77749b27c17b5a4
parentabcb0c03ade3cee52b71362f57b16af3e00c743b
The default __reduce__ on the base object type obscured any
possibility of calling save_reduce().  Add a special hack for this.
The tests for this are much simpler now (no __getstate__ or
__getnewargs__ needed).
Lib/pickle.py
Lib/test/pickletester.py