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

Alexander Belopolsky report at bugs.python.org
Tue Jun 29 19:29:37 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

I see the following under <http://docs.python.org/dev/py3k/library/pickle.html#pickling-class-instances>:

Note If __getstate__() returns a false value, the __setstate__() method will not be called.  That was added in r62216 and highlighted in r67045.

Is there anything else that needs to be done here?

----------
assignee:  -> belopolsky
nosy: +belopolsky
status: open -> pending

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


More information about the Python-bugs-list mailing list