[Numpy-discussion] np 1.7b2 PyArray_BYTES(obj)=ptr fail

Frédéric Bastien nouiz@nouiz....
Tue Oct 2 09:34:47 CDT 2012


Hi,

I don't know if that was raised or not, but in np1.7b2 doing this fail
with this error message:

PyArray_BYTES(obj)=ptr

file:lne_number:offset: error: lvalue required as left operatnd of assignment.

I tried with PyArray_DATA(obj)=ptr and this also fail.

Do you want to remove this feature now? I would think this change will
be done at the same time as the one related to the macro
NPY_NO_DEPRECATED_API.

If I missed the discussion about this, tell me.

thanks

Fred


More information about the NumPy-Discussion mailing list