This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benl
Recipients
Date 2002-11-28.18:51:38
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
--- Python-2.Objects/floatobject.c  Sun May 12
17:20:38 2002
+++ Python-2.2.2-ben/Objects/floatobject.c      Thu Nov
28 18:25:04 2002
@@ -645,7 +645,7 @@
        long aslong;            /* (long)wholepart */
 
        (void)modf(x, &wholepart);
-#ifdef RISCOS
+#if defined(RISCOS) || defined(__FreeBSD__)
        /* conversion from floating to integral type
would raise exception */
        if (wholepart>LONG_MAX || wholepart<LONG_MIN) {
                PyErr_SetString(PyExc_OverflowError,
"float too large to convert");
History
Date User Action Args
2007-08-23 15:18:38adminlinkissue645382 messages
2007-08-23 15:18:38admincreate