Questions on migrating from Numeric/Scipy to Numpy

Robert Kern robert.kern at gmail.com
Wed Mar 14 15:12:41 EDT 2007


vj wrote:
> What should I be using to replace Numeric/arrayobject.h:
> 
> numpy/arrayobject.h
> 
> or
> 
> numpy/oldnumeric.h

Replacing "numpy/oldnumeric.h" is the compatibility header. If you don't want to
convert your code to use the new APIs (and you might; it is much improved), then
that should be all that you need to do to get your old extension modules running
with numpy.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list