Author: Manuel Jacob
Branch: remove-tuple-smm
Changeset: r64455:5412c2d0776e
Date: 2013-05-22 15:50 +0200
http://bitbucket.org/pypy/pypy/changeset/5412c2d0776e/

Log:    Add tuple to _interplevel_classes.

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
@@ -664,13 +664,10 @@
                 self._interplevel_classes[w_type] = base
 
         # 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
+        self._interplevel_classes[self.w_tuple] = W_AbstractTupleObject
 
     @specialize.memo()
     def _get_interplevel_cls(self, w_type):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to