[pypy-svn] r48086 - pypy/dist/pypy/lang/smalltalk

niko at codespeak.net niko at codespeak.net
Fri Oct 26 18:33:40 CEST 2007


Author: niko
Date: Fri Oct 26 18:33:40 2007
New Revision: 48086

Modified:
   pypy/dist/pypy/lang/smalltalk/interpreter.py
Log:
remove debugging printout



Modified: pypy/dist/pypy/lang/smalltalk/interpreter.py
==============================================================================
--- pypy/dist/pypy/lang/smalltalk/interpreter.py	(original)
+++ pypy/dist/pypy/lang/smalltalk/interpreter.py	Fri Oct 26 18:33:40 2007
@@ -150,7 +150,7 @@
                 # note: argcount does not include rcvr
                 w_result = func(interp, argcount)
             except primitives.PrimitiveFailedError:
-                print "PRIMITIVE FAILED: %d %s" % (method.primitive, selector,)
+                #print "PRIMITIVE FAILED: %d %s" % (method.primitive, selector,)
                 pass # ignore this error and fall back to the Smalltalk version
             else:
                 # the primitive succeeded
@@ -316,7 +316,7 @@
             # note that argcount does not include self
             self.push(primitives.prim_table[primitive](interp, argcount))
         except primitives.PrimitiveFailedError:
-            print "PRIMITIVE FAILED: %s" % (selector,)
+            #print "PRIMITIVE FAILED: %s" % (selector,)
             self._sendSelfSelector(selector, argcount, interp)
 
     def bytecodePrimAdd(self, interp):



More information about the Pypy-commit mailing list