On Thu, Jul 24, 2014 at 3:47 AM, Sturla Molden <sturla.mol...@gmail.com> wrote:
> Julian Taylor <jtaylor.deb...@googlemail.com> wrote:
>
>> The default integer dtype should be sufficiently large to index into any
>> numpy array, thats what I call an API here. win64 behaves different, you
>> have to explicitly upcast your index to be able to index all memory.
>
> No, you don't have to manually upcast Python int to Python long.
>
> Python 2 will automatically create a Python long if you overflow a Python
> int.
>
> On Python 3 the Python int does not have a size limit.

Please reread the thread more carefully. That's not what this
discussion is about.

-- 
Robert Kern
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to