[Numpy-discussion] copying ctypes arrays to numarray?

RJ rays at san.rr.com
Wed Dec 15 20:13:01 CST 2004


I'm posting here to see if numarray has a method that could work like array.buffer_info().  numarray.info() returns a text output that can't be used like the array method is to memmove() between ctypes and Python arrays without parsing, apparently.

ctypes thread with Thomas Heller below. His main question: "Maybe you should ask to make sure that there's no way to copy between
objects implementing the buffer protocol with some Python function that
I do not know about?"



More information about the Numpy-discussion mailing list