It was proposed to add Py_HashBuffer() to the Stable ABI. API:
Py_hash_t Py_HashBuffer(const void *ptr, Py_ssize_t len)
This function always succeeds.
The function is properly documented and tested (by test_capi.test_hash). It has a well defined API. IMO it's a good candidate for the stable ABI.
The function was added to Python 3.14 to replace the private _Py_HashBytes() API.
Vote:
It was proposed to add
Py_HashBuffer()to the Stable ABI. API:The function is properly documented and tested (by
test_capi.test_hash). It has a well defined API. IMO it's a good candidate for the stable ABI.The function was added to Python 3.14 to replace the private
_Py_HashBytes()API.Vote: