blob: 67673a6b12f02fcb44c9292f3c59d51984ac3442 (
plain)
1
2
3
4
5
6
7
8
|
Writing to the result of `numpy.broadcast_arrays` will export readonly buffers
------------------------------------------------------------------------------
In NumPy 1.17 `numpy.broadcast_arrays` started warning when the resulting array
was written to. This warning was skipped when the array was used through the
buffer interface (e.g. ``memoryview(arr)``). The same thing will now occur for the
two protocols ``__array_interface__``, and ``__array_struct__`` returning read-only
buffers instead of giving a warning.
|