| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:dd472f0b-8cd8-f17f-eccb-35be75906373 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D046:24099F:B32A38:F5BD1D:6A63B3CF |
| html-safe-nonce | f9260e99ec6e6222f364b3917c6ede2528f60b84a8998b75efc05da0aa93f6e1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDQ2OjI0MDk5RjpCMzJBMzg6RjVCRDFEOjZBNjNCM0NGIiwidmlzaXRvcl9pZCI6IjM0NzI1Mzc2NDY3OTUwNDM3OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8a168ead337b95efeabfd71995df2b59b9cb4a20db94088244a33533b2ffabd8 |
| hovercard-subject-tag | pull_request:2173001819 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/126686/files |
| twitter:image | https://avatars.githubusercontent.com/u/45822440?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/45822440?s=400&v=4 |
| og:image:alt | Please refer also to gh-126384 and gh-126610 for the behavior when a foreign function fails to call a COM method.
Issue: gh-126615
📚 Documentation preview 📚: https://cpython-previews--126686.... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b1a203abf5b8fb9010b42a32ce0f19fb6e11e656f254d0d3dcdba4b65a6961a6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3ae9132c55b60e2a8f9553322217eb369dd24575 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/126686/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F126686%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F126686%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/126686/files |
| Reload | https://github.com/python/cpython/pull/126686/files |
| Reload | https://github.com/python/cpython/pull/126686/files |
| Please reload this page | https://github.com/python/cpython/pull/126686/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/126686/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.9k
| 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.4k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
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 and quality
| 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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| junkmd:gh_126615_comerror_doc | https://github.com/junkmd/cpython/tree/gh_126615_comerror_doc |
|
Conversation
31
| https://github.com/python/cpython/pull/126686 |
|
Commits
20
| https://github.com/python/cpython/pull/126686/commits |
|
Checks
0
| https://github.com/python/cpython/pull/126686/checks |
|
Files changed
| https://github.com/python/cpython/pull/126686/files |
| Please reload this page | https://github.com/python/cpython/pull/126686/files |
|
gh-126615: Make COMError public and add to ctypes doc.
| https://github.com/python/cpython/pull/126686/files#top |
|
Show all changes
20 commits
| https://github.com/python/cpython/pull/126686/files |
|
e70aa54
add `COMError` exception to `Doc/library/ctypes.rst`.
junkmd Nov 16, 2024
| https://github.com/python/cpython/pull/126686/commits/e70aa54456782d9cde3f612d11adf0a771faf18a |
|
181f512
Add a mention of the difference in exceptions that can be raised.
junkmd Nov 16, 2024
| https://github.com/python/cpython/pull/126686/commits/181f512798590f8ba08bddbb82f8eeaacd68697e |
|
857fef5
Add a dot to refer to the object within the same module.
junkmd Nov 16, 2024
| https://github.com/python/cpython/pull/126686/commits/857fef5b074f90cca5bc99baef296fe374c6a3aa |
|
90fb47f
Simplify descriptions of attributes.
junkmd Nov 16, 2024
| https://github.com/python/cpython/pull/126686/commits/90fb47fd75400eecca9bb17807657e04777df450 |
|
1f9d4ee
Align with the docstring defined in the C implementation:
junkmd Nov 16, 2024
| https://github.com/python/cpython/pull/126686/commits/1f9d4eea65de2dd20e789b64c6c7c2216d28922a |
|
b71e310
Apply suggestions from code review
junkmd Nov 16, 2024
| https://github.com/python/cpython/pull/126686/commits/b71e310fab5ca60dd5c51bde2476d7a162f25f86 |
|
dafb5b2
Add the dot to make the reflink.
junkmd Nov 16, 2024
| https://github.com/python/cpython/pull/126686/commits/dafb5b225a451adfa8763575fde7b77dcfa8f334 |
|
49d5e5f
Add the `availability`.
junkmd Nov 16, 2024
| https://github.com/python/cpython/pull/126686/commits/49d5e5f35b68e6a0e3cb2c542c8f95e7381bfb11 |
|
1fa159a
Create the "Exceptions" section.
junkmd Nov 16, 2024
| https://github.com/python/cpython/pull/126686/commits/1fa159ab9a5c24125beb1302fd29d76755fb6355 |
|
934c36a
Remove the `availability` directive
junkmd Nov 16, 2024
| https://github.com/python/cpython/pull/126686/commits/934c36ae4a19069c15a66e3c3c5b45c845fecd77 |
|
9461642
`WindowsError` -> `OSError`
junkmd Nov 18, 2024
| https://github.com/python/cpython/pull/126686/commits/9461642637560ed31dfbc49e971f2e642920ccfb |
|
705ffcc
details of `details`.
junkmd Nov 18, 2024
| https://github.com/python/cpython/pull/126686/commits/705ffcc7f27957f9ae2a58761ee8e64ae9654901 |
|
b5a2170
Small fix.
junkmd Nov 18, 2024
| https://github.com/python/cpython/pull/126686/commits/b5a2170bc371bd0f8dbf31f84a25ae349775e694 |
|
a16f1e2
Make `COMError` public.
junkmd Nov 19, 2024
| https://github.com/python/cpython/pull/126686/commits/a16f1e20458498673fc95dc6bdcfbe0ac394fae1 |
|
e2617f3
Update docs.
junkmd Nov 19, 2024
| https://github.com/python/cpython/pull/126686/commits/e2617f3aa2eaf05c6cb052d1e12ca14d516c77bf |
|
57d76c5
Update `test_COMError`.
junkmd Nov 19, 2024
| https://github.com/python/cpython/pull/126686/commits/57d76c5c23cf4c7222e5233bf8ec1abc6ac2b3fc |
|
36f1607
Update the NEWS.
junkmd Nov 20, 2024
| https://github.com/python/cpython/pull/126686/commits/36f16071f3d15e1e75a44ce91fc05de873374588 |
|
068ea2a
`.. versionchanged::` -> `.. versionadded::`
junkmd Nov 20, 2024
| https://github.com/python/cpython/pull/126686/commits/068ea2a61c8e3c07239b739351f5d6c65ba13168 |
|
3da9e15
Update the `prototype` section.
junkmd Nov 20, 2024
| https://github.com/python/cpython/pull/126686/commits/3da9e15d0fcd1ddd9ba3537ddd23541a530e1053 |
|
920bccc
Merge branch 'main' into gh_126615_comerror_doc
junkmd Nov 20, 2024
| https://github.com/python/cpython/pull/126686/commits/920bccc58873d8343f8f0c275757dc5d302aca55 |
|
Clear filters
| https://github.com/python/cpython/pull/126686/files |
| Please reload this page | https://github.com/python/cpython/pull/126686/files |
| Please reload this page | https://github.com/python/cpython/pull/126686/files |
|
ctypes.rst
| https://github.com/python/cpython/pull/126686/files#diff-13b210c267218100dc49e485ac4735e44224ae266e36c35f1ac6bf774f59e60d |
|
3.14.rst
| https://github.com/python/cpython/pull/126686/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31 |
|
__init__.py
| https://github.com/python/cpython/pull/126686/files#diff-edff4421a88bdc56335a84a1e5a0ce0eafe5cd0c37dcb1aff03ff075bfb9b57c |
|
test_win32.py
| https://github.com/python/cpython/pull/126686/files#diff-280a29095ffc466871a959ad2241b836f530171d95adff39e075e61cb5a5e601 |
|
2024-11-19-14-34-05.gh-issue-126615.LOskwi.rst
| https://github.com/python/cpython/pull/126686/files#diff-06eee519801f843e45dff8d095c6fdfec31a0da2482bcfa07521f01cf96770ba |
| Doc/library/ctypes.rst | https://github.com/python/cpython/pull/126686/files#diff-13b210c267218100dc49e485ac4735e44224ae266e36c35f1ac6bf774f59e60d |
|
View file
| https://github.com/junkmd/cpython/blob/920bccc58873d8343f8f0c275757dc5d302aca55/Doc/library/ctypes.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/126686/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/126686/files#diff-13b210c267218100dc49e485ac4735e44224ae266e36c35f1ac6bf774f59e60d |
|
| https://github.com/python/cpython/pull/126686/files#diff-13b210c267218100dc49e485ac4735e44224ae266e36c35f1ac6bf774f59e60d |
|
| https://github.com/python/cpython/pull/126686/files#diff-13b210c267218100dc49e485ac4735e44224ae266e36c35f1ac6bf774f59e60d |
| Please reload this page | https://github.com/python/cpython/pull/126686/files |
|
| https://github.com/python/cpython/pull/126686/files#diff-13b210c267218100dc49e485ac4735e44224ae266e36c35f1ac6bf774f59e60d |
|
| https://github.com/python/cpython/pull/126686/files#diff-13b210c267218100dc49e485ac4735e44224ae266e36c35f1ac6bf774f59e60d |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116 |
| Doc/whatsnew/3.14.rst | https://github.com/python/cpython/pull/126686/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31 |
|
View file
| https://github.com/junkmd/cpython/blob/920bccc58873d8343f8f0c275757dc5d302aca55/Doc/whatsnew/3.14.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/126686/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/126686/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31 |
|
| https://github.com/python/cpython/pull/126686/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31 |
| Lib/ctypes/__init__.py | https://github.com/python/cpython/pull/126686/files#diff-edff4421a88bdc56335a84a1e5a0ce0eafe5cd0c37dcb1aff03ff075bfb9b57c |
|
View file
| https://github.com/junkmd/cpython/blob/920bccc58873d8343f8f0c275757dc5d302aca55/Lib/ctypes/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/126686/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/126686/files#diff-edff4421a88bdc56335a84a1e5a0ce0eafe5cd0c37dcb1aff03ff075bfb9b57c |
|
| https://github.com/python/cpython/pull/126686/files#diff-edff4421a88bdc56335a84a1e5a0ce0eafe5cd0c37dcb1aff03ff075bfb9b57c |
| Lib/test/test_ctypes/test_win32.py | https://github.com/python/cpython/pull/126686/files#diff-280a29095ffc466871a959ad2241b836f530171d95adff39e075e61cb5a5e601 |
|
View file
| https://github.com/junkmd/cpython/blob/920bccc58873d8343f8f0c275757dc5d302aca55/Lib/test/test_ctypes/test_win32.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/126686/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/126686/files#diff-280a29095ffc466871a959ad2241b836f530171d95adff39e075e61cb5a5e601 |
|
| https://github.com/python/cpython/pull/126686/files#diff-280a29095ffc466871a959ad2241b836f530171d95adff39e075e61cb5a5e601 |
| Misc/NEWS.d/next/Library/2024-11-19-14-34-05.gh-issue-126615.LOskwi.rst | https://github.com/python/cpython/pull/126686/files#diff-06eee519801f843e45dff8d095c6fdfec31a0da2482bcfa07521f01cf96770ba |
|
View file
| https://github.com/junkmd/cpython/blob/920bccc58873d8343f8f0c275757dc5d302aca55/Misc/NEWS.d/next/Library/2024-11-19-14-34-05.gh-issue-126615.LOskwi.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/126686/{{ revealButtonHref }} |
|
| 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 |