René's URL Explorer Experiment


Title: gh-106320: Move private _PyHash API to the internal C API by vstinner · Pull Request #107026 · python/cpython · GitHub

Open Graph Title: gh-106320: Move private _PyHash API to the internal C API by vstinner · Pull Request #107026 · python/cpython

X Title: gh-106320: Move private _PyHash API to the internal C API by vstinner · Pull Request #107026 · python/cpython

Description: No longer export most private _PyHash symbols, only export the ones which are needed by shared extensions. Modules/_xxtestfuzz/fuzzer.c now uses the internal C API. Issue: C API: Remove private...

Open Graph Description: No longer export most private _PyHash symbols, only export the ones which are needed by shared extensions. Modules/_xxtestfuzz/fuzzer.c now uses the internal C API. Issue: C API: Remove private...

X Description: No longer export most private _PyHash symbols, only export the ones which are needed by shared extensions. Modules/_xxtestfuzz/fuzzer.c now uses the internal C API. Issue: C API: Remove private...

Opengraph URL: https://github.com/python/cpython/pull/107026

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:6a638210-39c5-56ae-331b-058157550673
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB55E:270B7A:371578:4B6311:6969DA8B
html-safe-noncef2025314f57537b344120233ada4d0ad7dc355c6859bcb88f7fd3be6486f7ec7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTVFOjI3MEI3QTozNzE1Nzg6NEI2MzExOjY5NjlEQThCIiwidmlzaXRvcl9pZCI6IjgzODAyMTMxNzQ2NTU5MDAyOTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc79d60207a83830b69dff521893c8b70f65f3517f9312d68155f2213a64bb994
hovercard-subject-tagpull_request:1445317428
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/107026/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/11ef089e20660df4647029c37a21ed451eba90740b9bb6a6fb6381d2ae8d504a/python/cpython/pull/107026
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/11ef089e20660df4647029c37a21ed451eba90740b9bb6a6fb6381d2ae8d504a/python/cpython/pull/107026
og:image:altNo longer export most private _PyHash symbols, only export the ones which are needed by shared extensions. Modules/_xxtestfuzz/fuzzer.c now uses the internal C API. Issue: C API: Remove private...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/107026#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107026
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107026
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/107026
Reloadhttps://github.com/python/cpython/pull/107026
Reloadhttps://github.com/python/cpython/pull/107026
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/107026
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/107026
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/107026#issue-comment-box
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:pycore_pyhashhttps://github.com/vstinner/cpython/tree/pycore_pyhash
gh-106320: Move private _PyHash API to the internal C API https://github.com/python/cpython/pull/107026#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:pycore_pyhashhttps://github.com/vstinner/cpython/tree/pycore_pyhash
Conversation 2 https://github.com/python/cpython/pull/107026
Commits 1 https://github.com/python/cpython/pull/107026/commits
Checks 0 https://github.com/python/cpython/pull/107026/checks
Files changed https://github.com/python/cpython/pull/107026/files
Please reload this pagehttps://github.com/python/cpython/pull/107026
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jul 22, 2023https://github.com/python/cpython/pull/107026#issue-1816764170
Please reload this pagehttps://github.com/python/cpython/pull/107026
C API: Remove private C API functions (move them to the internal C API) #106320https://github.com/python/cpython/issues/106320
Please reload this pagehttps://github.com/python/cpython/pull/107026
https://github.com/vstinner
pythongh-106320https://github.com/python/cpython/issues/106320
: Move private _PyHash API to the internal C APIhttps://github.com/python/cpython/pull/107026/commits/485029b790dc02523a6076d1e7ad1f9fc259c93c
485029bhttps://github.com/python/cpython/pull/107026/commits/485029b790dc02523a6076d1e7ad1f9fc259c93c
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jul 22, 2023https://github.com/python/cpython/pull/107026#event-9891118061
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
tiranhttps://github.com/tiran
code ownerhttps://github.com/python/cpython/blob/2aba047f0a2be57cc33a57756707452fdd6a1b3f/.github/CODEOWNERS#L48
July 22, 2023 13:22https://github.com/python/cpython/pull/107026#event-9891118080
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jul 22, 2023https://github.com/python/cpython/pull/107026#event-9891118154
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jul 22, 2023 https://github.com/python/cpython/pull/107026#ref-issue-1784268682
C API: Remove private C API functions (move them to the internal C API) #106320 https://github.com/python/cpython/issues/106320
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
July 22, 2023 13:28https://github.com/python/cpython/pull/107026#event-9891125051
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
89f9875https://github.com/python/cpython/commit/89f987544860d1360e6232b6f52b8ced92a4d690
Jul 22, 2023https://github.com/python/cpython/pull/107026#event-9891152931
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jul 22, 2023https://github.com/python/cpython/pull/107026#event-9891152993
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
July 22, 2023 14:04https://github.com/python/cpython/pull/107026#event-9891174507
illia-vhttps://github.com/illia-v
Jul 28, 2023 https://github.com/python/cpython/pull/107026#ref-commit-a8fef59
https://github.com/illia-v
Fix building CPython afterhttps://github.com/illia-v/oss-fuzz/commit/a8fef595ae31f0843b7f6db69e41fc072941c5ca
python/cpython#107026https://github.com/python/cpython/pull/107026
a8fef59https://github.com/illia-v/oss-fuzz/commit/a8fef595ae31f0843b7f6db69e41fc072941c5ca
python/cpython@89f9875#diff-a22ac7579f23068e0c6bcacf1086ee962fdf8e68725cf0510b42d0a389cf1efdhttps://github.com/python/cpython/commit/89f987544860d1360e6232b6f52b8ced92a4d690#diff-a22ac7579f23068e0c6bcacf1086ee962fdf8e68725cf0510b42d0a389cf1efd
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=60831https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=60831
jonathanmetzmanhttps://github.com/jonathanmetzman
Jul 31, 2023 https://github.com/python/cpython/pull/107026#ref-commit-d9270d0
https://github.com/illia-v
Fix building CPython afterhttps://github.com/google/oss-fuzz/commit/d9270d0e74326689d96f8a63f3720c7106afc725
python/cpython#107026https://github.com/python/cpython/pull/107026
(https://github.com/google/oss-fuzz/commit/d9270d0e74326689d96f8a63f3720c7106afc725
#10758https://github.com/google/oss-fuzz/pull/10758
)https://github.com/google/oss-fuzz/commit/d9270d0e74326689d96f8a63f3720c7106afc725
d9270d0https://github.com/google/oss-fuzz/commit/d9270d0e74326689d96f8a63f3720c7106afc725
python/cpython@89f9875#diff-a22ac7579f23068e0c6bcacf1086ee962fdf8e68725cf0510b42d0a389cf1efdhttps://github.com/python/cpython/commit/89f987544860d1360e6232b6f52b8ced92a4d690#diff-a22ac7579f23068e0c6bcacf1086ee962fdf8e68725cf0510b42d0a389cf1efd
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=60831https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=60831
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Oct 23, 2023https://github.com/python/cpython/pull/107026#issuecomment-1774401518
#108604https://github.com/python/cpython/pull/108604
gmpy2/gmpy2#441https://github.com/gmpy2/gmpy2/pull/441
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/107026
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Oct 27, 2023 https://github.com/python/cpython/pull/107026#ref-issue-1964870219
Consider restoring _PyHASH_INF/BITS/MODULUS/IMAG as public #111389 https://github.com/python/cpython/issues/111389
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 27, 2023https://github.com/python/cpython/pull/107026#issuecomment-1783086237
#108604https://github.com/python/cpython/pull/108604
gmpy2/gmpy2#441https://github.com/gmpy2/gmpy2/pull/441
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/107026
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Oct 28, 2023 https://github.com/python/cpython/pull/107026#ref-pullrequest-1966370857
gh-111389: expose _PyHASH_INF/BITS/MODULUS/IMAG macros as public #111418 https://github.com/python/cpython/pull/111418
skirpichevhttps://github.com/skirpichev
Oct 28, 2023 https://github.com/python/cpython/pull/107026#ref-commit-0ce377a
https://github.com/skirpichev
pythongh-111389https://github.com/python/cpython/issues/111389
: restoring _PyHASH_INF/BITS/MODULUS/IMAG macroses as …https://github.com/skirpichev/cpython/commit/0ce377a5933a55b05e0ba5cdac243f978f8efb11
0ce377ahttps://github.com/skirpichev/cpython/commit/0ce377a5933a55b05e0ba5cdac243f978f8efb11
python#107026https://github.com/python/cpython/pull/107026
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 30, 2023 https://github.com/python/cpython/pull/107026#ref-issue-1967787952
[C API] Meta issue: add new public functions with doc+tests to replace removed private functions #111481 https://github.com/python/cpython/issues/111481
https://github.com/befeleme
befelemehttps://github.com/befeleme
Oct 30, 2023 https://github.com/python/cpython/pull/107026#ref-issue-1968688414
BUG: error: implicit declaration of function ‘_Py_HashDouble’ (building with Python 3.13~alpha1) numpy/numpy#25035 https://github.com/numpy/numpy/issues/25035
dmrlawsonhttps://github.com/dmrlawson
Jun 9, 2025 https://github.com/python/cpython/pull/107026#ref-commit-57fb87d
_hash.pyx: fix string hashing in 3.13https://github.com/dmrlawson/capnpy/commit/57fb87d99e3c3124c7c18597b68821cc753da01d
57fb87dhttps://github.com/dmrlawson/capnpy/commit/57fb87d99e3c3124c7c18597b68821cc753da01d
python/cpython#107026https://github.com/python/cpython/pull/107026
https://groups.google.com/g/cython-users/c/YQkU8oc8oSM/m/nVJ_IX8KAgAJhttps://groups.google.com/g/cython-users/c/YQkU8oc8oSM/m/nVJ_IX8KAgAJ
dmrlawsonhttps://github.com/dmrlawson
Jun 9, 2025 https://github.com/python/cpython/pull/107026#ref-commit-9a95872
_hash.pyx: fix string hashing in 3.13https://github.com/dmrlawson/capnpy/commit/9a95872ddad59189f24291918309ac1af62350bf
9a95872https://github.com/dmrlawson/capnpy/commit/9a95872ddad59189f24291918309ac1af62350bf
python/cpython#107026https://github.com/python/cpython/pull/107026
https://groups.google.com/g/cython-users/c/YQkU8oc8oSM/m/nVJ_IX8KAgAJhttps://groups.google.com/g/cython-users/c/YQkU8oc8oSM/m/nVJ_IX8KAgAJ
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107026
https://github.com/tiran
tiran https://github.com/tiran
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/107026
https://github.com/vstinner
https://github.com/skirpichev
https://github.com/bedevere-bot
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.