[Numpy-discussion] Should object arrays have a buffer interface?

Andreas Klöckner lists@informa.tiker....
Mon Dec 29 03:35:01 CST 2008


On Montag 29 Dezember 2008, Robert Kern wrote:
> You could wrap the wrappers in Python and check the dtype. You'd have
> a similar bug if you passed a wrong non-object dtype, too.
> Checking/communicating the dtype is something you always have to do
> when using the 2.x buffer protocol. I'm inclined not to make object a
> special case. When you ask for the raw bytes, you should get the raw
> bytes.

Ok, fair enough.

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20081229/ab4aa1d3/attachment.bin 


More information about the Numpy-discussion mailing list