[pypy-svn] r28258 - pypy/dist/pypy/interpreter

mwh at codespeak.net mwh at codespeak.net
Sun Jun 4 15:56:47 CEST 2006


Author: mwh
Date: Sun Jun  4 15:56:46 2006
New Revision: 28258

Modified:
   pypy/dist/pypy/interpreter/typedef.py
Log:
comment out some __reduce__s in typedef, the better to unbreak translation forwith.


Modified: pypy/dist/pypy/interpreter/typedef.py
==============================================================================
--- pypy/dist/pypy/interpreter/typedef.py	(original)
+++ pypy/dist/pypy/interpreter/typedef.py	Sun Jun  4 15:56:46 2006
@@ -521,8 +521,8 @@
     )
 
 PyFrame.typedef = TypeDef('frame',
-    __reduce__   = interp2app(PyFrame.descr__reduce__,
-                              unwrap_spec=['self', ObjSpace]),
+    #__reduce__   = interp2app(PyFrame.descr__reduce__,
+    #                          unwrap_spec=['self', ObjSpace]),
     f_builtins = GetSetProperty(PyFrame.fget_f_builtins),
     f_lineno = GetSetProperty(PyFrame.fget_f_lineno, PyFrame.fset_f_lineno),
     f_back = GetSetProperty(PyFrame.fget_f_back),
@@ -623,8 +623,8 @@
 del BuiltinFunction.typedef.rawdict['__get__']
 
 PyTraceback.typedef = TypeDef("traceback",
-    __reduce__   = interp2app(PyTraceback.descr__reduce__,
-                              unwrap_spec=['self', ObjSpace]),
+    #__reduce__   = interp2app(PyTraceback.descr__reduce__,
+    #                          unwrap_spec=['self', ObjSpace]),
     tb_frame  = interp_attrproperty('frame', cls=PyTraceback),
     tb_lasti  = interp_attrproperty('lasti', cls=PyTraceback),
     tb_lineno = interp_attrproperty('lineno', cls=PyTraceback),
@@ -632,8 +632,8 @@
     )
 
 GeneratorIterator.typedef = TypeDef("generator",
-    __reduce__   = interp2app(GeneratorIterator.descr__reduce__,
-                              unwrap_spec=['self', ObjSpace]),
+    #__reduce__   = interp2app(GeneratorIterator.descr__reduce__,
+    #                          unwrap_spec=['self', ObjSpace]),
     next       = interp2app(GeneratorIterator.descr_next),
     __iter__   = interp2app(GeneratorIterator.descr__iter__),
     gi_running = interp_attrproperty('running', cls=GeneratorIterator),



More information about the Pypy-commit mailing list