[pypy-svn] r72137 - pypy/trunk/pypy/objspace/std
fijal at codespeak.net
fijal at codespeak.net
Thu Mar 11 22:08:22 CET 2010
Author: fijal
Date: Thu Mar 11 22:08:20 2010
New Revision: 72137
Modified:
pypy/trunk/pypy/objspace/std/typeobject.py
Log:
Apparently 72136 was a very bad idea (confirmed), revert
Modified: pypy/trunk/pypy/objspace/std/typeobject.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/typeobject.py (original)
+++ pypy/trunk/pypy/objspace/std/typeobject.py Thu Mar 11 22:08:20 2010
@@ -9,7 +9,7 @@
from pypy.rlib.objectmodel import we_are_translated
from pypy.rlib.objectmodel import current_object_addr_as_int, compute_hash
from pypy.rlib.jit import hint, purefunction_promote, we_are_jitted
-from pypy.rlib.jit import dont_look_inside, purefunction, unroll_safe
+from pypy.rlib.jit import dont_look_inside, purefunction
from pypy.rlib.rarithmetic import intmask, r_uint
from copy_reg import _HEAPTYPE
@@ -220,7 +220,7 @@
return w_value
return None
- @unroll_safe
+
def _lookup(w_self, key):
space = w_self.space
for w_class in w_self.mro_w:
@@ -229,7 +229,6 @@
return w_value
return None
- @unroll_safe
def _lookup_where(w_self, key):
# like lookup() but also returns the parent class in which the
# attribute was found
More information about the Pypy-commit
mailing list