Author: Armin Rigo <ar...@tunes.org> Branch: py3.5 Changeset: r87054:d79485f5ea36 Date: 2016-09-12 21:25 +0200 http://bitbucket.org/pypy/pypy/changeset/d79485f5ea36/
Log: Uh diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/interpreter/baseobjspace.py +++ b/pypy/interpreter/baseobjspace.py @@ -1232,7 +1232,7 @@ if e.match(self, self.w_AttributeError): return False raise - return self.is_true(self.nonzero(w_result)) + return self.is_true(w_result) # CPython rules allows subclasses of BaseExceptions to be exceptions. # This is slightly less general than the case above, so we prefix _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit