[pypy-commit] pypy default: (cfbolz, arigo)

arigo noreply at buildbot.pypy.org
Wed Dec 10 18:59:17 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r74885:479bfad309e3
Date: 2014-12-10 17:59 +0000
http://bitbucket.org/pypy/pypy/changeset/479bfad309e3/

Log:	(cfbolz, arigo)

	no cookie

diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/std/typeobject.py
--- a/pypy/objspace/std/typeobject.py
+++ b/pypy/objspace/std/typeobject.py
@@ -373,7 +373,7 @@
         tup_w = w_self._pure_lookup_where_with_method_cache(name, version_tag)
         w_class, w_value = tup_w
         if needs_to_unwrap_cell(space, w_value):
-            return w_class, w_value.value
+            return w_class, w_value.w_value
         return tup_w   # don't make a new tuple, reuse the old one
 
     def _pure_lookup_where_possibly_with_method_cache(w_self, name, version_tag):


More information about the pypy-commit mailing list