[Numpy-discussion] Proposal: Deprecate np.int, np.float, etc.?

Sturla Molden sturla.molden at gmail.com
Fri Jul 31 21:25:58 EDT 2015


Chris Barker - NOAA Federal <chris.barker at noaa.gov> wrote:

> Turns out I was passing in numpy arrays that I had typed as "np.int".
> It worked OK two years ago when I was testing only on 32 bit pythons,
> but today I got a bunch of failed tests on 64 bit OS-X -- a np.int is
> now a C long!

It has always been C long. It is the C long that varies between platforms.

Sturla




More information about the NumPy-Discussion mailing list