[pypy-commit] pypy default: add sets
fijal
noreply at buildbot.pypy.org
Wed May 22 15:01:53 CEST 2013
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch:
Changeset: r64449:09477d50934b
Date: 2013-05-22 15:01 +0200
http://bitbucket.org/pypy/pypy/changeset/09477d50934b/
Log: add sets
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
@@ -666,9 +666,11 @@
# register other things
from pypy.objspace.std.dictmultiobject import W_DictMultiObject
from pypy.objspace.std.listobject import W_ListObject
+ from pypy.objspace.std.setobject import W_SetObject
self._interplevel_classes[self.w_dict] = W_DictMultiObject
self._interplevel_classes[self.w_list] = W_ListObject
+ self._interplevel_classes[self.w_set] = W_SetObject
@specialize.memo()
def _get_interplevel_cls(self, w_type):
More information about the pypy-commit
mailing list