[issue7689] Pickling of classes with a metaclass and copy_reg
Antoine Pitrou
report at bugs.python.org
Tue Oct 4 08:04:23 CEST 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
+ def __eq__(self, other):
+ r = (type(self) == type(other))
+ if r:
+ return r
I think this should be "if not r".
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7689>
_______________________________________
More information about the Python-bugs-list
mailing list