micropython-ulab icon indicating copy to clipboard operation
micropython-ulab copied to clipboard

make frombuffer conform to numpy

Open v923z opened this issue 4 years ago • 0 comments

@jepler

The creation of ndarrays from buffers should conform to numpy's behaviour, i.e., if the buffer is mutable, frombuffer should produce a view, otherwise, a copy. Background can be found in https://github.com/adafruit/circuitpython/pull/4403#issuecomment-803468553

v923z avatar Mar 21 '21 08:03 v923z