René's URL Explorer Experiment


Title: gh-132097: remove unnecessary clinic casts to `PyCFunction` and others by picnixz · Pull Request #131665 · python/cpython · GitHub

Open Graph Title: gh-132097: remove unnecessary clinic casts to `PyCFunction` and others by picnixz · Pull Request #131665 · python/cpython

X Title: gh-132097: remove unnecessary clinic casts to `PyCFunction` and others by picnixz · Pull Request #131665 · python/cpython

Description: Issue: UBSan: runtime undefined behaviours when using -fsanitize=undefined -fno-sanitize-recover #132097

Open Graph Description: Issue: UBSan: runtime undefined behaviours when using -fsanitize=undefined -fno-sanitize-recover #132097

X Description: Issue: UBSan: runtime undefined behaviours when using -fsanitize=undefined -fno-sanitize-recover #132097

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

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:9fd0cbe3-7848-4cf2-cb37-d8065eb95c43
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDEF0:10A5B6:6E6CE7:969DDA:6969D99C
html-safe-nonce31d3ac11fc8f995bfef94829abb03d2f45d643f20e6cca6bdf1ae6f181ce52c4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUYwOjEwQTVCNjo2RTZDRTc6OTY5RERBOjY5NjlEOTlDIiwidmlzaXRvcl9pZCI6IjMxNTgxMDU2NzY2MDg4MjE2NjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8e8040d1b60fe3315b8e6c2e932f874d2ba70c078fc88be48789a1a73ac1c634
hovercard-subject-tagpull_request:2413715192
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/131665/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/52268114fd7f007e9cee7c7e69d09956f143780bbc33c8ec2f103b3a27f9d809/python/cpython/pull/131665
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/52268114fd7f007e9cee7c7e69d09956f143780bbc33c8ec2f103b3a27f9d809/python/cpython/pull/131665
og:image:altIssue: UBSan: runtime undefined behaviours when using -fsanitize=undefined -fno-sanitize-recover #132097
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepicnixz
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-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/131665#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F131665
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%2F131665
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/131665
Reloadhttps://github.com/python/cpython/pull/131665
Reloadhttps://github.com/python/cpython/pull/131665
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/131665
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/131665
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/131665#issue-comment-box
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
picnixz:fix/ubsan/ac-redundant-casts-111178https://github.com/picnixz/cpython/tree/fix/ubsan/ac-redundant-casts-111178
gh-132097: remove unnecessary clinic casts to PyCFunction and others https://github.com/python/cpython/pull/131665#top
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
picnixz:fix/ubsan/ac-redundant-casts-111178https://github.com/picnixz/cpython/tree/fix/ubsan/ac-redundant-casts-111178
Conversation 2 https://github.com/python/cpython/pull/131665
Commits 12 https://github.com/python/cpython/pull/131665/commits
Checks 45 https://github.com/python/cpython/pull/131665/checks
Files changed https://github.com/python/cpython/pull/131665/files
Please reload this pagehttps://github.com/python/cpython/pull/131665
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Mar 24, 2025https://github.com/python/cpython/pull/131665#issue-2943221682
Please reload this pagehttps://github.com/python/cpython/pull/131665
UBSan: runtime undefined behaviours when using -fsanitize=undefined -fno-sanitize-recover #132097https://github.com/python/cpython/issues/132097
Please reload this pagehttps://github.com/python/cpython/pull/131665
picnixzhttps://github.com/picnixz
March 24, 2025 12:54https://github.com/python/cpython/pull/131665#commits-pushed-074b2ae
https://github.com/picnixz
do not add a PyCFunction cast for METH_NOARGS, METH_O and METH_VARARGShttps://github.com/python/cpython/pull/131665/commits/074b2aefcc46563cdfe9f34fac43aea903d09bfa
074b2aehttps://github.com/python/cpython/pull/131665/commits/074b2aefcc46563cdfe9f34fac43aea903d09bfa
https://github.com/picnixz
update clinic hard-coded testshttps://github.com/python/cpython/pull/131665/commits/65b14c116a2b7ea0716d8fd18ee8da1ede890629
65b14c1https://github.com/python/cpython/pull/131665/commits/65b14c116a2b7ea0716d8fd18ee8da1ede890629
https://github.com/picnixz
update autogenerated contenthttps://github.com/python/cpython/pull/131665/commits/4e2153a4cebcf0676c3be53aae28d8e705f58f12
4e2153ahttps://github.com/python/cpython/pull/131665/commits/4e2153a4cebcf0676c3be53aae28d8e705f58f12
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 24, 2025 https://github.com/python/cpython/pull/131665#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/picnixz
picnixzhttps://github.com/picnixz
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Mar 24, 2025https://github.com/python/cpython/pull/131665#event-16955642807
picnixzhttps://github.com/picnixz
April 3, 2025 09:41https://github.com/python/cpython/pull/131665#commits-pushed-502f5cb
https://github.com/picnixz
Merge remote-tracking branch 'upstream/main' into fix/ubsan/ac-redund…https://github.com/python/cpython/pull/131665/commits/502f5cbbdd401b16dc36ebc77aed72698db8c13a
502f5cbhttps://github.com/python/cpython/pull/131665/commits/502f5cbbdd401b16dc36ebc77aed72698db8c13a
https://github.com/picnixz
remove auto-genmerated getter/setter castshttps://github.com/python/cpython/pull/131665/commits/857e476f865563da94917453a5158c8cbff06008
857e476https://github.com/python/cpython/pull/131665/commits/857e476f865563da94917453a5158c8cbff06008
https://github.com/picnixz
synchttps://github.com/python/cpython/pull/131665/commits/f1b1dc92ab1da045d2fa48432bb82294889ed767
f1b1dc9https://github.com/python/cpython/pull/131665/commits/f1b1dc92ab1da045d2fa48432bb82294889ed767
https://github.com/picnixz
Merge remote-tracking branch 'upstream/main' into fix/ubsan/ac-redund…https://github.com/python/cpython/pull/131665/commits/24a02bcec55f8f5bc3f220bd260b6880dc82c56a
24a02bchttps://github.com/python/cpython/pull/131665/commits/24a02bcec55f8f5bc3f220bd260b6880dc82c56a
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Apr 4, 2025https://github.com/python/cpython/pull/131665#issuecomment-2779274424
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/131665
picnixzhttps://github.com/picnixz
April 5, 2025 11:42https://github.com/python/cpython/pull/131665#commits-pushed-44b7246
https://github.com/picnixz
Merge remote-tracking branch 'upstream/main' into fix/ubsan/ac-redund…https://github.com/python/cpython/pull/131665/commits/44b7246a0a33c69b98d6fdc3b6c86a87c8d698bd
44b7246https://github.com/python/cpython/pull/131665/commits/44b7246a0a33c69b98d6fdc3b6c86a87c8d698bd
https://github.com/picnixz
clinichttps://github.com/python/cpython/pull/131665/commits/8d2fb6d40bb12611aa9b728d8078069abd1b933d
8d2fb6dhttps://github.com/python/cpython/pull/131665/commits/8d2fb6d40bb12611aa9b728d8078069abd1b933d
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Apr 5, 2025https://github.com/python/cpython/pull/131665#event-17139456976
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Apr 5, 2025https://github.com/python/cpython/pull/131665#event-17139457352
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Apr 5, 2025https://github.com/python/cpython/pull/131665#event-17139458775
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 5, 2025 https://github.com/python/cpython/pull/131665#ref-issue-2973037676
UBSan: runtime undefined behaviours when using -fsanitize=undefined -fno-sanitize-recover #132097 https://github.com/python/cpython/issues/132097
picnixzhttps://github.com/picnixz
April 5, 2025 12:46https://github.com/python/cpython/pull/131665#commits-pushed-af0ee39
https://github.com/picnixz
clinichttps://github.com/python/cpython/pull/131665/commits/af0ee393a160d1c729fdfa61edb703f6b156f900
af0ee39https://github.com/python/cpython/pull/131665/commits/af0ee393a160d1c729fdfa61edb703f6b156f900
https://github.com/picnixz
Merge remote-tracking branch 'upstream/main' into fix/ubsan/ac-redund…https://github.com/python/cpython/pull/131665/commits/1f20b58df8855ddc2223fc9d766b149fa2c91da0
1f20b58https://github.com/python/cpython/pull/131665/commits/1f20b58df8855ddc2223fc9d766b149fa2c91da0
https://github.com/picnixz
Merge remote-tracking branch 'upstream/main' into fix/ubsan/ac-redund…https://github.com/python/cpython/pull/131665/commits/21b3667186c13c089df538e3a62b7f3a49a00927
21b3667https://github.com/python/cpython/pull/131665/commits/21b3667186c13c089df538e3a62b7f3a49a00927
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Apr 20, 2025https://github.com/python/cpython/pull/131665#issuecomment-2817089090
#132406https://github.com/python/cpython/pull/132406
Please reload this pagehttps://github.com/python/cpython/pull/131665
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Apr 20, 2025https://github.com/python/cpython/pull/131665#event-17330865835
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%2F131665
https://github.com/erlend-aasland
erlend-aasland https://github.com/erlend-aasland
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
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/131665
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.