long(float('nan')) raises an OverflowError as discussed on the mailing list a week ago
diff --git a/Misc/NEWS b/Misc/NEWS
index 8a77060..c59efa1 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@
 Core and Builtins
 -----------------
 
+- Object/longobject.c: long(float('nan')) raises an OverflowError instead
+  of returning 0.
+
 - Issue #1762972: __file__ points to the source file instead of the pyc/pyo
   file if the py file exists.