Author: Alex Gaynor <[email protected]>
Branch: 
Changeset: r49067:6ccba9d4e2b8
Date: 2011-11-09 17:40 -0500
http://bitbucket.org/pypy/pypy/changeset/6ccba9d4e2b8/

Log:    Fix for various ops on bools.

diff --git a/pypy/objspace/std/stdtypedef.py b/pypy/objspace/std/stdtypedef.py
--- a/pypy/objspace/std/stdtypedef.py
+++ b/pypy/objspace/std/stdtypedef.py
@@ -37,9 +37,8 @@
     if a is b:
         return True
     for a1 in a.bases:
-        for b1 in b.bases:
-            if issubtypedef(a1, b1):
-                return True
+        if issubtypedef(a1, b1):
+            return True
     return False
 
 std_dict_descr = GetSetProperty(descr_get_dict, descr_set_dict, descr_del_dict,
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to