]> granicus.if.org Git - python/commitdiff
Merged revisions 79457 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Sat, 27 Mar 2010 11:16:00 +0000 (11:16 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 27 Mar 2010 11:16:00 +0000 (11:16 +0000)
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.
........

Misc/NEWS

index baff11c5ca93d2d13031429c13c6bd583db318a5..b7c926971a19b0fb108634e7016a747015db25a9 100644 (file)
--- 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.