[pypy-svn] pypy post-release-1.5: Bug fix. I think it's not possible to run this function from a test

arigo commits-noreply at bitbucket.org
Sat Apr 30 14:29:33 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: post-release-1.5
Changeset: r43805:2e8c1b2bb265
Date: 2011-04-30 14:29 +0200
http://bitbucket.org/pypy/pypy/changeset/2e8c1b2bb265/

Log:	Bug fix. I think it's not possible to run this function from a test
	right now.

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
@@ -310,7 +310,7 @@
 
 def ne__Set_settypedef(space, w_left, w_other):
     rd = make_setdata_from_w_iterable(space, w_other)
-    return space.wrap(_is_eq(w_left.setdata, rd))
+    return space.wrap(not _is_eq(w_left.setdata, rd))
 
 ne__Set_frozensettypedef = ne__Set_settypedef
 ne__Frozenset_settypedef = ne__Set_settypedef


More information about the Pypy-commit mailing list