]> granicus.if.org Git - python/commit
Issue #21408: The default __ne__() now returns NotImplemented if __eq__()
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 26 Jan 2015 07:57:07 +0000 (09:57 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 26 Jan 2015 07:57:07 +0000 (09:57 +0200)
commitf4b7a02e932671c6e54e6b48340173cc859ab4c0
treeeaa9107bb2885a9ed40f9c697a31049826324dde
parent155ceaa454ad9a623cade5ed326e6e1e70ce109d
Issue #21408: The default __ne__() now returns NotImplemented if __eq__()
returned NotImplemented.  Removed incorrect implementations of __ne__().
Lib/_collections_abc.py
Lib/doctest.py
Lib/lib2to3/pytree.py
Lib/numbers.py
Lib/pathlib.py
Lib/test/test_binop.py
Lib/test/test_compare.py
Lib/unittest/case.py
Lib/unittest/suite.py
Misc/NEWS
Objects/typeobject.c