[issue6827] deepcopy erroneously doesn't call __setstate__ if __getstate__ returns empty dict

R. David Murray report at bugs.python.org
Thu Feb 4 17:22:51 CET 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

At the very least the documentation should be updated to warn that cooperating __getstate__ and __setstate__ methods must make sure the state object can never take on a False value.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6827>
_______________________________________


More information about the Python-bugs-list mailing list