[Numpy-discussion] Type of init_numpy()?
Sun Nov 28 12:12:45 CST 2010
Sorry for the confusion. I misspoke. I guess the issue is with
import_array. I'll look more closely at what I'm seeing. Thanks.
On Sun, Nov 28, 2010 at 10:07 AM, Pauli Virtanen <email@example.com> wrote:
> On Sun, 28 Nov 2010 09:52:05 -0700, Bruce Sherwood wrote:
>> For Python 2.x, init_numpy() was void on all platforms.
>> For Python 3.1, I find experimentally that init_numpy() is int on
>> Windows (but still void on Mac, and I think also void on Ubuntu Linux).
>> Is this a bug?
> There is no symbol or function called "init_numpy" in Numpy. What symbol
> did you actually mean?
> If you meant "import_array()", it is a macro, which on Python 3 contains
> a "return NULL;" statement and Python 2 a "return;".
> Pauli Virtanen
> NumPy-Discussion mailing list
More information about the NumPy-Discussion