bpo-45459: Add Py_buffer to limited API - #29991
Conversation
a990f73 to
200d441
Compare
1c41c9d to
ef19458
Compare
|
@encukou could you take a look, please? |
|
I'll get to it this week. |
There was a problem hiding this comment.
Can we leave out the bufferinfo tag? Anonymous structs are well-supported nowadays, and only Py_buffer should be public.
ef19458 to
6119c2b
Compare
encukou
left a comment
There was a problem hiding this comment.
Looks good, let's get it in! Thanks!
|
This change broke our project build because when cpython/object.h is including buffer.h it is forcing it to resolve along the search path, and the compiler is hitting the buffer.h in our project rather than the one in the Python include directory. Should it not be using a relative include, ie. |

Py_bufferstructPyBuffer_*()API functionsPyBUF_*constantsPy_bf_getbufferandPy_bf_releasebuffertype slotsPyMemoryView_FromBuffer()APImake regen-limited-abiPyPickleBuffer*()API ???https://bugs.python.org/issue45459
Automerge-Triggered-By: GH:encukou