mikefc <[email protected]> added the comment:

fijal, 
In pypy/pypy/module/micronumpy/arrayimpl/sort.py::Repr.setitem(), should the 
last line of that 
function:
raw_storage_setitem(self.indexes, idx * self.index_stride_size + 
self.index_start, item[1])

be changed to:
raw_storage_setitem(self.indexes, idx * self.index_stride_size + 
self.index_start, INT_SIZE)


As it is, it seems that raw_storage_setitem is trying to set the size the index 
rawstorage to 
item[1], which I think is the size of the *values* being sorted not the size of 
the indices.  

I'm probably still way off base, but that's all I've got so far.

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1510>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to