<div dir="ltr"><div>You have to do it by hand in numpy 1.6.  For example see <a href="https://github.com/scipy/scipy/blob/master/scipy/signal/lfilter.c.src#L285-L292">https://github.com/scipy/scipy/blob/master/scipy/signal/lfilter.c.src#L285-L292</a><br><br></div>-Eric<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 14, 2015 at 10:33 PM, Sturla Molden <span dir="ltr"><<a href="mailto:sturla.molden@gmail.com" target="_blank">sturla.molden@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What would be the best alternative to PyArray_SetBaseObject in NumPy 1.6?<br>
<br>
Purpose: Keep alive an object owning data passed to<br>
PyArray_SimpleNewFromData.<br>
<br>
<br>
Sturla<br>
<br>
_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
</blockquote></div><br></div>