diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-07-18 14:41:42 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-07-18 14:41:42 (GMT) |
commit | 85424c93549198d96efb310c6c282941eb47225c (patch) | |
tree | 1adc0358d02dfed640ce9af3353b900dadf33302 /Misc | |
parent | 8c1a50abd306098db6bb3293d0a6aeec9cacf7f4 (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |