[pypy-svn] r13485 - pypy/dist/pypy/rpython

ale at codespeak.net ale at codespeak.net
Thu Jun 16 18:21:16 CEST 2005


Author: ale
Date: Thu Jun 16 18:21:15 2005
New Revision: 13485

Modified:
   pypy/dist/pypy/rpython/interp.py
Log:
removed print statement and pygame invokation,oups

Modified: pypy/dist/pypy/rpython/interp.py
==============================================================================
--- pypy/dist/pypy/rpython/interp.py	(original)
+++ pypy/dist/pypy/rpython/interp.py	Thu Jun 16 18:21:15 2005
@@ -39,7 +39,7 @@
             t=Translator(f)
             t.annotate([])
             t.specialize()
-            t.view()
+            #t.view()
             
             val = self.eval_graph(t.getflowgraph())
             print val
@@ -146,11 +146,7 @@
 
     def op_setfield(self, obj, fieldname, fieldvalue): 
         # obj should be pointer
-        try: 
-            setattr(obj, fieldname, fieldvalue) # is that right?  -- yes
-        except TypeError:
-            print fieldname,fieldvalue
-            raise
+        setattr(obj, fieldname, fieldvalue) # is that right?  -- yes
         
     def op_getarrayitem(self,array,index):
         return array[index]



More information about the Pypy-commit mailing list