[Numpy-discussion] Change of signature for copyswap function ?

2006-08-10 Thread Pierre Barbier de Reuille
Hi, in my documentation, the copyswap function in the PyArray_ArrFuncs structure is supposed to have this signature: copyswap (void) (void* dest, void* src, int swap, int itemsize) However, in the latest version of NumPy, the signature is: copyswap (void) (void*, void*, int, void*) My

Re: [Numpy-discussion] boolean type

2006-07-24 Thread Pierre Barbier de Reuille
Ivan Vilata i Balaguer wrote: Hi all, Since there is a string type which is the same as str_, how come there is no boolean type which is the same as bool_? Did I miss some design decision about naming? You know, just for completeness, not that it is some kind of problem at all! ;) Well

Re: [Numpy-discussion] boolean type

2006-07-24 Thread Pierre Barbier de Reuille
Ivan Vilata i Balaguer wrote: En/na Pierre Barbier de Reuille ha escrit:: import numpy numpy.__version__ '0.9.9.2852' numpy.bool_ type 'boolscalar' Sorry if I didn't make my question clear. What I find lacking is a ``numpy.boolean`` type which

[Numpy-discussion] ImportError while creating a Python module using NumPy

2006-06-16 Thread Pierre Barbier de Reuille
Hi, I have an extension library which I wanted to interface with NumPy ... So I added the import_array() and all the needed stuff so that it now compiles. However, when I load the library I obtain : ImportError: No module named core.multiarray I didn't find anything on the net about it, what