[Numpy-discussion] Make as_strided result writeonly

Sturla Molden sturla.molden at gmail.com
Mon Jan 25 10:11:03 EST 2016


On 23/01/16 22:25, Sebastian Berg wrote:

> Do you agree with this, or would it be a major inconvenience?

I think any user of as_strided should be considered a power user. This 
is an inherently dangerous function, that can easily segfault the 
process. Anyone who uses as_strided should be assumed to have taken all 
precautions.

-1

Sturla




More information about the NumPy-Discussion mailing list