[pypy-commit] pypy numpy-back-to-applevel: oops

fijal noreply at buildbot.pypy.org
Thu Jan 26 21:21:46 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-back-to-applevel
Changeset: r51814:0db7c34519db
Date: 2012-01-26 22:21 +0200
http://bitbucket.org/pypy/pypy/changeset/0db7c34519db/

Log:	oops

diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py
--- a/pypy/module/micronumpy/interp_numarray.py
+++ b/pypy/module/micronumpy/interp_numarray.py
@@ -521,7 +521,7 @@
     def descr_tolist(self, space):
         if len(self.shape) == 0:
             assert isinstance(self, Scalar)
-            return self.value.descr_tolist(space)
+            return self.value.item(space)
         w_result = space.newlist([])
         for i in range(self.shape[0]):
             space.call_method(w_result, "append",


More information about the pypy-commit mailing list