Author: Maciej Fijalkowski <[email protected]>
Branch: non-null-app-dict
Changeset: r45158:c5bb04c917aa
Date: 2011-06-28 15:33 +0200
http://bitbucket.org/pypy/pypy/changeset/c5bb04c917aa/

Log:    Mark this object as non-null as well

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
@@ -112,7 +112,7 @@
 # some helper functions
 
 def newset(space):
-    return r_dict(space.eq_w, space.hash_w)
+    return r_dict(space.eq_w, space.hash_w, force_non_null=True)
 
 def make_setdata_from_w_iterable(space, w_iterable=None):
     """Return a new r_dict with the content of w_iterable."""
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to