summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-03-13 09:48:39 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-03-13 09:48:39 (GMT)
commitf673f0c40c663c96539950ecd11333715e621c57 (patch)
tree1564f29bff4d8850062ec6de00f37b6ec1124123 /Misc
parentad0ef571b70bac3764792aaeb1d966b553ecd256 (diff)
downloadcpython-f673f0c40c663c96539950ecd11333715e621c57.zip
cpython-f673f0c40c663c96539950ecd11333715e621c57.tar.gz
cpython-f673f0c40c663c96539950ecd11333715e621c57.tar.bz2
Issue #7845: Make 1j.__le__(2j) return NotImplemented rather than raising TypeError.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 978c279..348d524 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,11 @@ What's New in Python 3.2 Alpha 1?
Core and Builtins
-----------------
+- Issue #7845: Rich comparison methods on the complex type now return
+ NotImplemented rather than raising a TypeError when comparing with an
+ incompatible type; this allows user-defined classes to implement their own
+ comparisons with complex.
+
- Issue #3137: Don't ignore errors at startup, especially a keyboard interrupt
(SIGINT). If an error occurs while importing the site module, the error is
printed and Python exits. Initialize the GIL before importing the site