[pypy-svn] rev 793 - pypy/trunk/src/pypy/objspace/std

mwh at codespeak.net mwh at codespeak.net
Mon Jun 9 14:05:56 CEST 2003


Author: mwh
Date: Mon Jun  9 14:05:56 2003
New Revision: 793

Modified:
   pypy/trunk/src/pypy/objspace/std/typeobject.py
Log:
Reduce noise.

Add (hacky) support for <type object>.__name__ which is needed to make
some of the things I've already checked in today work.


Modified: pypy/trunk/src/pypy/objspace/std/typeobject.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/typeobject.py	(original)
+++ pypy/trunk/src/pypy/objspace/std/typeobject.py	Mon Jun  9 14:05:56 2003
@@ -116,9 +116,9 @@
     def slice(self):
         if self.slicedmultimethod is None:
             multimethod = self.basemultimethod
-            print "pypy: slicing %r for a %r argument at position %d" % (
-                multimethod.operatorsymbol,
-                self.w_type.typename, self.bound_position)
+            #print "pypy: slicing %r for a %r argument at position %d" % (
+            #    multimethod.operatorsymbol,
+            #    self.w_type.typename, self.bound_position)
             # slice the multimethod and cache the result
             sliced = multimethod.slicetable(self.bound_position, self.w_type)
             if sliced.is_empty():


More information about the Pypy-commit mailing list