[issue29138] No __hash__() inheritance warning with -Werror

2017-01-02 Thread Martin Panter
Martin Panter added the comment: Thanks, I will try to look at that some time -- stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue29138] No __hash__() inheritance warning with -Werror

2017-01-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of issue8627. -- nosy: +serhiy.storchaka resolution: -> duplicate superseder: -> Unchecked PyErr_WarnPy3k return value in Objects/typeobject.c ___ Python tracker

[issue29138] No __hash__() inheritance warning with -Werror

2017-01-02 Thread Martin Panter
New submission from Martin Panter: Normally there is a Python 3 compatibility warning emitted when a class is based on object, implements __eq__(), but does not define __hash__(): $ python -3 -c 'class C(object): __eq__ = lambda self, other: True' -c:1: DeprecationWarning: Overriding __eq__ blo