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-10-21.13:30:09.065>created_at=<Date2021-07-12.15:05:02.827>labels= ['type-bug', '3.10', 'build']
title='Buffer support in the stable ABI'updated_at=<Date2021-10-21.13:30:09.061>user='https://bugs.python.org/tarunjohar'
PEP-384 and PEP-652 define a stable ABI to be used with Python 3.2 and later. On Windows, symbols for the stable ABI are exported from the python3.dll shared library.
The following functions are present in Python 3.9 but have been removed from Python 3.10b3:
Without these functions, an extension cannot utilize the stable ABI to access the buffer memory of data structures. The buffer protocol is suggested as an alternative, but the buffer functions PyObject_GetBuffer() and PyBuffer_Release() are not present in the stable ABI.
While these two functions may be added to the stable ABI, removal of the four functions above makes Python 3.10 incompatible with previous versions. It is requested that the four functions be reinstated and maintained as described in PEP-652.
They are still deprecated, which means they may be removed from future API (and only remain in the stable ABI).
But I hope that's only considered when the new buffer protocol is available in the stable ABI.
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: