Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Stop using PyBytesObject.ob_shash deprecated in Python 3.11. #21447

Merged
merged 1 commit into from May 5, 2022

Conversation

charris
Copy link
Member

@charris charris commented May 5, 2022

Backport of #21321.

This is unnecessary because a cached hash value should not be computed yet for obj. Moreover PyBytesObject.ob_shash was deprecated in Python 3.11, see python/cpython#91020.

Fixes #21317.

@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels May 5, 2022
@charris charris added this to the 1.22.4 release milestone May 5, 2022
@charris charris merged commit 070be22 into numpy:maintenance/1.22.x May 5, 2022
@charris charris deleted the backport-21321 branch May 5, 2022 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
00 - Bug 08 - Backport Used to tag backport PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants