diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-03-13 09:48:39 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-03-13 09:48:39 (GMT) |
commit | f673f0c40c663c96539950ecd11333715e621c57 (patch) | |
tree | 1564f29bff4d8850062ec6de00f37b6ec1124123 /Misc | |
parent | ad0ef571b70bac3764792aaeb1d966b553ecd256 (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |