René's URL Explorer Experiment


Title: gh-112026: Restore removed private C API by vstinner · Pull Request #112115 · python/cpython · GitHub

Open Graph Title: gh-112026: Restore removed private C API by vstinner · Pull Request #112115 · python/cpython

X Title: gh-112026: Restore removed private C API by vstinner · Pull Request #112115 · python/cpython

Description: Restore removed private C API functions, macros and structures which have no simple replacement for now: _PyDict_GetItem_KnownHash() _PyDict_NewPresized() _PyHASH_BITS _PyHASH_IMAG _PyHASH_INF _Py...

Open Graph Description: Restore removed private C API functions, macros and structures which have no simple replacement for now: _PyDict_GetItem_KnownHash() _PyDict_NewPresized() _PyHASH_BITS _PyHASH_IMAG _PyHASH_INF _Py...

X Description: Restore removed private C API functions, macros and structures which have no simple replacement for now: _PyDict_GetItem_KnownHash() _PyDict_NewPresized() _PyHASH_BITS _PyHASH_IMAG _PyHASH_INF _Py...

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

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:71d64cd8-f188-1dd5-48a6-f4e943755b4d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8024:2518BB:974B7B:C1ECE0:696B1F73
html-safe-nonce8e417f60c57ffd5856c45ba8826020b334fd423884d3a2a31f7885bd61e670a8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDI0OjI1MThCQjo5NzRCN0I6QzFFQ0UwOjY5NkIxRjczIiwidmlzaXRvcl9pZCI6IjgzMjE5ODk3Nzc2NTI2NTM5MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccb41b3e0e53aa122b18f22a26c83adb6afc57f018a3d37308d9150b21174fa43
hovercard-subject-tagpull_request:1602729961
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/112115/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e998ce63284d0f26899f60e1d51b327cd4a51772dcb5e2d8087354f5fa7335f5/python/cpython/pull/112115
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e998ce63284d0f26899f60e1d51b327cd4a51772dcb5e2d8087354f5fa7335f5/python/cpython/pull/112115
og:image:altRestore removed private C API functions, macros and structures which have no simple replacement for now: _PyDict_GetItem_KnownHash() _PyDict_NewPresized() _PyHASH_BITS _PyHASH_IMAG _PyHASH_INF _Py...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/112115#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F112115
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%2F112115
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/112115
Reloadhttps://github.com/python/cpython/pull/112115
Reloadhttps://github.com/python/cpython/pull/112115
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/112115
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/112115
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/112115#issue-comment-box
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:restore_private_apishttps://github.com/vstinner/cpython/tree/restore_private_apis
gh-112026: Restore removed private C API https://github.com/python/cpython/pull/112115#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:restore_private_apishttps://github.com/vstinner/cpython/tree/restore_private_apis
Conversation 4 https://github.com/python/cpython/pull/112115
Commits 1 https://github.com/python/cpython/pull/112115/commits
Checks 0 https://github.com/python/cpython/pull/112115/checks
Files changed https://github.com/python/cpython/pull/112115/files
Please reload this pagehttps://github.com/python/cpython/pull/112115
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 15, 2023https://github.com/python/cpython/pull/112115#issue-1994985413
Please reload this pagehttps://github.com/python/cpython/pull/112115
[C API] Revert of private functions removed in Python 3.13 causing most problems #112026https://github.com/python/cpython/issues/112026
Please reload this pagehttps://github.com/python/cpython/pull/112115
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
markshannonhttps://github.com/markshannon
methanehttps://github.com/methane
tiranhttps://github.com/tiran
code ownershttps://github.com/python/cpython/blob/422c0f030170490c001575303d9e628a0298d457/.github/CODEOWNERS#L25
November 15, 2023 15:17https://github.com/python/cpython/pull/112115#event-10968749527
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Nov 15, 2023https://github.com/python/cpython/pull/112115#event-10968750236
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 15, 2023 https://github.com/python/cpython/pull/112115#ref-issue-1990412474
[C API] Revert of private functions removed in Python 3.13 causing most problems #112026 https://github.com/python/cpython/issues/112026
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 15, 2023https://github.com/python/cpython/pull/112115#issuecomment-1812736393
gh-111545: Add PyHash_Double() function #112095https://github.com/python/cpython/pull/112095
gh-111545: Add Py_HashPointer() function #112096https://github.com/python/cpython/pull/112096
Please reload this pagehttps://github.com/python/cpython/pull/112115
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 15, 2023https://github.com/python/cpython/pull/112115#issuecomment-1812739783
Please reload this pagehttps://github.com/python/cpython/pull/112115
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 15, 2023https://github.com/python/cpython/pull/112115#issuecomment-1812777989
Please reload this pagehttps://github.com/python/cpython/pull/112115
gh-112026: Add again include in Python.h #112046https://github.com/python/cpython/pull/112046
Please reload this pagehttps://github.com/python/cpython/pull/112115
https://github.com/vstinner
pythongh-112026https://github.com/python/cpython/issues/112026
: Restore removed private C APIhttps://github.com/python/cpython/pull/112115/commits/84c04524bf14979a68d083156fe42eb18353ff9d
84c0452https://github.com/python/cpython/pull/112115/commits/84c04524bf14979a68d083156fe42eb18353ff9d
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
force-pushedhttps://github.com/python/cpython/compare/034b90f47f54b7b733911d27874988977fb3a64f..84c04524bf14979a68d083156fe42eb18353ff9d
034b90fhttps://github.com/python/cpython/commit/034b90f47f54b7b733911d27874988977fb3a64f
84c0452https://github.com/python/cpython/commit/84c04524bf14979a68d083156fe42eb18353ff9d
Compare https://github.com/python/cpython/compare/034b90f47f54b7b733911d27874988977fb3a64f..84c04524bf14979a68d083156fe42eb18353ff9d
November 15, 2023 16:08https://github.com/python/cpython/pull/112115#event-10969369234
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Nov 15, 2023https://github.com/python/cpython/pull/112115#issuecomment-1812822567
Please reload this pagehttps://github.com/python/cpython/pull/112115
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
November 15, 2023 16:35https://github.com/python/cpython/pull/112115#event-10969692817
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
5846924https://github.com/python/cpython/commit/58469244beceb515c74cbdbd655256c0da569612
Nov 15, 2023https://github.com/python/cpython/pull/112115#event-10969725522
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
November 15, 2023 16:38https://github.com/python/cpython/pull/112115#event-10969725751
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Nov 15, 2023https://github.com/python/cpython/pull/112115#event-10969726049
_Py_c_sum, _Py_c_diff, etc - were removed from Python.h #112019 https://github.com/python/cpython/issues/112019
Consider restoring _PyLong_New() function as public #111415 https://github.com/python/cpython/issues/111415
Consider restoring _PyHASH_INF/BITS/MODULUS/IMAG as public #111389 https://github.com/python/cpython/issues/111389
Is it OK to remove _PyObject_Vectorcall? python/steering-council#212 https://github.com/python/steering-council/issues/212
skirpichevhttps://github.com/skirpichev
Jan 30, 2024 https://github.com/python/cpython/pull/112115#ref-commit-bf9a4c1
https://github.com/skirpichev
Drop workaround for CPython 3.13, seehttps://github.com/skirpichev/gmpy/commit/bf9a4c1b46e1545ddc51f255afba28dc57a49f07
python/cpython#112115https://github.com/python/cpython/pull/112115
bf9a4c1https://github.com/skirpichev/gmpy/commit/bf9a4c1b46e1545ddc51f255afba28dc57a49f07
skirpichevhttps://github.com/skirpichev
Jan 30, 2024 https://github.com/python/cpython/pull/112115#ref-commit-336da3e
https://github.com/skirpichev
Revert _PyLong_New() workaround, seehttps://github.com/skirpichev/gmpy/commit/336da3e4a4305bdc1fb60b585d85788a98062229
python/cpython#112115https://github.com/python/cpython/pull/112115
336da3ehttps://github.com/skirpichev/gmpy/commit/336da3e4a4305bdc1fb60b585d85788a98062229
skirpichevhttps://github.com/skirpichev
Jan 30, 2024 https://github.com/python/cpython/pull/112115#ref-commit-4b5ef78
https://github.com/skirpichev
Drop workaround for CPython 3.13, seehttps://github.com/skirpichev/gmpy/commit/4b5ef7817e6b673e20a4769406030c426550830b
python/cpython#112115https://github.com/python/cpython/pull/112115
4b5ef78https://github.com/skirpichev/gmpy/commit/4b5ef7817e6b673e20a4769406030c426550830b
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Feb 3, 2024 https://github.com/python/cpython/pull/112115#ref-pullrequest-2116129779
Misc fixes gmpy2/gmpy2#466 https://github.com/gmpy2/gmpy2/pull/466
aiskhttps://github.com/aisk
Feb 11, 2024 https://github.com/python/cpython/pull/112115#ref-commit-cd920a5
https://github.com/vstinner
https://github.com/aisk
pythongh-112026https://github.com/python/cpython/issues/112026
: Restore removed private C API (https://github.com/aisk/cpython/commit/cd920a5abd5d64d8d2e9d9e4ca95da87e9ad7c8a
python#112115https://github.com/python/cpython/pull/112115
)https://github.com/aisk/cpython/commit/cd920a5abd5d64d8d2e9d9e4ca95da87e9ad7c8a
cd920a5https://github.com/aisk/cpython/commit/cd920a5abd5d64d8d2e9d9e4ca95da87e9ad7c8a
https://github.com/lysnikolaou
lysnikolaouhttps://github.com/lysnikolaou
May 9, 2024 https://github.com/python/cpython/pull/112115#ref-pullrequest-2277687412
Avoid thread unsafe borrowed references under free-threading cython/cython#6178 https://github.com/cython/cython/pull/6178
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
May 20, 2024 https://github.com/python/cpython/pull/112115#ref-pullrequest-2306154483
gh-111389: Add PyHASH_MULTIPLIER constant #119214 https://github.com/python/cpython/pull/119214
Glyphackhttps://github.com/Glyphack
Sep 2, 2024 https://github.com/python/cpython/pull/112115#ref-commit-2af790f
https://github.com/vstinner
https://github.com/Glyphack
pythongh-112026https://github.com/python/cpython/issues/112026
: Restore removed private C API (https://github.com/Glyphack/cpython/commit/2af790f76941d10a403e9586f65eb97fcacb69f4
python#112115https://github.com/python/cpython/pull/112115
)https://github.com/Glyphack/cpython/commit/2af790f76941d10a403e9586f65eb97fcacb69f4
2af790fhttps://github.com/Glyphack/cpython/commit/2af790f76941d10a403e9586f65eb97fcacb69f4
https://github.com/MSeifert04
MSeifert04https://github.com/MSeifert04
Sep 24, 2024 https://github.com/python/cpython/pull/112115#ref-pullrequest-2545786247
Version 0.13: Python 3.13 compatibility and minor updates MSeifert04/iteration_utilities#346 https://github.com/MSeifert04/iteration_utilities/pull/346
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%2F112115
https://github.com/tiran
tiran https://github.com/tiran
https://github.com/methane
methane https://github.com/methane
https://github.com/markshannon
markshannon https://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/112115
https://github.com/vstinner
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.