René's URL Explorer Experiment


Title: gh-153903: Add a `ctypes` decorator for generating function pointers using annotations by ZeroIntensity · Pull Request #153904 · python/cpython · GitHub

Open Graph Title: gh-153903: Add a `ctypes` decorator for generating function pointers using annotations by ZeroIntensity · Pull Request #153904 · python/cpython

X Title: gh-153903: Add a `ctypes` decorator for generating function pointers using annotations by ZeroIntensity · Pull Request #153904 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Issue: Annotation-based decorator for ctypes function pointers #153903

X Description: Issue: Annotation-based decorator for ctypes function pointers #153903

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:f06bcbfc-f886-82a5-a0b0-20585c624691
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCEFA:288B6B:6DC9A:97D08:6B004EF3
html-safe-nonceb36ba118a840744948da1432522c6323efe887d9b1c5ce2d93b3f232455df78e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUZBOjI4OEI2Qjo2REM5QTo5N0QwODo2QjAwNEVGMyIsInZpc2l0b3JfaWQiOiI1MzI5NzE5NDI1ODYxOTYzNTA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7d0eb84ac7dacdecc7baa69d4166708c6ac84b376d8e3a25ae89ecca5c7888ad
hovercard-subject-tagpull_request:4081973589
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/153904/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6d8b0310114364f26082608da87e5012bba41a1b96c7a9af2ed2e3da1ea42160/python/cpython/pull/153904
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6d8b0310114364f26082608da87e5012bba41a1b96c7a9af2ed2e3da1ea42160/python/cpython/pull/153904
og:image:altIssue: Annotation-based decorator for ctypes function pointers #153903
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameZeroIntensity
hostnamegithub.com
expected-hostnamegithub.com
Nonef420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb
turbo-cache-controlno-cache
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
release26e00df917aba0f128135dc073ea0c5e33a70d40
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/153904#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153904
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153904
Sign uphttps://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/153904
Reloadhttps://github.com/python/cpython/pull/153904
Reloadhttps://github.com/python/cpython/pull/153904
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
ZeroIntensityhttps://github.com/ZeroIntensity
python:mainhttps://github.com/python/cpython/tree/main
ZeroIntensity:ctypes/dll-function-annotationshttps://github.com/ZeroIntensity/cpython/tree/ctypes/dll-function-annotations
Conversationhttps://github.com/python/cpython/pull/153904
Commits11 (11)https://github.com/python/cpython/pull/153904/commits
Checkshttps://github.com/python/cpython/pull/153904/checks
Files changedhttps://github.com/python/cpython/pull/153904/files
gh-153903: Add a ctypes decorator for generating function pointers using annotationshttps://github.com/python/cpython/pull/153904#top
ZeroIntensityhttps://github.com/ZeroIntensity
python:mainhttps://github.com/python/cpython/tree/main
ZeroIntensity:ctypes/dll-function-annotationshttps://github.com/ZeroIntensity/cpython/tree/ctypes/dll-function-annotations
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Jul 18, 2026https://github.com/python/cpython/pull/153904#issue-4917840616
Please reload this pagehttps://github.com/python/cpython/pull/153904
Annotation-based decorator for ctypes function pointers #153903https://github.com/python/cpython/issues/153903
Please reload this pagehttps://github.com/python/cpython/pull/153904
ZeroIntensityhttps://github.com/ZeroIntensity
July 18, 2026 05:57https://github.com/python/cpython/pull/153904#commits-pushed-bd06606
https://github.com/ZeroIntensity
Implement ctypes.util.wrap_dll_function().https://github.com/python/cpython/pull/153904/commits/bd0660629bc7470a3c89f3080da1bd0e873e990e
bd06606https://github.com/python/cpython/pull/153904/commits/bd0660629bc7470a3c89f3080da1bd0e873e990e
https://github.com/ZeroIntensity
Add docs.https://github.com/python/cpython/pull/153904/commits/428907a9be82a3b939c1f81cb022d71d8a13ce4d
428907ahttps://github.com/python/cpython/pull/153904/commits/428907a9be82a3b939c1f81cb022d71d8a13ce4d
https://github.com/ZeroIntensity
Add blurb and whatsnew entry.https://github.com/python/cpython/pull/153904/commits/fbef8190d216aa8e1cb1c96e18bf91d1b2067eb7
fbef819https://github.com/python/cpython/pull/153904/commits/fbef8190d216aa8e1cb1c96e18bf91d1b2067eb7
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
AA-Turnerhttps://github.com/AA-Turner
code ownerhttps://github.com/python/cpython/blob/ff5646206f7676042def0c3c76487e9528c2a2f8/.github/CODEOWNERS#L116
July 18, 2026 10:18https://github.com/python/cpython/pull/153904#event-28156542831
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
sprint https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Asprint
topic-ctypes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-ctypes
Jul 18, 2026https://github.com/python/cpython/pull/153904#event-28156542902
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Sprinthttps://github.com/orgs/python/projects/32
Jul 18, 2026https://github.com/python/cpython/pull/153904#event-28156544060
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Sprinthttps://github.com/orgs/python/projects/32
Jul 18, 2026https://github.com/python/cpython/pull/153904#event-28156544335
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
Jul 18, 2026https://github.com/python/cpython/pull/153904#event-28156544097
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 18, 2026 https://github.com/python/cpython/pull/153904#ref-issue-4917828406
Annotation-based decorator for ctypes function pointers #153903 https://github.com/python/cpython/issues/153903
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Jul 18, 2026https://github.com/python/cpython/pull/153904#issuecomment-5010903428
Please reload this pagehttps://github.com/python/cpython/pull/153904
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#33645572https://app.readthedocs.org/projects/cpython-previews/builds/33645572/
132927ehttps://github.com/python/cpython/commit/132927e29e6e915c4cea11b49fe19c1984c3d278
mainhttps://cpython-previews.readthedocs.io/en/main/
ff56462https://github.com/python/cpython/commit/ff5646206f7676042def0c3c76487e9528c2a2f8
  🔍 Preview build   https://cpython-previews--153904.org.readthedocs.build/en/153904/
library/allos.htmlhttps://cpython-previews--153904.org.readthedocs.build/en/153904/library/allos.html
library/concurrent.interpreters.htmlhttps://cpython-previews--153904.org.readthedocs.build/en/153904/library/concurrent.interpreters.html
library/ctypes.htmlhttps://cpython-previews--153904.org.readthedocs.build/en/153904/library/ctypes.html
library/filecmp.htmlhttps://cpython-previews--153904.org.readthedocs.build/en/153904/library/filecmp.html
whatsnew/3.16.htmlhttps://cpython-previews--153904.org.readthedocs.build/en/153904/whatsnew/3.16.html
whatsnew/changelog.htmlhttps://cpython-previews--153904.org.readthedocs.build/en/153904/whatsnew/changelog.html
Please reload this pagehttps://github.com/python/cpython/pull/153904
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
July 18, 2026 10:41https://github.com/python/cpython/pull/153904#event-28156838213
https://github.com/ZeroIntensity
Fix docs warnings.https://github.com/python/cpython/pull/153904/commits/a60fbfa91e961df20f92e3bc394c98f42b49cf55
a60fbfahttps://github.com/python/cpython/pull/153904/commits/a60fbfa91e961df20f92e3bc394c98f42b49cf55
https://github.com/tomasr8
tomasr8https://github.com/tomasr8
Jul 18, 2026 https://github.com/python/cpython/pull/153904#pullrequestreview-4728374202
View reviewed changes https://github.com/python/cpython/pull/153904/files/a60fbfa91e961df20f92e3bc394c98f42b49cf55
Lib/test/test_ctypes/test_funcptr.pyhttps://github.com/python/cpython/pull/153904/files/a60fbfa91e961df20f92e3bc394c98f42b49cf55#diff-85aa707831177c21f74a4ab54517442a10c534c4fe87a7655b0aae319fdc77b2
Please reload this pagehttps://github.com/python/cpython/pull/153904
Lib/test/test_ctypes/test_funcptr.pyhttps://github.com/python/cpython/pull/153904/files/a60fbfa91e961df20f92e3bc394c98f42b49cf55#diff-85aa707831177c21f74a4ab54517442a10c534c4fe87a7655b0aae319fdc77b2
Please reload this pagehttps://github.com/python/cpython/pull/153904
Lib/ctypes/util.pyhttps://github.com/python/cpython/pull/153904/files/a60fbfa91e961df20f92e3bc394c98f42b49cf55#diff-bf1ae275d0ef9307536cedfa6e90f6846b3dc52e58582bde2dc7a2431262aadc
Please reload this pagehttps://github.com/python/cpython/pull/153904
ZeroIntensityhttps://github.com/ZeroIntensity
July 18, 2026 07:20https://github.com/python/cpython/pull/153904#commits-pushed-0fd0fe4
https://github.com/ZeroIntensity
https://github.com/tomasr8
Update Lib/ctypes/util.pyhttps://github.com/python/cpython/pull/153904/commits/0fd0fe469f063c19776fe19ffafb92780b564d4e
0fd0fe4https://github.com/python/cpython/pull/153904/commits/0fd0fe469f063c19776fe19ffafb92780b564d4e
https://github.com/ZeroIntensity
Use "pass" instead of "..." to denote emptiness.https://github.com/python/cpython/pull/153904/commits/3a488cdaf80759f2471b47b9b6d03103edbf595e
3a488cdhttps://github.com/python/cpython/pull/153904/commits/3a488cdaf80759f2471b47b9b6d03103edbf595e
https://github.com/ZeroIntensity
Assert the exact error message.https://github.com/python/cpython/pull/153904/commits/fcdddea2711f9884cd15513dc9f4cd667163ab51
fcdddeahttps://github.com/python/cpython/pull/153904/commits/fcdddea2711f9884cd15513dc9f4cd667163ab51
https://github.com/ZeroIntensity
Merge branch 'ctypes/dll-function-annotations' ofhttps://github.com/python/cpython/pull/153904/commits/12ba68534591b0365a0a4fce56e0b842a8269c6d
https://github.com/…https://github.com/zerointensity/cpython
12ba685https://github.com/python/cpython/pull/153904/commits/12ba68534591b0365a0a4fce56e0b842a8269c6d
…zerointensity/cpythonhttps://github.com/zerointensity/cpython
https://github.com/ZeroIntensity
Use a tuple instead of a list.https://github.com/python/cpython/pull/153904/commits/e962991e14797d0f3095acb0d290221e73647367
e962991https://github.com/python/cpython/pull/153904/commits/e962991e14797d0f3095acb0d290221e73647367
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
Jul 18, 2026 https://github.com/python/cpython/pull/153904#pullrequestreview-4728391462
View reviewed changes https://github.com/python/cpython/pull/153904/files/0fd0fe469f063c19776fe19ffafb92780b564d4e
Lib/ctypes/util.pyhttps://github.com/python/cpython/pull/153904/files/0fd0fe469f063c19776fe19ffafb92780b564d4e#diff-bf1ae275d0ef9307536cedfa6e90f6846b3dc52e58582bde2dc7a2431262aadc
Please reload this pagehttps://github.com/python/cpython/pull/153904
ZeroIntensityhttps://github.com/ZeroIntensity
July 18, 2026 07:27https://github.com/python/cpython/pull/153904#commits-pushed-57a1cbf
https://github.com/ZeroIntensity
https://github.com/johnslavik
Update Lib/ctypes/util.pyhttps://github.com/python/cpython/pull/153904/commits/57a1cbf9a2c3d7a5d8a55236945c6f38828c894d
57a1cbfhttps://github.com/python/cpython/pull/153904/commits/57a1cbf9a2c3d7a5d8a55236945c6f38828c894d
https://github.com/ZeroIntensity
Fix test.https://github.com/python/cpython/pull/153904/commits/132927e29e6e915c4cea11b49fe19c1984c3d278
132927ehttps://github.com/python/cpython/pull/153904/commits/132927e29e6e915c4cea11b49fe19c1984c3d278
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
Jul 18, 2026 https://github.com/python/cpython/pull/153904#pullrequestreview-4728419402
View reviewed changes https://github.com/python/cpython/pull/153904/files/132927e29e6e915c4cea11b49fe19c1984c3d278
Doc/library/ctypes.rsthttps://github.com/python/cpython/pull/153904/files/132927e29e6e915c4cea11b49fe19c1984c3d278#diff-13b210c267218100dc49e485ac4735e44224ae266e36c35f1ac6bf774f59e60d
Please reload this pagehttps://github.com/python/cpython/pull/153904
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
Jul 18, 2026 https://github.com/python/cpython/pull/153904#pullrequestreview-4728497067
View reviewed changes https://github.com/python/cpython/pull/153904/files/132927e29e6e915c4cea11b49fe19c1984c3d278
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Sprinthttps://github.com/orgs/python/projects/32
Jul 18, 2026https://github.com/python/cpython/pull/153904#event-28158420945
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
0e81ef9https://github.com/python/cpython/commit/0e81ef93ebd87607c8d946e7dfb6940c5fe9f083
Jul 18, 2026https://github.com/python/cpython/pull/153904#event-28158449132
Please reload this pagehttps://github.com/python/cpython/pull/153904
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
July 18, 2026 12:30https://github.com/python/cpython/pull/153904#event-28158449489
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Sprinthttps://github.com/orgs/python/projects/32
Jul 18, 2026https://github.com/python/cpython/pull/153904#event-28158450190
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
Jul 18, 2026https://github.com/python/cpython/pull/153904#event-28158449826
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F153904
https://github.com/tomasr8
tomasr8 https://github.com/tomasr8
https://github.com/python/cpython/pull/153904/files/a60fbfa91e961df20f92e3bc394c98f42b49cf55
https://github.com/johnslavik
johnslavik https://github.com/johnslavik
https://github.com/python/cpython/pull/153904/files/132927e29e6e915c4cea11b49fe19c1984c3d278
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
Please reload this pagehttps://github.com/python/cpython/pull/153904
sprint https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Asprint
topic-ctypes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-ctypes
Sprint https://github.com/orgs/python/projects/32
Please reload this pagehttps://github.com/python/cpython/pull/153904
https://github.com/ZeroIntensity
https://github.com/tomasr8
https://github.com/johnslavik
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.