
There is a new Pyfort release 6.3 that lets Pyfort work with Python 6.1b2. Please get it from http://sourceforge.net/projects/pyfortran
if you are using 6.1b2. This Pyfort will work just fine with any Python version it used to work with.

Hi all,
I'm writing an extension that uses a NumPy array (among other things). To make sure that I have passed in what I'm looking for, I do a:
if (Array->descr->type_num != PyArray_LONG) ... PyErr_SetString (PyExc_ValueError,"Array is the wrong type"); return NULL; } (I want Array to be an array of longs)
When I call my extension with an array built using array([...],Int32), this error results (this is on both Windows and Linux on Intel hardware). If I build the array with "Int" it works fine. This isn't really a problem, but I am curious, what is an Int32 on Intel hardware?, and why wouldn't it be a long?
-Chris
participants (2)
-
Chris Barker
-
Paul F. Dubois