Author: Armin Rigo <[email protected]>
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
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit