Uh oh!
There was an error while loading. Please reload this page.
bpo-45459: Add Py_buffer to limited API - #29991
Conversation
This PR is stale because it has been open for 30 days with no activity. |
a990f73 to
200d441Compare1c41c9d to
ef19458Comparetiran
commented
Jan 28, 2022
@encukou could you take a look, please? |
encukou
commented
Jan 31, 2022
I'll get to it this week. |
Uh oh!
There was an error while loading. Please reload this page.
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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ef19458 to
6119c2bCompare
encukou
left a comment
There was a problem hiding this comment.
Looks good, let's get it in! Thanks!
rdb
commented
Feb 7, 2022
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. |
tiran
commented
Feb 7, 2022
This PR is merged and closed. Please discuss this issue on the Python bug tracker. |
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