[Numpy-discussion] numpy c api general array handling

Mark Wiebe mwwiebe@gmail....
Thu Jun 9 09:08:54 CDT 2011


On Thu, Jun 9, 2011 at 3:39 AM, Yoshi Rokuko <yoshi@rokuko.net> wrote:

> +-------------------------------------------- Mark Wiebe -----------+
> >
> > I believe what you may want is PyArray_ContiguousFromAny instead of
> > PyArray_ContiguousFromObject.
> >
>
> are you sure that there is a difference? i think its just the new
> name for the same thing right?
>

If you tried it and it behaves exactly the same, then I guess not. Using
PyArray_FromAny with the appropriate flags would be the fallback approach in
that case.

-Mark

>
> best regards, yoshi
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20110609/2b2c99aa/attachment.html 


More information about the NumPy-Discussion mailing list