Closed dcwatson closed 2 months ago
I don't think this is going to work (yet). The biggest issue is that Py_buffer
was not stabilized until 3.11. I could change the API to just accept bytes
, or just read-only bytes-like objects (via the y#
format), but would rather not.
It was not added to the Stable ABI, that doesn't mean it wasn't stable.
The biggest issue is that Py_buffer was not stabilized until 3.11.
It's the "Limited API" and "Stable ABI". Something can be a stable part of the API but not be part of the "Limited API".
memoryview
~bytearray
from compression methods