Commits


Jeff Knupp authored and Wes McKinney committed cef46152cc7
ARROW-598: [Python] Add support for converting pyarrow.Buffer to a memoryview with zero copy WIP, as tests are not all done and I'm assuming we'll need to keep a reference to the underlying buffer so it doesn't get gc'ed. Author: Jeff Knupp <jeff@jeffknupp.com> Author: Jeff Knupp <jeff.knupp@enigma.io> Closes #369 from jeffknupp/master and squashes the following commits: c300f30 [Jeff Knupp] Initialize members in init; test for lifetime with zero references 13f5dc1 [Jeff Knupp] WIP: python 2 compatability 170d01d [Jeff Knupp] WIP: python 2 compatability bfbed0f [Jeff Knupp] WIP: add test for buffer protocol reference counting fd1cb44 [Jeff Knupp] WIP: make buffers read-only; add test for immutability c24e83a [Jeff Knupp] WIP: make arrow.io.Buffer implement Python's buffer protocol b2540d4 [Jeff Knupp] ARROW-598: [Python] Add support for converting pyarrow.Buffer to a memoryview with zero copy