Commits

Lukas Diekmann  committed 766b7c2

need to use r_dict when storing wrapped objects

  • Participants
  • Parent commits ef85a53
  • Branches set-strategies

Comments (0)

Files changed (1)

File pypy/objspace/std/setobject.py

         return storage, strategy
 
     def _intersect_wrapped(self, w_set, w_other):
-        result = self.get_empty_dict()
+        result = newset(self.space)
         for key in self.unerase(w_set.sstorage):
             w_key = self.wrap(key)
             if w_other.has_key(w_key):