◐ Shell
reader mode source ↗
Skip to content

gh-141226: Deprecate PEP-456 support for embedders#141287

Merged
picnixz merged 5 commits into
python:mainfrom
picnixz:feat/deprecate/external-141226
Feb 21, 2026
Merged

gh-141226: Deprecate PEP-456 support for embedders#141287
picnixz merged 5 commits into
python:mainfrom
picnixz:feat/deprecate/external-141226

Conversation

@picnixz

@picnixz picnixz commented Nov 9, 2025

Copy link
Copy Markdown
Member

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

I'm +1 on deprecating this feature. I have no opinion on which release should remove the code.

@picnixz picnixz marked this pull request as draft February 7, 2026 11:36
@bedevere-app bedevere-app Bot removed the label Feb 7, 2026
@picnixz picnixz marked this pull request as ready for review February 7, 2026 11:42
Hide details View details @picnixz picnixz merged commit 34f4fa8 into python:main Feb 21, 2026
53 checks passed
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants