1. Pypy
  2. Untitled project
  3. pypy

Commits

Armin Rigo  committed b38bebc

Temporarily ensure again that "in the normal case" intmask()
returns an int.

  • Participants
  • Parent commits 54a8a27
  • Branches default

Comments (0)

Files changed (1)

File pypy/rlib/rarithmetic.py

View file
     n &= LONG_MASK
     if n >= LONG_TEST:
         n -= 2*LONG_TEST
-    return n
+    return int(n)
 
 def longlongmask(n):
     assert isinstance(n, (int, long))