Author: Lukas Diekmann <[email protected]>
Branch: set-strategies
Changeset: r49252:3d1995ca1028
Date: 2011-10-18 13:28 +0200
http://bitbucket.org/pypy/pypy/changeset/3d1995ca1028/
Log: just check for unhashable objects here
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
@@ -359,7 +359,7 @@
def intersect_multiple_update(self, w_set, others_w):
for w_other in others_w:
- self.intersect(w_set, w_other)
+ self.check_for_unhashable_objects(w_other)
def isdisjoint(self, w_set, w_other):
return True
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit