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

Sturla Molden sturla.molden at gmail.com
Mon Jul 27 16:11:52 EDT 2015


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

> 32 bits on all (most) 32 bit platforms
> 64 bits on 64 bit Linux and OS-X
> 32 bits on 64 bit Windows (also if compiled by cygwin??)

sizeof(long) is 8 on 64-bit Cygwin. This is to make sure it is inconsistent
with MSVC and MinGW-w64, and make sure there will always be ABI mismatches
unless the headerfiles are modified accordingly.

OTOH, it is one only sane 64-bit compiler on Windows. You can actually take
code written for 64 bit Linux or OSX and expect that it will work
correctly.

Sturla




More information about the NumPy-Discussion mailing list