Fantastic!
-- Marten
On Wed, Feb 27, 2019 at 1:19 AM Stefan van der Walt
wrote:
> Hi everyone,
>
> The team at BIDS would like to take on an intern from Outreachy
> (https://www.outreachy.org), as part of our effort to grow the NumPy
> developer community.
>
> The internship is similar to a GSo
Cc-ing in Travis, because he was the original author of the buffer protocol,
and this is most definitely related.
Best Regards,
Hameer Abbasi
> On Wednesday, Feb 27, 2019 at 9:20 AM, Matti Picus (mailto:matti.pi...@gmail.com)> wrote:
> In digging around the code, I found a gem in PyArray_FromBu
In digging around the code, I found a gem in PyArray_FromBuffer (exposed
to python as numpy.frombuffer). If a PyObject* does not have a
tp_as_buffer->bf_getbuffer function, we check if the python object has a
__buffer__ attribute. If so we use that as buf in
PyObject_GetBuffer(buf, ...).
Thi