summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-01-26 08:04:15 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-01-26 08:04:15 (GMT)
commit34af5023fc1e74c2d6a7537a11148885c84d9cb4 (patch)
tree7d0798f2543f647ac94acef12bd9ebc71fe6dd29 /Misc
parent4e1942bcd8a3904047bf96a16305f0e1e4736b5c (diff)
parentf4b7a02e932671c6e54e6b48340173cc859ab4c0 (diff)
downloadcpython-34af5023fc1e74c2d6a7537a11148885c84d9cb4.zip
cpython-34af5023fc1e74c2d6a7537a11148885c84d9cb4.tar.gz
cpython-34af5023fc1e74c2d6a7537a11148885c84d9cb4.tar.bz2
Issue #21408: The default __ne__() now returns NotImplemented if __eq__()
returned NotImplemented. Removed incorrect implementations of __ne__().
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 370c228..8f6a339 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ Release date: TBA
Core and Builtins
-----------------
+- Issue #21408: The default __ne__() now returns NotImplemented if __eq__()
+ returned NotImplemented.
+
- Issue #23321: Fixed a crash in str.decode() when error handler returned
replacment string longer than mailformed input data.
@@ -215,6 +218,10 @@ Core and Builtins
Library
-------
+- Issue #21408: Removed incorrect implementations of __ne__() which didn't
+ returned NotImplemented if __eq__() returned NotImplemented. The default
+ __ne__() now works correctly.
+
- Issue #19996: :class:`email.feedparser.FeedParser` now handles (malformed)
headers with no key rather than amusing the body has started.