[Numpy-discussion] Int bitsize in python and c

2010-03-18 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I work on a 64bit machine with 64bits enable fedora on it. I just discovered that numpy.int on the python part are 64bits ints, while npy_int in the C api are 32bits ints. I can live with it, but it seems to be different on 32bit machines,

Re: [Numpy-discussion] Int bitsize in python and c

2010-03-18 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dag Sverre Seljebotn skrev: Martin Raspaud wrote: Hello, I work on a 64bit machine with 64bits enable fedora on it. I just discovered that numpy.int on the python part are 64bits ints, while npy_int in the C api are 32bits ints.

Re: [Numpy-discussion] Int bitsize in python and c

2010-03-18 Thread Robert Kern
On Thu, Mar 18, 2010 at 08:33, Martin Raspaud martin.rasp...@smhi.se wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I work on a 64bit machine with 64bits enable fedora on it. I just discovered that numpy.int on the python part are 64bits ints, while npy_int in the C api are