[issue5370] unpickling vs. __getattr__

Gabriel Genellina report at bugs.python.org
Sat Mar 14 00:11:50 CET 2009


Gabriel Genellina <gagsl-py2 at yahoo.com.ar> added the comment:

Are you sure you uploaded the right patch? I've not tested it, but I 
don't think this actually fixes the reported bug.

__setstate__ is *very* unlikely to be found in the instance's dict, so 
you end up not calling __setstate__ at all.

If no test failed, this may indicate bad test coverage.

----------

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


More information about the Python-bugs-list mailing list