Author: Brian Kearns <[email protected]>
Branch: 
Changeset: r62740:b05ee63f0d20
Date: 2013-03-25 07:18 -0400
http://bitbucket.org/pypy/pypy/changeset/b05ee63f0d20/

Log:    prevent useless comparisons between IntSet and UnicodeSet

diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py
--- a/pypy/objspace/std/setobject.py
+++ b/pypy/objspace/std/setobject.py
@@ -805,6 +805,8 @@
     def may_contain_equal_elements(self, strategy):
         if strategy is self.space.fromcache(StringSetStrategy):
             return False
+        if strategy is self.space.fromcache(UnicodeSetStrategy):
+            return False
         if strategy is self.space.fromcache(EmptySetStrategy):
             return False
         return True
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to