| 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:931513ec-cf29-3969-e4bd-5aacf5724a8c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BEE8:50ADA:76EB2:9D75B:6B0223AF |
| html-safe-nonce | 0edb656e58cc8de5541366c6231d093dba24daa0ac2c1923b97c71af766d5347 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUU4OjUwQURBOjc2RUIyOjlENzVCOjZCMDIyM0FGIiwidmlzaXRvcl9pZCI6IjQ3ODg1NTU5NTA3MjU2MjA5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 865f1a7b7507698e744a23288a7a1287ece9c41df8a7c01f813cdc14f06625b7 |
| hovercard-subject-tag | pull_request:2183918855 |
| 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/126938/commits |
| twitter:image | https://opengraph.githubassets.com/f51d1cae856b5f779b02cfeff3fe34c3e4497971ca4816ace1ebc955769fb35d/python/cpython/pull/126938 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f51d1cae856b5f779b02cfeff3fe34c3e4497971ca4816ace1ebc955769fb35d/python/cpython/pull/126938 |
| og:image:alt | Used the bit_size_obj as seems to be intended, based on its usage in Lib/ctypes/_layout.py
Tested the change locally informally. Didn't write any tests.
Issue: Struct fields with size > 6... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Melissa0x1f992 |
| 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/126938/commits#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F126938%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%2F126938%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/126938/commits |
| Reload | https://github.com/python/cpython/pull/126938/commits |
| Reload | https://github.com/python/cpython/pull/126938/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 |
| Melissa0x1f992:main | https://github.com/Melissa0x1f992/cpython/tree/main |
| Conversation | https://github.com/python/cpython/pull/126938 |
| Commits20 (20) | https://github.com/python/cpython/pull/126938/commits |
| Checks | https://github.com/python/cpython/pull/126938/checks |
| Files changed | https://github.com/python/cpython/pull/126938/files |
| gh-126937: ctypes: fix TypeError when a field's size is >65535 bytes | https://github.com/python/cpython/pull/126938/commits#top |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| Melissa0x1f992:main | https://github.com/Melissa0x1f992/cpython/tree/main |
| Fix rejection when non-bitfield fields are larger than 2^16 bytes | https://github.com/python/cpython/pull/126938/commits/1962567aac71c16604a405c060b9a11ec6a82646 |
| https://github.com/Melissa0x1f992 |
| Melissa0x1f992 | https://github.com/python/cpython/commits?author=Melissa0x1f992 |
| 1962567 | https://github.com/python/cpython/pull/126938/commits/1962567aac71c16604a405c060b9a11ec6a82646 |
| https://github.com/python/cpython/tree/1962567aac71c16604a405c060b9a11ec6a82646 |
| Merge pull request #1 from Melissa0x1f992/use-bitsize-param | https://github.com/python/cpython/pull/126938/commits/1900cf5b4ffa76cb2c0185dda6c8cb930a538834 |
| https://github.com/Melissa0x1f992 |
| Melissa0x1f992 | https://github.com/python/cpython/commits?author=Melissa0x1f992 |
| 1900cf5 | https://github.com/python/cpython/pull/126938/commits/1900cf5b4ffa76cb2c0185dda6c8cb930a538834 |
| https://github.com/python/cpython/tree/1900cf5b4ffa76cb2c0185dda6c8cb930a538834 |
| 📜🤖 Added by blurb_it. | https://github.com/python/cpython/pull/126938/commits/2bd972b180e5d750cb5140171b9df35677ecb8f7 |
| https://github.com/apps/blurb-it |
| blurb-it[bot] | https://github.com/python/cpython/commits?author=blurb-it%5Bbot%5D |
| 2bd972b | https://github.com/python/cpython/pull/126938/commits/2bd972b180e5d750cb5140171b9df35677ecb8f7 |
| https://github.com/python/cpython/tree/2bd972b180e5d750cb5140171b9df35677ecb8f7 |
| Update Modules/_ctypes/cfield.c | https://github.com/python/cpython/pull/126938/commits/d2954cdefdbe3608116c425796b134ff53fd1d60 |
| https://github.com/terryjreedy |
| terryjreedy | https://github.com/python/cpython/commits?author=terryjreedy |
| d2954cd | https://github.com/python/cpython/pull/126938/commits/d2954cdefdbe3608116c425796b134ff53fd1d60 |
| https://github.com/python/cpython/tree/d2954cdefdbe3608116c425796b134ff53fd1d60 |
| Remove specific dependency on Python 3.12 for black | https://github.com/python/cpython/pull/126938/commits/0d2122978662f9efc676c22c2c90f0beeda95f30 |
| https://github.com/Melissa0x1f992 |
| Melissa0x1f992 | https://github.com/python/cpython/commits?author=Melissa0x1f992 |
| 0d21229 | https://github.com/python/cpython/pull/126938/commits/0d2122978662f9efc676c22c2c90f0beeda95f30 |
| https://github.com/python/cpython/tree/0d2122978662f9efc676c22c2c90f0beeda95f30 |
| Add test case for large fields | https://github.com/python/cpython/pull/126938/commits/d8a6f080eaaa70a977c8700243a28f492076258d |
| https://github.com/Melissa0x1f992 |
| Melissa0x1f992 | https://github.com/python/cpython/commits?author=Melissa0x1f992 |
| d8a6f08 | https://github.com/python/cpython/pull/126938/commits/d8a6f080eaaa70a977c8700243a28f492076258d |
| https://github.com/python/cpython/tree/d8a6f080eaaa70a977c8700243a28f492076258d |
| Merge pull request #2 from Melissa0x1f992/use-bitsize-param | https://github.com/python/cpython/pull/126938/commits/16bfb440f722f69ab5a72a1cfaa93dd540aa233a |
| https://github.com/Melissa0x1f992 |
| Melissa0x1f992 | https://github.com/python/cpython/commits?author=Melissa0x1f992 |
| 16bfb44 | https://github.com/python/cpython/pull/126938/commits/16bfb440f722f69ab5a72a1cfaa93dd540aa233a |
| https://github.com/python/cpython/tree/16bfb440f722f69ab5a72a1cfaa93dd540aa233a |
| Reduce test field size to (2^31 - 1) to support 32 bit systems | https://github.com/python/cpython/pull/126938/commits/7402a8f60767694f2b335a8f855d2cdbdc1df7e2 |
| https://github.com/Melissa0x1f992 |
| Melissa0x1f992 | https://github.com/python/cpython/commits?author=Melissa0x1f992 |
| 7402a8f | https://github.com/python/cpython/pull/126938/commits/7402a8f60767694f2b335a8f855d2cdbdc1df7e2 |
| https://github.com/python/cpython/tree/7402a8f60767694f2b335a8f855d2cdbdc1df7e2 |
| Merge branch 'python:main' into main | https://github.com/python/cpython/pull/126938/commits/8994ad041c21f6b450cbc613d29a14f05f7b22ca |
| https://github.com/Melissa0x1f992 |
| Melissa0x1f992 | https://github.com/python/cpython/commits?author=Melissa0x1f992 |
| 8994ad0 | https://github.com/python/cpython/pull/126938/commits/8994ad041c21f6b450cbc613d29a14f05f7b22ca |
| https://github.com/python/cpython/tree/8994ad041c21f6b450cbc613d29a14f05f7b22ca |
| Reduce test field size to (2^31 - 1) to support 32 bit systems | https://github.com/python/cpython/pull/126938/commits/db171e04a3a6a323e398591b4e235ffc989f15ee |
| https://github.com/Melissa0x1f992 |
| Melissa0x1f992 | https://github.com/python/cpython/commits?author=Melissa0x1f992 |
| db171e0 | https://github.com/python/cpython/pull/126938/commits/db171e04a3a6a323e398591b4e235ffc989f15ee |
| https://github.com/python/cpython/tree/db171e04a3a6a323e398591b4e235ffc989f15ee |
| Merge pull request #3 from Melissa0x1f992/use-bitsize-param | https://github.com/python/cpython/pull/126938/commits/7bc0cebb10e19004468a28c14aa943b2a7053174 |
| https://github.com/Melissa0x1f992 |
| Melissa0x1f992 | https://github.com/python/cpython/commits?author=Melissa0x1f992 |
| 7bc0ceb | https://github.com/python/cpython/pull/126938/commits/7bc0cebb10e19004468a28c14aa943b2a7053174 |
| https://github.com/python/cpython/tree/7bc0cebb10e19004468a28c14aa943b2a7053174 |
| Merge in the main branch | https://github.com/python/cpython/pull/126938/commits/cd8c011684484c557c719a54840789438aee6463 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| cd8c011 | https://github.com/python/cpython/pull/126938/commits/cd8c011684484c557c719a54840789438aee6463 |
| https://github.com/python/cpython/tree/cd8c011684484c557c719a54840789438aee6463 |
| Remove pre-commit config (moved to #126971) | https://github.com/python/cpython/pull/126938/commits/a3bd1714b2873a83a1433288c67da28f9adcc5e7 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| a3bd171 | https://github.com/python/cpython/pull/126938/commits/a3bd1714b2873a83a1433288c67da28f9adcc5e7 |
| https://github.com/python/cpython/tree/a3bd1714b2873a83a1433288c67da28f9adcc5e7 |
| Use PyLong_AsSsize_t to convert to Py_ssize_t | https://github.com/python/cpython/pull/126938/commits/5e8aec0419d69a02b179d20412ff4b1719c05662 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 5e8aec0 | https://github.com/python/cpython/pull/126938/commits/5e8aec0419d69a02b179d20412ff4b1719c05662 |
| https://github.com/python/cpython/tree/5e8aec0419d69a02b179d20412ff4b1719c05662 |
| Test maximum field size (sys.maxsize / 8, so we can count bits later) | https://github.com/python/cpython/pull/126938/commits/7d3bb107a7376aab67848c05726761bc70d2ad82 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 7d3bb10 | https://github.com/python/cpython/pull/126938/commits/7d3bb107a7376aab67848c05726761bc70d2ad82 |
| https://github.com/python/cpython/tree/7d3bb107a7376aab67848c05726761bc70d2ad82 |
| Rework the asserts. | https://github.com/python/cpython/pull/126938/commits/946f26107a913ff77bd39557962d77ca60139e70 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 946f261 | https://github.com/python/cpython/pull/126938/commits/946f26107a913ff77bd39557962d77ca60139e70 |
| https://github.com/python/cpython/tree/946f26107a913ff77bd39557962d77ca60139e70 |
| Test naked c_char as well | https://github.com/python/cpython/pull/126938/commits/19c1b3be326fdd2a1b508f7a82e1c45eb5052a9a |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 19c1b3b | https://github.com/python/cpython/pull/126938/commits/19c1b3be326fdd2a1b508f7a82e1c45eb5052a9a |
| https://github.com/python/cpython/tree/19c1b3be326fdd2a1b508f7a82e1c45eb5052a9a |
| Better name for the test | https://github.com/python/cpython/pull/126938/commits/dcf97f2b1c53fce8253e853300dead00eb853443 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| dcf97f2 | https://github.com/python/cpython/pull/126938/commits/dcf97f2b1c53fce8253e853300dead00eb853443 |
| https://github.com/python/cpython/tree/dcf97f2b1c53fce8253e853300dead00eb853443 |
| Add comment | https://github.com/python/cpython/pull/126938/commits/03bc32b33b3d9da23a4cf16a7ffb648b67d277b3 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| 03bc32b | https://github.com/python/cpython/pull/126938/commits/03bc32b33b3d9da23a4cf16a7ffb648b67d277b3 |
| https://github.com/python/cpython/tree/03bc32b33b3d9da23a4cf16a7ffb648b67d277b3 |
| Reword changelog | https://github.com/python/cpython/pull/126938/commits/f61faa680c8f41f4de63408f5880e6493eee0912 |
| https://github.com/encukou |
| encukou | https://github.com/python/cpython/commits?author=encukou |
| f61faa6 | https://github.com/python/cpython/pull/126938/commits/f61faa680c8f41f4de63408f5880e6493eee0912 |
| https://github.com/python/cpython/tree/f61faa680c8f41f4de63408f5880e6493eee0912 |
|
| 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 |