| 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 | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:fbf06527-3f31-a06f-1a6a-3760c7911fde |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B7E8:2E124E:3E130D7:4F3BBC1:6B022081 |
| html-safe-nonce | 3a40a7174ce2d4709c439a000a2343d845d9c95d0cd7f278f7e0b257ba1e9fe5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0U4OjJFMTI0RTozRTEzMEQ3OjRGM0JCQzE6NkIwMjIwODEiLCJ2aXNpdG9yX2lkIjoiNTYxNzk4MDQ2ODA4MDI4Nzg3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7ee1980c303ebe86074cbdacf9a2fda9be7ce3e9022e8ed981190d50489ce140 |
| hovercard-subject-tag | pull_request:2201219599 |
| 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/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/127297/commits |
| twitter:image | https://opengraph.githubassets.com/6a31d1f234059f3e8e7be0c0b8ad15d6fce7a12a72cbf59f7f96b693a58fafd9/python/cpython/pull/127297 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a31d1f234059f3e8e7be0c0b8ad15d6fce7a12a72cbf59f7f96b693a58fafd9/python/cpython/pull/127297 |
| og:image:alt | See the issue.
This refactoring has a miniscule but consistent performance benefit (1.01x geometric mean; edit: 46 cases slower & 415 faster). See my bench script & results. Thanks @vstinne... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | encukou |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/127297/commits#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127297%2Fcommits |
| 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%2F127297%2Fcommits |
| 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%2Fcommits&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/127297/commits |
| Reload | https://github.com/python/cpython/pull/127297/commits |
| Reload | https://github.com/python/cpython/pull/127297/commits |
| 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 |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| encukou:ctypes-fixint | https://github.com/encukou/cpython/tree/ctypes-fixint |
| Conversation | https://github.com/python/cpython/pull/127297 |
| Commits20 (20) | https://github.com/python/cpython/pull/127297/commits |
| Checks | https://github.com/python/cpython/pull/127297/checks |
| Files changed | https://github.com/python/cpython/pull/127297/files |
| gh-127295: ctypes: Switch field accessors to fixed-width integers | https://github.com/python/cpython/pull/127297/commits#top |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| encukou:ctypes-fixint | https://github.com/encukou/cpython/tree/ctypes-fixint |
| Consistently pass the size to getfunc/setfunc | https://github.com/python/cpython/pull/127297/commits/eeb0d4e1fd96c58a1de76c1d974684c1e5e91f10 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| eeb0d4e | https://github.com/python/cpython/pull/127297/commits/eeb0d4e1fd96c58a1de76c1d974684c1e5e91f10 |
| https://github.com/python/cpython/tree/eeb0d4e1fd96c58a1de76c1d974684c1e5e91f10 |
| Switch to fixed-width integers | https://github.com/python/cpython/pull/127297/commits/e33c92953b363454351b4073424e813e17b7415d |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| e33c929 | https://github.com/python/cpython/pull/127297/commits/e33c92953b363454351b4073424e813e17b7415d |
| https://github.com/python/cpython/tree/e33c92953b363454351b4073424e813e17b7415d |
| Remove comment for obsolete idea | https://github.com/python/cpython/pull/127297/commits/a11c0d9b596b5c9e292b6420b455ffde13f22b51 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| a11c0d9 | https://github.com/python/cpython/pull/127297/commits/a11c0d9b596b5c9e292b6420b455ffde13f22b51 |
| https://github.com/python/cpython/tree/a11c0d9b596b5c9e292b6420b455ffde13f22b51 |
| Fix the size argument | https://github.com/python/cpython/pull/127297/commits/c69b65fe72f02a17d4e5ededa589f3bbe6c9d55a |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| c69b65f | https://github.com/python/cpython/pull/127297/commits/c69b65fe72f02a17d4e5ededa589f3bbe6c9d55a |
| https://github.com/python/cpython/tree/c69b65fe72f02a17d4e5ededa589f3bbe6c9d55a |
| Re-run Clinic | https://github.com/python/cpython/pull/127297/commits/eb8cf98e1e9646c8c71d80d650acc364b3621fcb |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| eb8cf98 | https://github.com/python/cpython/pull/127297/commits/eb8cf98e1e9646c8c71d80d650acc364b3621fcb |
| https://github.com/python/cpython/tree/eb8cf98e1e9646c8c71d80d650acc364b3621fcb |
| Regen Clinic | https://github.com/python/cpython/pull/127297/commits/b9ed7278328b6bf75d82408048fa2e4049e5649e |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| b9ed727 | https://github.com/python/cpython/pull/127297/commits/b9ed7278328b6bf75d82408048fa2e4049e5649e |
| https://github.com/python/cpython/tree/b9ed7278328b6bf75d82408048fa2e4049e5649e |
| Specify signedness of the FFI types, don't match the C types | https://github.com/python/cpython/pull/127297/commits/7cbe57ceca172ca729ebdc97facdb25459ea8472 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 7cbe57c | https://github.com/python/cpython/pull/127297/commits/7cbe57ceca172ca729ebdc97facdb25459ea8472 |
| https://github.com/python/cpython/tree/7cbe57ceca172ca729ebdc97facdb25459ea8472 |
| Avoid compiler warnings | https://github.com/python/cpython/pull/127297/commits/144a3b0544d04bf5290e7b546e59876334d4982a |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 144a3b0 | https://github.com/python/cpython/pull/127297/commits/144a3b0544d04bf5290e7b546e59876334d4982a |
| https://github.com/python/cpython/tree/144a3b0544d04bf5290e7b546e59876334d4982a |
| Silence the GCC warning in a more local way. It's a GCC bug. | https://github.com/python/cpython/pull/127297/commits/fcae66bf1f432d7ba8fa85f60e018986bc8ec461 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| fcae66b | https://github.com/python/cpython/pull/127297/commits/fcae66bf1f432d7ba8fa85f60e018986bc8ec461 |
| https://github.com/python/cpython/tree/fcae66bf1f432d7ba8fa85f60e018986bc8ec461 |
| Apply suggestions from code review | https://github.com/python/cpython/pull/127297/commits/05ba9899bcd62b991d51bc3ffad385dd1d79915b |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| picnixz | https://github.com/python/cpython/commits?author=picnixz |
| 05ba989 | https://github.com/python/cpython/pull/127297/commits/05ba9899bcd62b991d51bc3ffad385dd1d79915b |
| https://github.com/python/cpython/tree/05ba9899bcd62b991d51bc3ffad385dd1d79915b |
| Add parens around macro argument | https://github.com/python/cpython/pull/127297/commits/7c08d60da964ae868549eed0296182a2816a0b17 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 7c08d60 | https://github.com/python/cpython/pull/127297/commits/7c08d60da964ae868549eed0296182a2816a0b17 |
| https://github.com/python/cpython/tree/7c08d60da964ae868549eed0296182a2816a0b17 |
| Fix refcounting for _CTYPES_DEBUG_KEEP builds | https://github.com/python/cpython/pull/127297/commits/50c82bed90acfb44043338a567eda51b47cec65f |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 50c82be | https://github.com/python/cpython/pull/127297/commits/50c82bed90acfb44043338a567eda51b47cec65f |
| https://github.com/python/cpython/tree/50c82bed90acfb44043338a567eda51b47cec65f |
| Consistency in comments. Why not. | https://github.com/python/cpython/pull/127297/commits/7375c09dc4810daa3e5ad1957ea2f985e890b3b0 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 7375c09 | https://github.com/python/cpython/pull/127297/commits/7375c09dc4810daa3e5ad1957ea2f985e890b3b0 |
| https://github.com/python/cpython/tree/7375c09dc4810daa3e5ad1957ea2f985e890b3b0 |
| Merge in the main branch | https://github.com/python/cpython/pull/127297/commits/6e8a4de0f8b3dd41290178b6446fe8aabed41715 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 6e8a4de | https://github.com/python/cpython/pull/127297/commits/6e8a4de0f8b3dd41290178b6446fe8aabed41715 |
| https://github.com/python/cpython/tree/6e8a4de0f8b3dd41290178b6446fe8aabed41715 |
| Include & use `bool` rather than `_Bool` | https://github.com/python/cpython/pull/127297/commits/870a03849990e1cc45c7a6fe9c2bc654d7cc7258 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 870a038 | https://github.com/python/cpython/pull/127297/commits/870a03849990e1cc45c7a6fe9c2bc654d7cc7258 |
| https://github.com/python/cpython/tree/870a03849990e1cc45c7a6fe9c2bc654d7cc7258 |
| Use a mutex around _ctypes_init_fielddesc | https://github.com/python/cpython/pull/127297/commits/1b41ace5734297732c89cc53d222fea718ce9533 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 1b41ace | https://github.com/python/cpython/pull/127297/commits/1b41ace5734297732c89cc53d222fea718ce9533 |
| https://github.com/python/cpython/tree/1b41ace5734297732c89cc53d222fea718ce9533 |
| Merge in the main branch | https://github.com/python/cpython/pull/127297/commits/07d7ded17616cd9c4363b5fcbce8f0e6f4e47a58 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 07d7ded | https://github.com/python/cpython/pull/127297/commits/07d7ded17616cd9c4363b5fcbce8f0e6f4e47a58 |
| https://github.com/python/cpython/tree/07d7ded17616cd9c4363b5fcbce8f0e6f4e47a58 |
| Nitpick: Use true/false for bool | https://github.com/python/cpython/pull/127297/commits/34098c351dd1ec217ce7360e5d3cf9ea4c3711a1 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 34098c3 | https://github.com/python/cpython/pull/127297/commits/34098c351dd1ec217ce7360e5d3cf9ea4c3711a1 |
| https://github.com/python/cpython/tree/34098c351dd1ec217ce7360e5d3cf9ea4c3711a1 |
| Avoid unaligned load | https://github.com/python/cpython/pull/127297/commits/5155293361de5db6abe76b50a6510452441e4fb7 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 5155293 | https://github.com/python/cpython/pull/127297/commits/5155293361de5db6abe76b50a6510452441e4fb7 |
| https://github.com/python/cpython/tree/5155293361de5db6abe76b50a6510452441e4fb7 |
| Merge branch 'main' into ctypes-fixint | https://github.com/python/cpython/pull/127297/commits/821a7b82e6e750f9fcb054d2bed5eed3f332e020 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 821a7b8 | https://github.com/python/cpython/pull/127297/commits/821a7b82e6e750f9fcb054d2bed5eed3f332e020 |
| https://github.com/python/cpython/tree/821a7b82e6e750f9fcb054d2bed5eed3f332e020 |
|
| 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 |