Descriptionhttp://bugs.python.org/issue8729
The Mapping ABC's __eq__ method should return NotImplemented if the other type is not a Mapping, to give the other type a chance at the comparison. Right now it simply returns false.
The comparison methods on the other ABCs in _abcoll.py already return NotImplemented if they don't recognize the other type.
Patch Set 1 #
Total comments: 3
MessagesTotal messages: 1
|