hpyproject / numpy-hpy

The fundamental package for scientific computing with Python.
https://numpy.org
Other
20 stars 1 forks source link

bf_getbuffer slot #3

Closed rlamy closed 3 years ago

rlamy commented 3 years ago

Use HPy to define the bf_getbuffer slot on ndarray.

That way, we stop relying on an undocumented CPython-specific hack to set it.