Re: [Numpy-discussion] import_array weird behavior

2011-12-20 Thread Robert Kern
On Tue, Dec 20, 2011 at 10:31, Marc POINOT wrote: > > Hi all, > > I've just changed to cython and old numpy module with a raw C API. > The C module init is removed, and I've put the import_array in the > 'pure-cython' > part of the module init. Usual tutorial examples have these lines: > > import

[Numpy-discussion] import_array weird behavior

2011-12-20 Thread Marc POINOT
Hi all, I've just changed to cython and old numpy module with a raw C API. The C module init is removed, and I've put the import_array in the 'pure-cython' part of the module init. Usual tutorial examples have these lines: import numpy as NPY cimport numpy as NPY NPY.import_array() But this f