summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-07-18 14:41:42 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-07-18 14:41:42 (GMT)
commit85424c93549198d96efb310c6c282941eb47225c (patch)
tree1adc0358d02dfed640ce9af3353b900dadf33302 /Misc
parent8c1a50abd306098db6bb3293d0a6aeec9cacf7f4 (diff)
downloadcpython-85424c93549198d96efb310c6c282941eb47225c.zip
cpython-85424c93549198d96efb310c6c282941eb47225c.tar.gz
cpython-85424c93549198d96efb310c6c282941eb47225c.tar.bz2
Issue #6431: Fix Fraction comparisons to return NotImplemented when
the Fraction type doesn't know how to handle the comparison without loss of accuracy. Also, make sure that comparisons between Fractions and float infinities or nans do the right thing.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 35c932d..e4a12e8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -40,6 +40,10 @@ C-API
Library
-------
+- Issue #6431: Make Fraction type return NotImplemented when it doesn't
+ know how to handle a comparison without loss of precision. Also add
+ correct handling of infinities and nans for comparisons with float.
+
- Issue #6415: Fixed warnings.warn sagfault on bad formatted string.
- Issue #6358: The exit status of a command started with os.popen() was