17.12.2011 09:42, Soeren Sonnenburg kirjoitti:
> Doesn't work, complaining that the object has no __buffer__ attribute.
>
> Digging into the numpy c code it seems numpy doesn't even support the
> buffer protocol but only the deprecated (old) one
> http://docs.python.org/c-api/objbuffer.html .
[clip]

Since Numpy version 1.5, the new buffer protocol is supported.

-- 
Pauli Virtanen

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to