[issue28263] Python 2.7's `-3` flag warns about __eq__ being implemented without __hash__ even if __hash__ is never accessed.
Christian Heimes
report at bugs.python.org
Sat Sep 24 08:58:40 EDT 2016
Christian Heimes added the comment:
Antti is correct. Please add __hash__ = None to your class to silence the warning.
----------
nosy: +christian.heimes
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28263>
_______________________________________
More information about the Python-bugs-list
mailing list