Author: Lukas Diekmann <[email protected]>
Branch: set-strategies
Changeset: r49182:d8f16ee35e9b
Date: 2011-05-27 14:27 +0200
http://bitbucket.org/pypy/pypy/changeset/d8f16ee35e9b/

Log:    obviuosly d_obj still could be an int-dict

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
@@ -543,7 +543,7 @@
             d_obj = self.cast_from_void_star(w_set.sstorage)
             other_w = w_other.getkeys()
             for w_key in other_w:
-                d_obj[w_key] = None
+                d_obj[self.unwrap(w_key)] = None
             return
 
         elif w_set.strategy is w_other.strategy:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to