Author: thomas.heller
Date: Fri Aug 31 10:56:50 2007
New Revision: 57828

Modified:
   python/branches/py3k/Objects/longobject.c
Log:
round(1e20) wrongly returned 0.
This fixes test_builtin on windows.

(bug was introduced by the merge of the int/long unification branch,
rev 53421)


Modified: python/branches/py3k/Objects/longobject.c
==============================================================================
--- python/branches/py3k/Objects/longobject.c   (original)
+++ python/branches/py3k/Objects/longobject.c   Fri Aug 31 10:56:50 2007
@@ -260,7 +260,6 @@
                        "cannot convert float infinity to int");
                return NULL;
        }
-       CHECK_SMALL_INT((int)dval);
        if (dval < 0.0) {
                neg = 1;
                dval = -dval;
_______________________________________________
Python-3000-checkins mailing list
Python-3000-checkins@python.org
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to