[pypy-commit] pypy win64 test: yet another hack on test_all

ctismer noreply at buildbot.pypy.org
Fri Jul 1 17:10:22 CEST 2011


Author: Christian Tismer <tismer at stackless.com>
Branch: win64 test
Changeset: r45237:ee16ef84f5b9
Date: 2011-07-01 16:49 +0200
http://bitbucket.org/pypy/pypy/changeset/ee16ef84f5b9/

Log:	yet another hack on test_all

diff --git a/pypy/rlib/rarithmetic.py b/pypy/rlib/rarithmetic.py
--- a/pypy/rlib/rarithmetic.py
+++ b/pypy/rlib/rarithmetic.py
@@ -76,7 +76,6 @@
     n &= LONG_MASK
     if n >= LONG_TEST:
         n -= 2*LONG_TEST
-    # return int(n)
     return n
 
 def longlongmask(n):
@@ -117,7 +116,6 @@
     assert not isinstance(r, r_uint), "unexpected ovf check on unsigned"
     assert not isinstance(r, r_longlong), "ovfcheck not supported on r_longlong"
     assert not isinstance(r,r_ulonglong),"ovfcheck not supported on r_ulonglong"
-    # if type(r) is long:
     if abs(r) > sys.maxint:
         raise OverflowError, "signed integer expression did overflow"
     return r


More information about the pypy-commit mailing list