[pypy-svn] r10182 - pypy/dist/pypy/translator

tismer at codespeak.net tismer at codespeak.net
Wed Mar 30 19:36:46 CEST 2005


Author: tismer
Date: Wed Mar 30 19:36:46 2005
New Revision: 10182

Modified:
   pypy/dist/pypy/translator/geninterplevel.py
Log:
support for the faked builtin _classobj

Modified: pypy/dist/pypy/translator/geninterplevel.py
==============================================================================
--- pypy/dist/pypy/translator/geninterplevel.py	(original)
+++ pypy/dist/pypy/translator/geninterplevel.py	Wed Mar 30 19:36:46 2005
@@ -652,7 +652,8 @@
         # type(type.__dict__['__basicsize__']): "cannot eval type(type.__dict__['__basicsize__'])",
         # XXX there seems to be no working support for member descriptors ???
         type(types.GeneratorType.gi_frame):
-            (eval_helper, "member_descriptor", 'type(types.GeneratorType.gi_frame)')
+            (eval_helper, "member_descriptor", 'type(types.GeneratorType.gi_frame)'),
+        types.ClassType: 'space.w_classobj',
     }
 
     def nameof_type(self, cls):



More information about the Pypy-commit mailing list