{{ message }}
gh-141226: Deprecate PEP-456 support for embedders#141287
Merged
picnixz merged 5 commits intoFeb 21, 2026
Merged
Conversation
picnixz
commented
Nov 9, 2025
hugovk
reviewed
Nov 9, 2025
vstinner
approved these changes
Nov 10, 2025
vstinner
left a comment
Member
There was a problem hiding this comment.
I'm +1 on deprecating this feature. I have no opinion on which release should remove the code.
Sorry, something went wrong.
gpshead
approved these changes
Feb 7, 2026
Hide details
View details
picnixz
merged commit
34f4fa8
into
python:main
Feb 21, 2026
53 checks passed
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.
--with-hash-algorithm#141226📚 Documentation preview 📚: https://cpython-previews--141287.org.readthedocs.build/