| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:39fa1d67-f1c9-1a3d-ceee-b07ff448f6e3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C06A:217FCE:88A696:BAD8BA:6969DE87 |
| html-safe-nonce | 7ca66eead9253a1e1da6a65d00c6975176f3daefa5b637577fe5c170cd41cc1b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDZBOjIxN0ZDRTo4OEE2OTY6QkFEOEJBOjY5NjlERTg3IiwidmlzaXRvcl9pZCI6Ijg5MTE1NTA5NjE4OTI4NDMxNDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 090802cc89f75d68b92fc4dd0f7aa5c56a410adfb95a772b83f3090556bcfaf1 |
| hovercard-subject-tag | pull_request:1329395367 |
| 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/103893/files |
| twitter:image | https://avatars.githubusercontent.com/u/13780613?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/13780613?s=400&v=4 |
| og:image:alt | Low-hanging fruit: port the easy types
Issue: gh-103092 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/103893/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103893%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| 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 |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| 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/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%2F103893%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/103893/files |
| Reload | https://github.com/python/cpython/pull/103893/files |
| Reload | https://github.com/python/cpython/pull/103893/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/103893/files |
|
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 page | https://github.com/python/cpython/pull/103893/files |
|
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 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 |
| erlend-aasland | https://github.com/erlend-aasland |
| python:main | https://github.com/python/cpython/tree/main |
| erlend-aasland:isolate-ctypes/part1 | https://github.com/erlend-aasland/cpython/tree/isolate-ctypes/part1 |
|
Conversation
3
| https://github.com/python/cpython/pull/103893 |
|
Commits
9
| https://github.com/python/cpython/pull/103893/commits |
|
Checks
0
| https://github.com/python/cpython/pull/103893/checks |
|
Files changed
| https://github.com/python/cpython/pull/103893/files |
| Please reload this page | https://github.com/python/cpython/pull/103893/files |
|
gh-103092: Isolate _ctypes, part 1
| https://github.com/python/cpython/pull/103893/files#top |
|
Show all changes
9 commits
| https://github.com/python/cpython/pull/103893/files |
|
1206b13
Establish global state
erlend-aasland Mar 24, 2023
| https://github.com/python/cpython/pull/103893/commits/1206b137979a5e10583ee74f01ba18fc237004e9 |
|
1371dbd
Adapt DictRemover type
erlend-aasland Mar 24, 2023
| https://github.com/python/cpython/pull/103893/commits/1371dbd9d1336966e0bf260718c51dbb2198b88c |
|
0e39150
Adapt PyCArg type
erlend-aasland Mar 28, 2023
| https://github.com/python/cpython/pull/103893/commits/0e391509d8292ccf5625e951d4df756e470d5216 |
|
90b5c8f
Adapt PyCThunk type
erlend-aasland Apr 26, 2023
| https://github.com/python/cpython/pull/103893/commits/90b5c8fa4531aacf20d64212798a3aaf52e16337 |
|
bcd391f
Adapt PyCField type
erlend-aasland Apr 26, 2023
| https://github.com/python/cpython/pull/103893/commits/bcd391fc950bbbae96bed8808f74802a62f3a1c4 |
|
a0d3a68
Adapt StructParam type
erlend-aasland Apr 26, 2023
| https://github.com/python/cpython/pull/103893/commits/a0d3a681bf5bfce96ca8f2586f2a62deb23ceee7 |
|
77882d6
Clean up macro
erlend-aasland Apr 26, 2023
| https://github.com/python/cpython/pull/103893/commits/77882d66d1722bf5c5b492265da27089b44803f7 |
|
e5ce31a
Add global state to c analyzer
erlend-aasland Apr 26, 2023
| https://github.com/python/cpython/pull/103893/commits/e5ce31ad8402dc882437849a4f46098968a6236a |
|
a276753
Fix 'has no __module__ attribute' warning
erlend-aasland Apr 26, 2023
| https://github.com/python/cpython/pull/103893/commits/a2767539656a507b13f70d0ffd13f5140cf2fc91 |
|
Clear filters
| https://github.com/python/cpython/pull/103893/files |
| Please reload this page | https://github.com/python/cpython/pull/103893/files |
| Please reload this page | https://github.com/python/cpython/pull/103893/files |
|
_ctypes.c
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
callbacks.c
| https://github.com/python/cpython/pull/103893/files#diff-706e65ee28911740bf638707e19578b8182e57c6a8a9a4a91105d825f95a139d |
|
callproc.c
| https://github.com/python/cpython/pull/103893/files#diff-4e23b3237d0aa08bf4c434d75fab19200a80837bd147051fefccd98b7f2480fa |
|
cfield.c
| https://github.com/python/cpython/pull/103893/files#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1 |
|
ctypes.h
| https://github.com/python/cpython/pull/103893/files#diff-53f61eb1ad6b25b3aff25b54b4df5004a1f1137ca1d2aae4c7e31fc00ec6e9f8 |
|
stgdict.c
| https://github.com/python/cpython/pull/103893/files#diff-a75c1edda81c7e4ede83ebbd84c2638023c1b91de15b504f574ba7e08b8b0883 |
|
globals-to-fix.tsv
| https://github.com/python/cpython/pull/103893/files#diff-8d1e9a0d5771dfc3a628047509e2d4a1027327bd89392e5a3ec5fbd3d08cfa19 |
| Modules/_ctypes/_ctypes.c | https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
View file
| https://github.com/erlend-aasland/cpython/blob/a2767539656a507b13f70d0ffd13f5140cf2fc91/Modules/_ctypes/_ctypes.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/103893/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
|
| https://github.com/python/cpython/pull/103893/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4 |
| Modules/_ctypes/callbacks.c | https://github.com/python/cpython/pull/103893/files#diff-706e65ee28911740bf638707e19578b8182e57c6a8a9a4a91105d825f95a139d |
|
View file
| https://github.com/erlend-aasland/cpython/blob/a2767539656a507b13f70d0ffd13f5140cf2fc91/Modules/_ctypes/callbacks.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/103893/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/103893/files#diff-706e65ee28911740bf638707e19578b8182e57c6a8a9a4a91105d825f95a139d |
|
| https://github.com/python/cpython/pull/103893/files#diff-706e65ee28911740bf638707e19578b8182e57c6a8a9a4a91105d825f95a139d |
|
| https://github.com/python/cpython/pull/103893/files#diff-706e65ee28911740bf638707e19578b8182e57c6a8a9a4a91105d825f95a139d |
|
| https://github.com/python/cpython/pull/103893/files#diff-706e65ee28911740bf638707e19578b8182e57c6a8a9a4a91105d825f95a139d |
|
| https://github.com/python/cpython/pull/103893/files#diff-706e65ee28911740bf638707e19578b8182e57c6a8a9a4a91105d825f95a139d |
|
| https://github.com/python/cpython/pull/103893/files#diff-706e65ee28911740bf638707e19578b8182e57c6a8a9a4a91105d825f95a139d |
|
| https://github.com/python/cpython/pull/103893/files#diff-706e65ee28911740bf638707e19578b8182e57c6a8a9a4a91105d825f95a139d |
| Please reload this page | https://github.com/python/cpython/pull/103893/files |
|
| 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 |