◐ Shell
clean mode source ↗

gh-141226: Deprecate PEP-456 support for embedders by picnixz · Pull Request #141287 · python/cpython

@picnixz

picnixz

hugovk

vstinner

@picnixz

@picnixz picnixz marked this pull request as ready for review

February 7, 2026 11:42

@picnixz picnixz deleted the feat/deprecate/external-141226 branch

February 21, 2026 11:42

brijkapadia pushed a commit to brijkapadia/cpython that referenced this pull request

Feb 28, 2026
Deprecate PEP-456 [1] support for providing an external definition
of the string hashing scheme. Removal is scheduled for Python 3.19.

Previously, embedders could define the ``Py_HASH_ALGORITHM`` macro to be
``Py_HASH_EXTERNAL`` [2] to indicate that the hashing scheme was provided
externally but this feature was undocumented, untested and most likely
unused.

[1]: https://peps.python.org/pep-0456/
[2]: https://peps.python.org/pep-0456/#hash-function-selection

ljfp pushed a commit to ljfp/cpython that referenced this pull request

Apr 25, 2026
Deprecate PEP-456 [1] support for providing an external definition
of the string hashing scheme. Removal is scheduled for Python 3.19.

Previously, embedders could define the ``Py_HASH_ALGORITHM`` macro to be
``Py_HASH_EXTERNAL`` [2] to indicate that the hashing scheme was provided
externally but this feature was undocumented, untested and most likely
unused.

[1]: https://peps.python.org/pep-0456/
[2]: https://peps.python.org/pep-0456/#hash-function-selection