Fix DeprecationWarning

Overriding __eq__ blocks inheritance of __hash__ in 3.x