Author: Philip Jenvey <pjen...@underboss.org> Branch: py3k Changeset: r67226:127e26c1e91a Date: 2013-10-08 13:17 -0700 http://bitbucket.org/pypy/pypy/changeset/127e26c1e91a/
Log: fix _pow requiring thirdArg on this branch diff --git a/pypy/objspace/std/floatobject.py b/pypy/objspace/std/floatobject.py --- a/pypy/objspace/std/floatobject.py +++ b/pypy/objspace/std/floatobject.py @@ -398,9 +398,9 @@ x = w_float1.floatval y = w_float2.floatval - return W_FloatObject(_pow(space, x, y)) + return W_FloatObject(_pow(space, x, y, thirdArg)) -def _pow(space, x, y): +def _pow(space, x, y, thirdArg): # Sort out special cases here instead of relying on pow() if y == 2.0: # special case for performance: return x * x # x * x is always correct _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit