Author: Alex Gaynor <[email protected]>
Branch: numpy-dtype-refactor
Changeset: r49349:51ea0f525951
Date: 2011-11-11 17:47 -0500
http://bitbucket.org/pypy/pypy/changeset/51ea0f525951/

Log:    fix

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
@@ -177,8 +177,8 @@
 
     def execute(self, interp):
         arr = interp.variables[self.name]
-        w_index = self.index.execute(interp)
-        w_val = self.expr.execute(interp)
+        w_index = self.index.execute(interp).eval(0)
+        w_val = self.expr.execute(interp).eval(0)
         assert isinstance(arr, BaseArray)
         arr.descr_setitem(interp.space, w_index, w_val)
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to