[issue13479] pickle too picky on re-defined classes

Guido van Rossum report at bugs.python.org
Fri Nov 25 17:58:26 CET 2011


Guido van Rossum <guido at python.org> added the comment:

Hm, this change allows many other *undesirable* objects pass the test as well. I'd prefer to stick to the rule, "when in doubt, raise an error".
Maybe using == instead of 'is' as the test would be acceptable?

----------
nosy: +gvanrossum

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


More information about the Python-bugs-list mailing list