You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2021-12-22.13:08:49.715>created_at=<Date2021-12-20.22:26:56.650>labels= ['3.11']
title='Some API methods could take const Py_buffer* instead of Py_buffer *'updated_at=<Date2021-12-22.13:08:49.714>user='https://github.com/davidhewitt'
The limited api methods PyBuffer_GetPointer, PyBuffer_FromContiguous, PyBuffer_ToContiguous and PyMemoryView_FromBuffer take buffer arguments as Py_buffer *.
They do not mutate the buffer info, so could simply take const Py_buffer *.
There is already precedent to take const Py_buffer * argument in PyBuffer_IsContiguous.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: