Skip to content

gh-111389: replace deprecated occurrences of _PyHASH_* macros - #141236

Merged
picnixz merged 1 commit into
python:mainfrom
picnixz:fix/capi/use-public-hash-modulus-111389
Nov 9, 2025
Merged

gh-111389: replace deprecated occurrences of _PyHASH_* macros#141236
picnixz merged 1 commit into
python:mainfrom
picnixz:fix/capi/use-public-hash-modulus-111389

Conversation

@picnixz

@picnixzpicnixz commented Nov 8, 2025

Copy link
Copy Markdown
Member

@picnixz
picnixzforce-pushed the fix/capi/use-public-hash-modulus-111389 branch from 2f8e509 to b667c2eCompareNovember 8, 2025 12:37
@picnixz
picnixz requested a review from gpshead as a code ownerNovember 8, 2025 12:37
@picnixzpicnixz changed the title gh-111389: use public Py_HASH_* macros in sys.hash_infogh-111389: use public Py_HASH_* macrosNov 8, 2025
@picnixzpicnixz changed the title gh-111389: use public Py_HASH_* macrosgh-111389: replace deprecated occurrences of PyHASH_* macrosNov 8, 2025
@picnixzpicnixz changed the title gh-111389: replace deprecated occurrences of PyHASH_* macrosgh-111389: replace deprecated occurrences of _PyHASH_* macrosNov 8, 2025
@picnixzpicnixz added the type-refactor Code refactoring (with no changes in behavior) label Nov 8, 2025
@picnixz
picnixz merged commit ae1f435 into python:mainNov 9, 2025
46 checks passed
@picnixz
picnixz deleted the fix/capi/use-public-hash-modulus-111389 branch November 9, 2025 14:14
@picnixz

Copy link
Copy Markdown
MemberAuthor

While I could backport this, I don't think it's worth the effort. This touches code that we usually don't touch.

StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstype-refactorCode refactoring (with no changes in behavior)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@picnixz@skirpichev