]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Pass the object to save_reduce(), so the memoize() call can go into
authorGuido van Rossum <guido@python.org>
Fri, 31 Jan 2003 17:17:49 +0000 (17:17 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 31 Jan 2003 17:17:49 +0000 (17:17 +0000)
commitf7f4517faeec7a37f5ad545092252a55e0450e10
treee021afc066aef9d8e14beb0899b8063b2eac92d5
parentd053b4b41663b3ebf5795790e390e1dab96f2d58
Pass the object to save_reduce(), so the memoize() call can go into
save_reduce(), before the state is pickled.  This makes it possible
for an object to be referenced from its own (mutable) state.
Lib/pickle.py