[pypy-svn] r5005 - pypy/trunk/src/pypy/objspace

hpk at codespeak.net hpk at codespeak.net
Sun Jun 6 15:17:34 CEST 2004


Author: hpk
Date: Sun Jun  6 15:17:33 2004
New Revision: 5005

Modified:
   pypy/trunk/src/pypy/objspace/trivial.py
Log:
fix remaining trivial failures ...



Modified: pypy/trunk/src/pypy/objspace/trivial.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/trivial.py	(original)
+++ pypy/trunk/src/pypy/objspace/trivial.py	Sun Jun  6 15:17:33 2004
@@ -106,12 +106,12 @@
                     "slice": slice,
                     }
         for n, c in cpy_builtin.__dict__.iteritems():
-            #if n in ['xrange',  # we define this in builtin_app
-            #         'staticmethod',
-            #         'classmethod',
-            #         'property',
-            #         ]:
-            #    continue
+            if n in ['xrange',  # we define this in builtin_app
+                     'staticmethod',
+                     'classmethod',
+                     'property',
+                     ]:
+                continue
             if isinstance(c, types.TypeType):
                 setattr(self, 'w_' + c.__name__, c)
                 newstuff[c.__name__] = c



More information about the Pypy-commit mailing list