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.
Showing
Please register or sign in to comment