[NumPy-Tickets] [NumPy] #1561: Wrong type for PyArray_SimpleNew and alike

NumPy Trac numpy-tickets@scipy....
Tue Jul 27 11:13:12 CDT 2010

#1561: Wrong type for PyArray_SimpleNew and alike
 Reporter:  PhiSch                      |       Owner:  somebody
     Type:  defect                      |      Status:  new     
 Priority:  normal                      |   Milestone:  2.0.0   
Component:  Other                       |     Version:          
 Keywords:  PyArray, npy_intp, npy_int  |  
 All the function that create new PyArray objects in the C-API which have
 an dims argument use npy_intp * as type. However the accepted structure is
 a structure in the form npy_int * or npy_intp, e.g. a pointer to npy_int
 values which describe the dimensions instead of a pointer to pointers to
 npy_int which describe the dimensions.

 Best regards

Ticket URL: <http://projects.scipy.org/numpy/ticket/1561>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list