[pypy-commit] pypy set-strategies: argument must be None to create a new empty set

l.diekmann noreply at buildbot.pypy.org
Thu Nov 10 13:50:55 CET 2011


Author: Lukas Diekmann <lukas.diekmann at uni-duesseldorf.de>
Branch: set-strategies
Changeset: r49188:67d070d04ba6
Date: 2011-07-19 14:02 +0200
http://bitbucket.org/pypy/pypy/changeset/67d070d04ba6/

Log:	argument must be None to create a new empty set

diff --git a/pypy/objspace/std/objspace.py b/pypy/objspace/std/objspace.py
--- a/pypy/objspace/std/objspace.py
+++ b/pypy/objspace/std/objspace.py
@@ -310,7 +310,7 @@
 
     def newset(self):
         from pypy.objspace.std.setobject import newset
-        return W_SetObject(self, newset(self))
+        return W_SetObject(self, None)
 
     def newslice(self, w_start, w_end, w_step):
         return W_SliceObject(w_start, w_end, w_step)


More information about the pypy-commit mailing list