]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111545: Add Py_HashPointer() function (#112096)
authorVictor Stinner <vstinner@python.org>
Wed, 6 Dec 2023 14:09:22 +0000 (15:09 +0100)
committerGitHub <noreply@github.com>
Wed, 6 Dec 2023 14:09:22 +0000 (15:09 +0100)
commit828451dfde324f9499ffebc023a22b84dc5a125b
treeceee17c26f9c9238b602ef9156e6eb8530d032f1
parentf8852634edf1232ac1aa4561e34796b52f9f7aa2
gh-111545: Add Py_HashPointer() function (#112096)

* Implement _Py_HashPointerRaw() as a static inline function.
* Add Py_HashPointer() tests to test_capi.test_hash.
* Keep _Py_HashPointer() function as an alias to Py_HashPointer().
Doc/c-api/hash.rst
Doc/whatsnew/3.13.rst
Include/cpython/pyhash.h
Include/internal/pycore_pyhash.h
Lib/test/test_capi/test_hash.py
Misc/NEWS.d/next/C API/2023-11-15-01-26-59.gh-issue-111545.iAoFtA.rst [new file with mode: 0644]
Modules/_testcapi/hash.c
Python/hashtable.c
Python/pyhash.c