[Numpy-discussion] Aternative to PyArray_SetBaseObject in NumPy 1.6?

Eric Moore ewm at redtetrahedron.org
Tue Jun 16 10:53:23 EDT 2015


You have to do it by hand in numpy 1.6.  For example see
https://github.com/scipy/scipy/blob/master/scipy/signal/lfilter.c.src#L285-L292

-Eric

On Sun, Jun 14, 2015 at 10:33 PM, Sturla Molden <sturla.molden at gmail.com>
wrote:

> What would be the best alternative to PyArray_SetBaseObject in NumPy 1.6?
>
> Purpose: Keep alive an object owning data passed to
> PyArray_SimpleNewFromData.
>
>
> Sturla
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20150616/ec45af16/attachment.html>


More information about the NumPy-Discussion mailing list