Python, should I implement __ne__() operator based on __eq__?
Why do the Python docs say I need to define __ne__ when I define __eq__? Why does Python have an __ne__ operator method instead of just __eq__?
Python - __eq__ method not being called Python3: inheriting from list breaks automagically provided __ne__ when __eq__ is defined? NE tags in NLTK ConllCorpusReader Define __eq__ for Python C extension type Are __eq__, __ne__, __hash__ attributes of object type? How to implement __eq__ for set inclusion test? Compare instances with __eq__ why doesn't work? How is __eq__ handled in Python and in what order? What is the source code of __hash__() and __eq__() of object in Python? Why is `int.__eq__(other)` a working comparison? 'super' object has no attribute '__eq__' In what order should Python’s list.__contains__ invoke __eq__? overidding Pythons __eq__ method , isistance & eq mothods return false Python class: Why can't I use the method len() inside __eq__(self, other)? Why is pandas '==' different than '.eq()' How int() object uses "==" operator without __eq__() method in python2? Python: Can you make this __eq__ easy to understand? Does __ne__ use an overridden __eq__? Python: case where x==y and x.__eq__y() return different things. Why? __eq__ on super objects Relationship between the __eq__ attribute and the equality operator? $ne doesn't work with pymongo Why/When in Python does `x==y` call `y.__eq__(x)`? My __eq__() function is not returning the right values Python Code Not Listing First Line in CSV File Different __hash__ and __eq__ methods for use in set Is there any way to override locally the __eq__ function/operator and restore the old one after? What is a good example of an __eq__ method for a collection class?