René's URL Explorer Experiment


Title: gh-111178: Change Argument Clinic signature for METH_O by vstinner · Pull Request #130682 · python/cpython · GitHub

Open Graph Title: gh-111178: Change Argument Clinic signature for METH_O by vstinner · Pull Request #130682 · python/cpython

X Title: gh-111178: Change Argument Clinic signature for METH_O by vstinner · Pull Request #130682 · python/cpython

Description: Use "PyObject*" for METH_O functions to fix an undefined behavior. Issue: UBSan: Calling a function through pointer to incorrect function type is undefined behavior #111178

Open Graph Description: Use "PyObject*" for METH_O functions to fix an undefined behavior. Issue: UBSan: Calling a function through pointer to incorrect function type is undefined behavior #111178

X Description: Use "PyObject*" for METH_O functions to fix an undefined behavior. Issue: UBSan: Calling a function through pointer to incorrect function type is undefined behavior #111178

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

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:247582bd-5773-aea7-19f0-ff5a17116056
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCD60:66035:2FF100:412C79:6969D916
html-safe-nonce0dd99ca396a9259936ff18a495393116a60f60ae3fde2c412c82cb72464c94df
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDYwOjY2MDM1OjJGRjEwMDo0MTJDNzk6Njk2OUQ5MTYiLCJ2aXNpdG9yX2lkIjoiNzYzNDE5NjUxMDg5NDg0MDA4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac270b503c7ef72545fc212b885bc78cc2c8e2737585f90d412b4ca6999036645d
hovercard-subject-tagpull_request:2364340646
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/130682/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2297ac428aebe633d6df414884eaef5c3c23a4f5828febf7bc25d62410264fad/python/cpython/pull/130682
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2297ac428aebe633d6df414884eaef5c3c23a4f5828febf7bc25d62410264fad/python/cpython/pull/130682
og:image:altUse "PyObject*" for METH_O functions to fix an undefined behavior. Issue: UBSan: Calling a function through pointer to incorrect function type is undefined behavior #111178
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
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
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/130682#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F130682
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%2F130682
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/130682
Reloadhttps://github.com/python/cpython/pull/130682
Reloadhttps://github.com/python/cpython/pull/130682
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/130682
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/130682
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/130682#issue-comment-box
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:clinic_selfhttps://github.com/vstinner/cpython/tree/clinic_self
gh-111178: Change Argument Clinic signature for METH_O https://github.com/python/cpython/pull/130682#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:clinic_selfhttps://github.com/vstinner/cpython/tree/clinic_self
Conversation 3 https://github.com/python/cpython/pull/130682
Commits 10 https://github.com/python/cpython/pull/130682/commits
Checks 55 https://github.com/python/cpython/pull/130682/checks
Files changed https://github.com/python/cpython/pull/130682/files
Please reload this pagehttps://github.com/python/cpython/pull/130682
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Feb 28, 2025https://github.com/python/cpython/pull/130682#issue-2886900042
Please reload this pagehttps://github.com/python/cpython/pull/130682
UBSan: Calling a function through pointer to incorrect function type is undefined behavior #111178https://github.com/python/cpython/issues/111178
Please reload this pagehttps://github.com/python/cpython/pull/130682
vstinnerhttps://github.com/vstinner
February 28, 2025 12:19https://github.com/python/cpython/pull/130682#commits-pushed-f3ce391
https://github.com/vstinner
pythongh-111178https://github.com/python/cpython/issues/111178
: Change Argument Clinic signature for METH_Ohttps://github.com/python/cpython/pull/130682/commits/f3ce3914b9911f922b605c1655e10bfc81329f1e
f3ce391https://github.com/python/cpython/pull/130682/commits/f3ce3914b9911f922b605c1655e10bfc81329f1e
https://github.com/vstinner
run make clinichttps://github.com/python/cpython/pull/130682/commits/c0a704ef8dee7d50424f8b0ef791eb5d661539df
c0a704ehttps://github.com/python/cpython/pull/130682/commits/c0a704ef8dee7d50424f8b0ef791eb5d661539df
https://github.com/vstinner
Manual fix: use _impl() functionshttps://github.com/python/cpython/pull/130682/commits/a09a5fe9796fa745db7387ef1871818b249d4df6
a09a5fehttps://github.com/python/cpython/pull/130682/commits/a09a5fe9796fa745db7387ef1871818b249d4df6
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 28, 2025 https://github.com/python/cpython/pull/130682#ref-issue-1955903601
UBSan: Calling a function through pointer to incorrect function type is undefined behavior #111178 https://github.com/python/cpython/issues/111178
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Feb 28, 2025https://github.com/python/cpython/pull/130682#event-16510987248
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Feb 28, 2025https://github.com/python/cpython/pull/130682#issuecomment-2690409761
@erlend-aaslandhttps://github.com/erlend-aasland
#128447https://github.com/python/cpython/pull/128447
537296chttps://github.com/python/cpython/commit/537296cdcdecae5c2322e809d01ec07f0cb79245
Please reload this pagehttps://github.com/python/cpython/pull/130682
vstinnerhttps://github.com/vstinner
February 28, 2025 12:35https://github.com/python/cpython/pull/130682#commits-pushed-a0461fe
https://github.com/vstinner
Please mypy godshttps://github.com/python/cpython/pull/130682/commits/a0461fe58baba41188b025c75ce15a57c7de8aa9
a0461fehttps://github.com/python/cpython/pull/130682/commits/a0461fe58baba41188b025c75ce15a57c7de8aa9
https://github.com/vstinner
Update clinic testshttps://github.com/python/cpython/pull/130682/commits/9dda479d7b9c1945c17a4b2507c7425b06b023a6
9dda479https://github.com/python/cpython/pull/130682/commits/9dda479d7b9c1945c17a4b2507c7425b06b023a6
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Mar 4, 2025 https://github.com/python/cpython/pull/130682#pullrequestreview-2656742996
View reviewed changes https://github.com/python/cpython/pull/130682/files/9dda479d7b9c1945c17a4b2507c7425b06b023a6
picnixzhttps://github.com/picnixz
https://github.com/python/cpython/pull/130682#pullrequestreview-2656742996
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/130682
Modules/_io/bufferedio.chttps://github.com/python/cpython/pull/130682/files/c0a704ef8dee7d50424f8b0ef791eb5d661539df..a09a5fe9796fa745db7387ef1871818b249d4df6#diff-893faf8dc50d99bfa374e52717f4a7f6a2dd0020fbaa9dfc2cc45464b731d36a
Please reload this pagehttps://github.com/python/cpython/pull/130682
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Mar 4, 2025https://github.com/python/cpython/pull/130682#event-16554129056
vstinnerhttps://github.com/vstinner
March 7, 2025 17:10https://github.com/python/cpython/pull/130682#commits-pushed-5995415
https://github.com/vstinner
Merge branch 'main' into clinic_selfhttps://github.com/python/cpython/pull/130682/commits/59954157ee5f47b4c3e187ebc75a93523c3008f6
5995415https://github.com/python/cpython/pull/130682/commits/59954157ee5f47b4c3e187ebc75a93523c3008f6
https://github.com/vstinner
Eat one spacehttps://github.com/python/cpython/pull/130682/commits/2fb1cfa1dd0dd5bfcc97b20e60cba53c9f3f8a3f
2fb1cfahttps://github.com/python/cpython/pull/130682/commits/2fb1cfa1dd0dd5bfcc97b20e60cba53c9f3f8a3f
https://github.com/vstinner
Fix manual changeshttps://github.com/python/cpython/pull/130682/commits/200660384af5117cb3f6f40430d93a889a3edb7e
2006603https://github.com/python/cpython/pull/130682/commits/200660384af5117cb3f6f40430d93a889a3edb7e
https://github.com/vstinner
Simplifyhttps://github.com/python/cpython/pull/130682/commits/07d1fc38811874ab6dce6983ba87ba76f351c2a9
07d1fc3https://github.com/python/cpython/pull/130682/commits/07d1fc38811874ab6dce6983ba87ba76f351c2a9
https://github.com/vstinner
Run make clinic-testshttps://github.com/python/cpython/pull/130682/commits/8b09a8a1ee94e998fe58e5640098a92aa21123c3
8b09a8ahttps://github.com/python/cpython/pull/130682/commits/8b09a8a1ee94e998fe58e5640098a92aa21123c3
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
March 10, 2025 16:20https://github.com/python/cpython/pull/130682#event-16657921543
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
1st1https://github.com/1st1
asvetlovhttps://github.com/asvetlov
berkerpeksaghttps://github.com/berkerpeksag
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
erlend-aaslandhttps://github.com/erlend-aasland
gpsheadhttps://github.com/gpshead
kumaraditya303https://github.com/kumaraditya303
markshannonhttps://github.com/markshannon
methanehttps://github.com/methane
rhettingerhttps://github.com/rhettinger
tiranhttps://github.com/tiran
willingchttps://github.com/willingc
code ownershttps://github.com/python/cpython/blob/2bef8ea8ea045d20394f0daec7a5c5b1046a4e22/.github/CODEOWNERS#L23
March 10, 2025 16:20https://github.com/python/cpython/pull/130682#event-16657921815
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
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Mar 10, 2025https://github.com/python/cpython/pull/130682#event-16657922384
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Mar 10, 2025 https://github.com/python/cpython/pull/130682#pullrequestreview-2671599172
View reviewed changes https://github.com/python/cpython/pull/130682/files/8b09a8a1ee94e998fe58e5640098a92aa21123c3
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 10, 2025https://github.com/python/cpython/pull/130682#event-16658160895
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
March 10, 2025 22:41https://github.com/python/cpython/pull/130682#event-16662542570
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
9d759b6https://github.com/python/cpython/commit/9d759b63d8028a987ffad4e8750b13ecfa934967
Mar 11, 2025https://github.com/python/cpython/pull/130682#event-16690632964
Please reload this pagehttps://github.com/python/cpython/pull/130682
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
March 11, 2025 15:33https://github.com/python/cpython/pull/130682#event-16690635691
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Mar 11, 2025https://github.com/python/cpython/pull/130682#event-16690636302
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Mar 24, 2025 https://github.com/python/cpython/pull/130682#ref-issue-2754699799
Make Argument Clinic aware of possible UBSan failures #128180 https://github.com/python/cpython/issues/128180
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%2F130682
https://github.com/gpshead
gpshead https://github.com/gpshead
https://github.com/python/cpython/pull/130682/files/8b09a8a1ee94e998fe58e5640098a92aa21123c3
https://github.com/picnixz
picnixz https://github.com/picnixz
https://github.com/python/cpython/pull/130682/files/9dda479d7b9c1945c17a4b2507c7425b06b023a6
https://github.com/erlend-aasland
erlend-aasland https://github.com/erlend-aasland
https://github.com/berkerpeksag
berkerpeksag https://github.com/berkerpeksag
https://github.com/tiran
tiran https://github.com/tiran
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/methane
methane https://github.com/methane
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/asvetlov
asvetlov https://github.com/asvetlov
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/willingc
willingc https://github.com/willingc
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/130682
https://github.com/vstinner
https://github.com/gpshead
https://github.com/picnixz
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.