René's URL Explorer Experiment


Title: gh-132097: use a macro for semantically casting function pointers by picnixz · Pull Request #132406 · python/cpython · GitHub

Open Graph Title: gh-132097: use a macro for semantically casting function pointers by picnixz · Pull Request #132406 · python/cpython

X Title: gh-132097: use a macro for semantically casting function pointers by picnixz · Pull Request #132406 · python/cpython

Description: This is typically useful when one needs to find if a cast is needed or not. Issue: UBSan: runtime undefined behaviours when using -fsanitize=undefined -fno-sanitize-recover #132097

Open Graph Description: This is typically useful when one needs to find if a cast is needed or not. Issue: UBSan: runtime undefined behaviours when using -fsanitize=undefined -fno-sanitize-recover #132097

X Description: This is typically useful when one needs to find if a cast is needed or not. Issue: UBSan: runtime undefined behaviours when using -fsanitize=undefined -fno-sanitize-recover #132097

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

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:19962399-015b-f544-f585-64372d637b29
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA24:34359D:1E89C49:2AF4CD8:696A598F
html-safe-nonce02c08792fa6b8ceabe1f1a47128fce2dde88c4bd4c6610a4446c0bc5b0bc6301
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTI0OjM0MzU5RDoxRTg5QzQ5OjJBRjRDRDg6Njk2QTU5OEYiLCJ2aXNpdG9yX2lkIjoiNDQ0MzU1OTkxMDY3ODQyOTU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacec2460bc30d67aab8cc3d7bd648445248754745add1557451874eadb75fccd4b
hovercard-subject-tagpull_request:2454090969
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/132406/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6ad49829108be7469c8572cbb5f2f4873f7a700fede1f38cb6004c1170f750ed/python/cpython/pull/132406
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6ad49829108be7469c8572cbb5f2f4873f7a700fede1f38cb6004c1170f750ed/python/cpython/pull/132406
og:image:altThis is typically useful when one needs to find if a cast is needed or not. Issue: 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
None3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef
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
release63c426b30d262aba269ef14c40e3c817b384cd61
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/132406#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F132406
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%2F132406
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/132406
Reloadhttps://github.com/python/cpython/pull/132406
Reloadhttps://github.com/python/cpython/pull/132406
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/132406
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/132406
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/132406#issue-comment-box
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
picnixz:feat/ubsan/explicit-conversionshttps://github.com/picnixz/cpython/tree/feat/ubsan/explicit-conversions
gh-132097: use a macro for semantically casting function pointers https://github.com/python/cpython/pull/132406#top
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
picnixz:feat/ubsan/explicit-conversionshttps://github.com/picnixz/cpython/tree/feat/ubsan/explicit-conversions
Conversation 8 https://github.com/python/cpython/pull/132406
Commits 8 https://github.com/python/cpython/pull/132406/commits
Checks 61 https://github.com/python/cpython/pull/132406/checks
Files changed https://github.com/python/cpython/pull/132406/files
Please reload this pagehttps://github.com/python/cpython/pull/132406
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Apr 11, 2025https://github.com/python/cpython/pull/132406#issue-2988957092
Please reload this pagehttps://github.com/python/cpython/pull/132406
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/132406
picnixzhttps://github.com/picnixz
April 10, 2025 14:12https://github.com/python/cpython/pull/132406#commits-pushed-09fb715
https://github.com/picnixz
feat(semantics): use a macro for suppressing UB warningshttps://github.com/python/cpython/pull/132406/commits/09fb71510fe0aca9f9cf0853461ad55c1712e6bd
09fb715https://github.com/python/cpython/pull/132406/commits/09fb71510fe0aca9f9cf0853461ad55c1712e6bd
https://github.com/picnixz
Merge remote-tracking branch 'upstream/main' into feat/ubsan/explicit…https://github.com/python/cpython/pull/132406/commits/8a2e2a670fb57b13468507fb0ed392675bf5701d
8a2e2a6https://github.com/python/cpython/pull/132406/commits/8a2e2a670fb57b13468507fb0ed392675bf5701d
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 11, 2025 https://github.com/python/cpython/pull/132406#ref-issue-2973037676
UBSan: runtime undefined behaviours when using -fsanitize=undefined -fno-sanitize-recover #132097 https://github.com/python/cpython/issues/132097
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Apr 11, 2025https://github.com/python/cpython/pull/132406#event-17225613241
https://github.com/picnixz
picnixzhttps://github.com/picnixz
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Apr 11, 2025https://github.com/python/cpython/pull/132406#event-17225616240
picnixzhttps://github.com/picnixz
April 11, 2025 17:19https://github.com/python/cpython/pull/132406#commits-pushed-f6d6df3
https://github.com/picnixz
fixuphttps://github.com/python/cpython/pull/132406/commits/f6d6df36ba8bd21465fef9afd0b8d05b05555ec2
f6d6df3https://github.com/python/cpython/pull/132406/commits/f6d6df36ba8bd21465fef9afd0b8d05b05555ec2
https://github.com/picnixz
fixuphttps://github.com/python/cpython/pull/132406/commits/21535077fc27d3ca4f280a21d2cd1b3ffcf3eeca
2153507https://github.com/python/cpython/pull/132406/commits/21535077fc27d3ca4f280a21d2cd1b3ffcf3eeca
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Apr 15, 2025 https://github.com/python/cpython/pull/132406#pullrequestreview-2768516312
View reviewed changes https://github.com/python/cpython/pull/132406/files/21535077fc27d3ca4f280a21d2cd1b3ffcf3eeca
Include/methodobject.hhttps://github.com/python/cpython/pull/132406/files/21535077fc27d3ca4f280a21d2cd1b3ffcf3eeca#diff-adb492ab0eb13648d50d0d79e4b6e5517b27f983ab3b21b63e77f54132c98e9d
Please reload this pagehttps://github.com/python/cpython/pull/132406
Include/pyport.hhttps://github.com/python/cpython/pull/132406/files/21535077fc27d3ca4f280a21d2cd1b3ffcf3eeca#diff-4832eab2bfe1a8edc0ca7d7661126bd69d8f4e41916624e3ed48389b6ced6b02
Please reload this pagehttps://github.com/python/cpython/pull/132406
picnixzhttps://github.com/picnixz
April 18, 2025 10:17https://github.com/python/cpython/pull/132406#commits-pushed-efa7bdc
https://github.com/picnixz
https://github.com/vstinner
Update Include/methodobject.hhttps://github.com/python/cpython/pull/132406/commits/efa7bdcb47376abdb5f7e5f4ea7d1fce16244363
efa7bdchttps://github.com/python/cpython/pull/132406/commits/efa7bdcb47376abdb5f7e5f4ea7d1fce16244363
https://github.com/picnixz
address reviewhttps://github.com/python/cpython/pull/132406/commits/4bcff7f00a01c074e042b4e7df086402f19edebf
4bcff7fhttps://github.com/python/cpython/pull/132406/commits/4bcff7f00a01c074e042b4e7df086402f19edebf
https://github.com/picnixz
improve wordinghttps://github.com/python/cpython/pull/132406/commits/398e139d02bcb79a8372800f1f278b4a51110ced
398e139https://github.com/python/cpython/pull/132406/commits/398e139d02bcb79a8372800f1f278b4a51110ced
https://github.com/picnixz
picnixzhttps://github.com/picnixz
April 18, 2025 08:26https://github.com/python/cpython/pull/132406#event-17317315184
https://github.com/picnixz
picnixzhttps://github.com/picnixz
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/50e518e886e6dde5542a2372d5b04acbdda4fc7d/.github/CODEOWNERS#L33
April 18, 2025 08:26https://github.com/python/cpython/pull/132406#event-17317315235
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
Apr 18, 2025https://github.com/python/cpython/pull/132406#event-17317315568
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Apr 18, 2025https://github.com/python/cpython/pull/132406#issuecomment-2814914521
Please reload this pagehttps://github.com/python/cpython/pull/132406
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Apr 18, 2025https://github.com/python/cpython/pull/132406#issuecomment-2814914618
Please reload this pagehttps://github.com/python/cpython/pull/132406
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Apr 18, 2025 https://github.com/python/cpython/pull/132406#pullrequestreview-2778179106
View reviewed changes https://github.com/python/cpython/pull/132406/files/398e139d02bcb79a8372800f1f278b4a51110ced
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/132406#pullrequestreview-2778179106
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/132406
Include/pyport.hhttps://github.com/python/cpython/pull/132406/files/398e139d02bcb79a8372800f1f278b4a51110ced#diff-4832eab2bfe1a8edc0ca7d7661126bd69d8f4e41916624e3ed48389b6ced6b02
Please reload this pagehttps://github.com/python/cpython/pull/132406
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
Apr 18, 2025https://github.com/python/cpython/pull/132406#event-17318001199
https://github.com/picnixz
https://github.com/vstinner
Update Include/pyport.hhttps://github.com/python/cpython/pull/132406/commits/8f567fa599e4ec8ecf13078236130239974c062e
8f567fahttps://github.com/python/cpython/pull/132406/commits/8f567fa599e4ec8ecf13078236130239974c062e
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Apr 18, 2025https://github.com/python/cpython/pull/132406#issuecomment-2815074839
@hoodmanehttps://github.com/hoodmane
Please reload this pagehttps://github.com/python/cpython/pull/132406
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Apr 18, 2025https://github.com/python/cpython/pull/132406#event-17318226297
https://github.com/hoodmane
hoodmanehttps://github.com/hoodmane
Apr 18, 2025https://github.com/python/cpython/pull/132406#issuecomment-2815192615
Please reload this pagehttps://github.com/python/cpython/pull/132406
#132092https://github.com/python/cpython/pull/132092
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/132406
https://github.com/picnixz
picnixzhttps://github.com/picnixz
3793526https://github.com/python/cpython/commit/379352620ce4d77f7248939a4cf211db48fdd241
Apr 18, 2025https://github.com/python/cpython/pull/132406#event-17318632248
Please reload this pagehttps://github.com/python/cpython/pull/132406
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
Apr 18, 2025https://github.com/python/cpython/pull/132406#event-17318632605
https://github.com/picnixz
picnixzhttps://github.com/picnixz
April 18, 2025 10:24https://github.com/python/cpython/pull/132406#event-17318633224
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Apr 20, 2025 https://github.com/python/cpython/pull/132406#ref-pullrequest-2943221682
gh-132097: remove unnecessary clinic casts to PyCFunction and others #131665 https://github.com/python/cpython/pull/131665
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%2F132406
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/132406/files/398e139d02bcb79a8372800f1f278b4a51110ced
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/picnixz
picnixz https://github.com/picnixz
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/132406
https://github.com/picnixz
https://github.com/bedevere-bot
https://github.com/hoodmane
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.