Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r63795:6619b75d5bd7
Date: 2013-05-01 16:20 -0700
http://bitbucket.org/pypy/pypy/changeset/6619b75d5bd7/

Log:    fix on 32bit

diff --git a/pypy/module/cpyext/longobject.py b/pypy/module/cpyext/longobject.py
--- a/pypy/module/cpyext/longobject.py
+++ b/pypy/module/cpyext/longobject.py
@@ -66,7 +66,7 @@
     for overflow.
     """
     num = space.bigint_w(w_long)
-    return num.ulonglongmask()
+    return num.uintmask()
 
 @cpython_api([PyObject], lltype.Signed, error=-1)
 def PyLong_AsLong(space, w_long):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to