Hi all,
I am trying to install the maskedarray numpy branch for use with the
timeseries package and I get the following error when importing numpy:
/usr/local/lib64/python2.5/site-packages/numpy/__init__.py in ()
45 import random
46 import ctypeslib
---> 47 import ma
48
AFAICT, the 'types' and 'funcs' arguments to PyUFunc_FromFuncAndData are not
copied. There is one example in numpy book showing them pointing to static
storage, but the doc of PyUFunc_FromFuncAndData fails to point this out.
___
Numpy-discussion mailing
Hi! I have been having some difficulty understanding how to deal with
multidimensional ndarrays in structs with ctypes. Namely, I want to the
define numpy arrays in python and have them operated on in C, and have them
updated on the python side. Here is a toy example:
c code fragment:
foo.c
typ