Author: Philip Jenvey <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit