[Numpy-discussion] quick question about numpy deprecation warnings

Charles Doutriaux doutriaux1@llnl....
Tue Jul 15 12:10:23 CDT 2008

Hi I have a quick question and i hope somebody can answer me (I admit I 
should first really check the numpy doc)

I have been porting old Numeric based C code to numpy/numpy.ma for the 
alst couple weeks.

Just as I thought I was done, this morning I updatethe numpy trunk and I 
now get the following deprecation warnings

 DeprecationWarning: PyArray_FromDims: use PyArray_SimpleNew.
DeprecationWarning: PyArray_FromDimsAndDataAndDescr: use 

My quick question is:
can I simply replace the function names or is the arg list different?



More information about the Numpy-discussion mailing list