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. Sturla _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion