Fix the total_ordering decorator to handle cross-type comparisons
that could lead to infinite recursion (closes #10042).
diff --git a/Misc/NEWS b/Misc/NEWS
index 9c136aa..c42d89b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -43,6 +43,9 @@
 Library
 -------
 
+- Issue #10042: Fixed the total_ordering decorator to handle cross-type
+  comparisons that could lead to infinite recursion.
+
 - Issue #10979: unittest stdout buffering now works with class and module
   setup and teardown.