[pypy-commit] pypy remove-intlong-smm: fix/another workaround following 4fa4c6b93a84

pjenvey noreply at buildbot.pypy.org
Sat Jan 4 03:05:49 CET 2014


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: remove-intlong-smm
Changeset: r68584:bede33791d55
Date: 2014-01-03 18:04 -0800
http://bitbucket.org/pypy/pypy/changeset/bede33791d55/

Log:	fix/another workaround following 4fa4c6b93a84

diff --git a/pypy/objspace/std/smalllongobject.py b/pypy/objspace/std/smalllongobject.py
--- a/pypy/objspace/std/smalllongobject.py
+++ b/pypy/objspace/std/smalllongobject.py
@@ -444,7 +444,8 @@
 
 def pow_ovr(space, w_int1, w_int2):
     try:
-        return _pow_impl(space, r_longlong(space.int_w(w_int1)), w_int2)
+        return _pow_impl(space, r_longlong(space.int_w(w_int1)), w_int2,
+                         r_longlong(0))
     except (OverflowError, ValueError):
         w_a = _small2long(space, w_int1)
         w_b = _small2long(space, w_int2)


More information about the pypy-commit mailing list