| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:b814978a-5b6f-3fb2-20df-ed10cf16c864 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CEC6:3CBFCC:80DB3:B59D1:6B004EF1 |
| html-safe-nonce | 41b603a054b2e8fdedae96cff0d2b2d634ab8123024d23950fac5e12e1cd2c05 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUM2OjNDQkZDQzo4MERCMzpCNTlEMTo2QjAwNEVGMSIsInZpc2l0b3JfaWQiOiI0MjQ1MDg3MjY1NjA2MzU2NzIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bea05c803a9fcb02172af2f494022a9a7a07d5ce3437b64e5f418e9b04a95b02 |
| hovercard-subject-tag | pull_request:4109959853 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/154495/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/8965677cb26e27705af5e9a7ec54ee02fc0cf7313ffbfe9bc4a5a08e2993dfa7/python/cpython/pull/154495 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8965677cb26e27705af5e9a7ec54ee02fc0cf7313ffbfe9bc4a5a08e2993dfa7/python/cpython/pull/154495 |
| og:image:alt | Discussed #153903 (comment), it is a nice quality of life feature if docstrings from the user-written stub are also copied over.
This calls functools.update_wrapper, similar to the ctypes.util.stru... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | WardBrian |
| hostname | github.com |
| expected-hostname | github.com |
| None | f9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b27c5dde30676028abd5c5fc53ce5c9b625f8281 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/154495#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F154495 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F154495 |
| 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 |
| Reload | https://github.com/python/cpython/pull/154495 |
| Reload | https://github.com/python/cpython/pull/154495 |
| Reload | https://github.com/python/cpython/pull/154495 |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| https://github.com/python/cpython |
| ZeroIntensity | https://github.com/ZeroIntensity |
| python:main | https://github.com/python/cpython/tree/main |
| Conversation | https://github.com/python/cpython/pull/154495 |
| Commits2 (2) | https://github.com/python/cpython/pull/154495/commits |
| Checks | https://github.com/python/cpython/pull/154495/checks |
| Files changed | https://github.com/python/cpython/pull/154495/files |
| gh-153903: wrap_dll_function: copy doc, etc from wrapped stub | https://github.com/python/cpython/pull/154495#top |
| ZeroIntensity | https://github.com/ZeroIntensity |
| python:main | https://github.com/python/cpython/tree/main |
|
| https://github.com/WardBrian |
| WardBrian | https://github.com/WardBrian |
| Jul 22, 2026 | https://github.com/python/cpython/pull/154495#issue-4951069542 |
| Please reload this page | https://github.com/python/cpython/pull/154495 |
| #153903 (comment) | https://github.com/python/cpython/issues/153903#issuecomment-5039230052 |
| @ZeroIntensity | https://github.com/ZeroIntensity |
| Annotation-based decorator for ctypes function pointers #153903 | https://github.com/python/cpython/issues/153903 |
| Please reload this page | https://github.com/python/cpython/pull/154495 |
|
| https://github.com/WardBrian |
| wrap_dll_function: copy doc, etc from wrapped stub | https://github.com/python/cpython/pull/154495/commits/f73783da95f513b233e91cb4e111a09ceda4f4b8 |
| f73783d | https://github.com/python/cpython/pull/154495/commits/f73783da95f513b233e91cb4e111a09ceda4f4b8 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Jul 22, 2026
| https://github.com/python/cpython/pull/154495#ref-issue-4917828406 |
|
Annotation-based decorator for ctypes function pointers
#153903
| https://github.com/python/cpython/issues/153903 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Jul 22, 2026 | https://github.com/python/cpython/pull/154495#event-28337732215 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Jul 22, 2026 | https://github.com/python/cpython/pull/154495#event-28351567942 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
|
Jul 23, 2026
| https://github.com/python/cpython/pull/154495#pullrequestreview-4765744133 |
|
View reviewed changes
| https://github.com/python/cpython/pull/154495/files/f73783da95f513b233e91cb4e111a09ceda4f4b8 |
| Doc/library/ctypes.rst | https://github.com/python/cpython/pull/154495/files/f73783da95f513b233e91cb4e111a09ceda4f4b8#diff-13b210c267218100dc49e485ac4735e44224ae266e36c35f1ac6bf774f59e60d |
| Please reload this page | https://github.com/python/cpython/pull/154495 |
| https://github.com/apps/python-cla-bot |
| python-cla-bot | https://github.com/apps/python-cla-bot |
| Jul 23, 2026 | https://github.com/python/cpython/pull/154495#issuecomment-5060809495 |
| Please reload this page | https://github.com/python/cpython/pull/154495 |
| https://cla.python.org/ |
| Please reload this page | https://github.com/python/cpython/pull/154495 |
|
| https://github.com/WardBrian |
|
| https://github.com/ZeroIntensity |
| Documentation updates | https://github.com/python/cpython/pull/154495/commits/9d59e7e28cce22468734ed17d84cebcafcfadae3 |
| 9d59e7e | https://github.com/python/cpython/pull/154495/commits/9d59e7e28cce22468734ed17d84cebcafcfadae3 |
| https://github.com/apps/read-the-docs-community |
| read-the-docs-community | https://github.com/apps/read-the-docs-community |
| Jul 23, 2026 | https://github.com/python/cpython/pull/154495#issuecomment-5060848776 |
| cpython-previews | https://app.readthedocs.org/projects/cpython-previews/ |
| #33728964 | https://app.readthedocs.org/projects/cpython-previews/builds/33728964/ |
| 9d59e7e | https://github.com/python/cpython/commit/9d59e7e28cce22468734ed17d84cebcafcfadae3 |
| main | https://cpython-previews.readthedocs.io/en/main/ |
| 0ca0107 | https://github.com/python/cpython/commit/0ca0107e4fc842b57ec12a39a51c9ce390d43c4b |
| 🔍 Preview build | https://cpython-previews--154495.org.readthedocs.build/en/154495/ |
| library/ctypes.html | https://cpython-previews--154495.org.readthedocs.build/en/154495/library/ctypes.html |
| Please reload this page | https://github.com/python/cpython/pull/154495 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
|
Jul 23, 2026
| https://github.com/python/cpython/pull/154495#pullrequestreview-4766167066 |
|
View reviewed changes
| https://github.com/python/cpython/pull/154495/files/9d59e7e28cce22468734ed17d84cebcafcfadae3 |
| ZeroIntensity | https://github.com/ZeroIntensity |
| https://github.com/python/cpython/pull/154495#pullrequestreview-4766167066 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/154495 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Jul 23, 2026 | https://github.com/python/cpython/pull/154495#event-28393551827 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
| July 23, 2026 16:31 | https://github.com/python/cpython/pull/154495#event-28393573934 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
| 2b4e062 | https://github.com/python/cpython/commit/2b4e062a277f888c0139ac7196c2b6dcaed795dc |
| Jul 23, 2026 | https://github.com/python/cpython/pull/154495#event-28394672516 |
| Please reload this page | https://github.com/python/cpython/pull/154495 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Jul 23, 2026 | https://github.com/python/cpython/pull/154495#event-28394674806 |
| https://github.com/WardBrian |
| WardBrian | https://github.com/WardBrian |
| July 23, 2026 18:26 | https://github.com/python/cpython/pull/154495#event-28398486110 |
| mbeijen | https://github.com/mbeijen |
|
Aug 14, 2026
| https://github.com/python/cpython/pull/154495#ref-commit-23b4f2b |
|
| https://github.com/WardBrian |
|
| https://github.com/ZeroIntensity |
|
| https://github.com/mbeijen |
| pythongh-153903 | https://github.com/python/cpython/issues/153903 |
| : Copy docstrings and other metadata in `ctypes.util.w… | https://github.com/mbeijen/cpython/commit/23b4f2b32c09906dc07cd41aeed3ab6bdc7d96f4 |
| 23b4f2b | https://github.com/mbeijen/cpython/commit/23b4f2b32c09906dc07cd41aeed3ab6bdc7d96f4 |
| pythonGH-154495 | https://github.com/python/cpython/pull/154495 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F154495 |
|
| https://github.com/ZeroIntensity |
|
ZeroIntensity
| https://github.com/ZeroIntensity |
|
| https://github.com/python/cpython/pull/154495/files/9d59e7e28cce22468734ed17d84cebcafcfadae3 |
| Please reload this page | https://github.com/python/cpython/pull/154495 |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Please reload this page | https://github.com/python/cpython/pull/154495 |
|
| https://github.com/WardBrian |
|
| https://github.com/ZeroIntensity |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |