Author: Armin Rigo <ar...@tunes.org> Branch: py3.5 Changeset: r88941:45a7dc9e9bd4 Date: 2016-12-07 14:56 +0100 http://bitbucket.org/pypy/pypy/changeset/45a7dc9e9bd4/
Log: merge heads diff --git a/pypy/objspace/std/longobject.py b/pypy/objspace/std/longobject.py --- a/pypy/objspace/std/longobject.py +++ b/pypy/objspace/std/longobject.py @@ -187,7 +187,7 @@ return space.w_NotImplemented if w_exponent.asbigint().sign < 0: - raise oefmt(space.w_TypeError, + raise oefmt(space.w_ValueError, "pow() 2nd argument cannot be negative when 3rd " "argument specified") try: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit