summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-03-27 11:16:00 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-03-27 11:16:00 (GMT)
commitab4d63b7f7f79d9cb5780b0666923aa05513b3bf (patch)
tree3d878d9b0f7aa95a64b37c165dbb31f48406abb7
parent327f02c60c7567b6a5d337111f231992bd3c5338 (diff)
downloadcpython-ab4d63b7f7f79d9cb5780b0666923aa05513b3bf.zip
cpython-ab4d63b7f7f79d9cb5780b0666923aa05513b3bf.tar.gz
cpython-ab4d63b7f7f79d9cb5780b0666923aa05513b3bf.tar.bz2
Merged revisions 79457 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79457 | mark.dickinson | 2010-03-27 11:14:37 +0000 (Sat, 27 Mar 2010) | 1 line Add Misc/NEWS entry for r79455. ........
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index baff11c..b7c9269 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -293,6 +293,11 @@ C-API
Library
-------
+- Comparisons using one of <, <=, >, >= between a complex instance and
+ a Fractions instance now raise TypeError instead of returning
+ True/False. This makes Fraction <=> complex comparisons consistent with
+ int <=> complex, float <=> complex, and complex <=> complex comparisons.
+
- Issue #8139: ossaudiodev didn't initialize its types properly, therefore
some methods (such as oss_mixer_device.fileno()) were not available.
Initial patch by Bertrand Janin.