Author: Maciej Fijalkowski <[email protected]>
Branch: numpy-multidim-shards
Changeset: r49585:0fc1ea420599
Date: 2011-11-20 18:14 +0200
http://bitbucket.org/pypy/pypy/changeset/0fc1ea420599/

Log:    don't copy a list any more - the cause was fixed in 0bdcf803c0fd

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
@@ -708,9 +708,7 @@
             r = offset // shard
             indices_w.append(space.wrap(r))
             offset -= shard * r
-        # XXX for reasons unclear indices_w becomes a resizable list, work
-        #     around for now
-        return space.newtuple(indices_w[:])
+        return space.newtuple(indices_w)
 
 def convert_to_array(space, w_obj):
     if isinstance(w_obj, BaseArray):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to