[pypy-commit] pypy numpypy-array_prepare_-array_wrap: Fix FakeObjSpace.lookup
rguillebert
noreply at buildbot.pypy.org
Tue Oct 22 17:36:07 CEST 2013
Author: Romain Guillebert <romain.py at gmail.com>
Branch: numpypy-array_prepare_-array_wrap
Changeset: r67517:f473599db4d8
Date: 2013-10-22 17:34 +0200
http://bitbucket.org/pypy/pypy/changeset/f473599db4d8/
Log: Fix FakeObjSpace.lookup
diff --git a/pypy/module/micronumpy/compile.py b/pypy/module/micronumpy/compile.py
--- a/pypy/module/micronumpy/compile.py
+++ b/pypy/module/micronumpy/compile.py
@@ -208,8 +208,7 @@
return self.w_None
def lookup(self, w_obj, name):
- w_type = self.type(w_obj)
- return w_type.lookup(name)
+ return w_obj.getdictvalue(self, name)
def gettypefor(self, w_obj):
return None
More information about the pypy-commit
mailing list