[Numpy-discussion] np.dtype(int) 64bit

Peter Butterworth butterw@gmail....
Sat Oct 23 16:32:14 CDT 2010


Hi,

I'm getting some strange behaviour from 64bit numpy on windows. I'm
using the win64 mkl builds of numpy from :
http://www.lfd.uci.edu/~gohlke/pythonlibs/

Win64: np 1.5.1rc1
>>> np.dtype(int)
dtype('int32')

>>> type(argmin([2, 4, 5]))
<type 'numpy.int64'>


I believe the expected result on 64 bit numpy is what I get on Ubuntu
with np 2.0.0 dev :
>>> np.dtype(int)
dtype('int64')

Could someone please confirm this ?


-- 
thanks,
peter butterworth


More information about the NumPy-Discussion mailing list