[Numpy-discussion] advanced indexing bug with huge arrays?

Sturla Molden sturla at molden.no
Tue Jan 24 03:47:01 EST 2012

On 24.01.2012 06:32, Sturla Molden wrote:
> Den 24.01.2012 06:00, skrev Sturla Molden:
>> Both i and length could overflow here. It should overflow on
>> allocation of more than 2 GB. There is also a lot of C longs in the
>> internal state (line 55-105), as well as the other functions.
> The use of C long affects all the C and Pyrex source code in mtrand
> module, not just mtrand.pyx. All of it is fubar on Win64.

The coding is also inconsistent, compare for example:




More information about the NumPy-Discussion mailing list