Commits

Wes McKinney authored 4121c5abe9e
ARROW-3228: [Python] Do not allow PyObject_GetBuffer to obtain non-readonly Py_buffer when pyarrow Buffer is not mutable NumPy tries to obtain a writable buffer to determine mutability. This was passing silently: https://github.com/numpy/numpy/blob/e8d177f74adbe5c7630721a4ab3f20f58839ac99/numpy/core/src/multiarray/ctors.c#L3711 Author: Wes McKinney <wesm+git@apache.org> Closes #2567 from wesm/ARROW-3228 and squashes the following commits: 95287e6ea <Wes McKinney> Raise exception when writable buffer requested by PyObject_GetBuffer when pyarrow.Buffer is not writable