[SciPy-dev] Status of weave

Matthieu Brucher matthieu.brucher@gmail....
Tue Jan 15 08:04:08 CST 2008

2008/1/15, C. Ball <ceball@users.sourceforge.net>:
> > I'm not a waeve or even a numpy expert but IMHO weave is a proxy between
> > blitz and numpy, 'object's are completely different deals.
> Thanks for your reply.
> All I want to do is to be able to iterate through a numpy array
> of python objects (each of which contains its own numpy array)
> from within weave C code. That currently fails because each array
> element is of type 'O'.
> Am I doing something wrong, or is it not possible to process numpy
> arrays of objects from within weave?

I don't think (but I may be wrong) that the current code can handle this. If
eventually this works, you will only get an array with PyObject*s, you will
have to cast them explicitely.

Can you post the exact error ?

French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-dev/attachments/20080115/98359708/attachment.html 

More information about the Scipy-dev mailing list