Author: Lukas Diekmann <lukas.diekm...@uni-duesseldorf.de> Branch: set-strategies Changeset: r49164:7cfd17778080 Date: 2011-05-18 16:54 +0200 http://bitbucket.org/pypy/pypy/changeset/7cfd17778080/
Log: fixed ne__Set_settypedef 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 @@ -848,8 +848,8 @@ def ne__Set_settypedef(space, w_left, w_other): #XXX this is not tested - rd = make_setdata_from_w_iterable(space, w_other) - return space.wrap(_is_eq(w_left.setdata, rd)) + w_other_as_set = w_left._newobj(space, w_other) + return space.wrap(w_left.equals(w_other)) ne__Set_frozensettypedef = ne__Set_settypedef ne__Frozenset_settypedef = ne__Set_settypedef _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit