You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a class does not define an eq() method it should not define a hash() operation either; if it defines eq() but not hash(), its instances will not be usable as items in hashable collections.
Should we go ahead with a PR for the same?
The text was updated successfully, but these errors were encountered:
Also, I could see certain other issues that are legit.
Should I raise PR for similar types of issues clubbed together, rather than each going on a separate PR. What do you suggest?
We currently have a LGTM alert. The class defines a
__hash__
method without defining an__eq__
method.According to Python docs
Should we go ahead with a PR for the same?
The text was updated successfully, but these errors were encountered: