René's URL Explorer Experiment


Title: gh-153903: wrap_dll_function: copy doc, etc from wrapped stub by WardBrian · Pull Request #154495 · python/cpython · GitHub

Open Graph Title: gh-153903: wrap_dll_function: copy doc, etc from wrapped stub by WardBrian · Pull Request #154495 · python/cpython

X Title: gh-153903: wrap_dll_function: copy doc, etc from wrapped stub by WardBrian · Pull Request #154495 · python/cpython

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

Open Graph Description: 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...

X Description: 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...

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

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:b814978a-5b6f-3fb2-20df-ed10cf16c864
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCEC6:3CBFCC:80DB3:B59D1:6B004EF1
html-safe-nonce41b603a054b2e8fdedae96cff0d2b2d634ab8123024d23950fac5e12e1cd2c05
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUM2OjNDQkZDQzo4MERCMzpCNTlEMTo2QjAwNEVGMSIsInZpc2l0b3JfaWQiOiI0MjQ1MDg3MjY1NjA2MzU2NzIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbea05c803a9fcb02172af2f494022a9a7a07d5ce3437b64e5f418e9b04a95b02
hovercard-subject-tagpull_request:4109959853
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/154495/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8965677cb26e27705af5e9a7ec54ee02fc0cf7313ffbfe9bc4a5a08e2993dfa7/python/cpython/pull/154495
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8965677cb26e27705af5e9a7ec54ee02fc0cf7313ffbfe9bc4a5a08e2993dfa7/python/cpython/pull/154495
og:image:altDiscussed #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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameWardBrian
hostnamegithub.com
expected-hostnamegithub.com
Nonef9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b
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
releaseb27c5dde30676028abd5c5fc53ce5c9b625f8281
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/154495#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F154495
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%2F154495
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/154495
Reloadhttps://github.com/python/cpython/pull/154495
Reloadhttps://github.com/python/cpython/pull/154495
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
Conversationhttps://github.com/python/cpython/pull/154495
Commits2 (2)https://github.com/python/cpython/pull/154495/commits
Checkshttps://github.com/python/cpython/pull/154495/checks
Files changedhttps://github.com/python/cpython/pull/154495/files
gh-153903: wrap_dll_function: copy doc, etc from wrapped stubhttps://github.com/python/cpython/pull/154495#top
ZeroIntensityhttps://github.com/ZeroIntensity
python:mainhttps://github.com/python/cpython/tree/main
https://github.com/WardBrian
WardBrianhttps://github.com/WardBrian
Jul 22, 2026https://github.com/python/cpython/pull/154495#issue-4951069542
Please reload this pagehttps://github.com/python/cpython/pull/154495
#153903 (comment)https://github.com/python/cpython/issues/153903#issuecomment-5039230052
@ZeroIntensityhttps://github.com/ZeroIntensity
Annotation-based decorator for ctypes function pointers #153903https://github.com/python/cpython/issues/153903
Please reload this pagehttps://github.com/python/cpython/pull/154495
https://github.com/WardBrian
wrap_dll_function: copy doc, etc from wrapped stubhttps://github.com/python/cpython/pull/154495/commits/f73783da95f513b233e91cb4e111a09ceda4f4b8
f73783dhttps://github.com/python/cpython/pull/154495/commits/f73783da95f513b233e91cb4e111a09ceda4f4b8
https://github.com/apps/bedevere-app
bedevere-apphttps://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-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 22, 2026https://github.com/python/cpython/pull/154495#event-28337732215
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jul 22, 2026https://github.com/python/cpython/pull/154495#event-28351567942
https://github.com/ZeroIntensity
ZeroIntensityhttps://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.rsthttps://github.com/python/cpython/pull/154495/files/f73783da95f513b233e91cb4e111a09ceda4f4b8#diff-13b210c267218100dc49e485ac4735e44224ae266e36c35f1ac6bf774f59e60d
Please reload this pagehttps://github.com/python/cpython/pull/154495
https://github.com/apps/python-cla-bot
python-cla-bothttps://github.com/apps/python-cla-bot
Jul 23, 2026https://github.com/python/cpython/pull/154495#issuecomment-5060809495
Please reload this pagehttps://github.com/python/cpython/pull/154495
https://cla.python.org/
Please reload this pagehttps://github.com/python/cpython/pull/154495
https://github.com/WardBrian
https://github.com/ZeroIntensity
Documentation updateshttps://github.com/python/cpython/pull/154495/commits/9d59e7e28cce22468734ed17d84cebcafcfadae3
9d59e7ehttps://github.com/python/cpython/pull/154495/commits/9d59e7e28cce22468734ed17d84cebcafcfadae3
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Jul 23, 2026https://github.com/python/cpython/pull/154495#issuecomment-5060848776
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#33728964https://app.readthedocs.org/projects/cpython-previews/builds/33728964/
9d59e7ehttps://github.com/python/cpython/commit/9d59e7e28cce22468734ed17d84cebcafcfadae3
mainhttps://cpython-previews.readthedocs.io/en/main/
0ca0107https://github.com/python/cpython/commit/0ca0107e4fc842b57ec12a39a51c9ce390d43c4b
  🔍 Preview build   https://cpython-previews--154495.org.readthedocs.build/en/154495/
library/ctypes.htmlhttps://cpython-previews--154495.org.readthedocs.build/en/154495/library/ctypes.html
Please reload this pagehttps://github.com/python/cpython/pull/154495
https://github.com/ZeroIntensity
ZeroIntensityhttps://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
ZeroIntensityhttps://github.com/ZeroIntensity
https://github.com/python/cpython/pull/154495#pullrequestreview-4766167066
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/154495
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 review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 23, 2026https://github.com/python/cpython/pull/154495#event-28393551827
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
July 23, 2026 16:31https://github.com/python/cpython/pull/154495#event-28393573934
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
2b4e062https://github.com/python/cpython/commit/2b4e062a277f888c0139ac7196c2b6dcaed795dc
Jul 23, 2026https://github.com/python/cpython/pull/154495#event-28394672516
Please reload this pagehttps://github.com/python/cpython/pull/154495
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
Jul 23, 2026https://github.com/python/cpython/pull/154495#event-28394674806
https://github.com/WardBrian
WardBrianhttps://github.com/WardBrian
July 23, 2026 18:26https://github.com/python/cpython/pull/154495#event-28398486110
mbeijenhttps://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-153903https://github.com/python/cpython/issues/153903
: Copy docstrings and other metadata in `ctypes.util.w…https://github.com/mbeijen/cpython/commit/23b4f2b32c09906dc07cd41aeed3ab6bdc7d96f4
23b4f2bhttps://github.com/mbeijen/cpython/commit/23b4f2b32c09906dc07cd41aeed3ab6bdc7d96f4
pythonGH-154495https://github.com/python/cpython/pull/154495
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%2F154495
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
https://github.com/python/cpython/pull/154495/files/9d59e7e28cce22468734ed17d84cebcafcfadae3
Please reload this pagehttps://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 pagehttps://github.com/python/cpython/pull/154495
https://github.com/WardBrian
https://github.com/ZeroIntensity
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.