Issue #8188: Comparisons between Decimal objects and other numeric
objects (Fraction, float, complex, int) now all function as expected.
diff --git a/Misc/NEWS b/Misc/NEWS
index 24d1e7f..8b86366 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -417,6 +417,13 @@
Library
-------
+- Issue #8118: Comparisons between Decimal and Fraction objects are
+ now permitted, returning a result based on the exact numerical
+ values of the operands. This builds on issue #2531, which allowed
+ Decimal-to-float comparisons; all comparisons involving numeric
+ types (bool, int, float, complex, Decimal, Fraction) should now
+ act as expected.
+
- Issue #8897: Fix sunau module, use bytes to write the header. Patch written
by Thomas Jollans.
@@ -714,7 +721,8 @@
- Issue #2531: Comparison operations between floats and Decimal
instances now return a result based on the numeric values of the
operands; previously they returned an arbitrary result based on
- the relative ordering of id(float) and id(Decimal).
+ the relative ordering of id(float) and id(Decimal). See also
+ issue #8118, which adds Decimal-to-Fraction comparisons.
- Added a subtract() method to collections.Counter().