| 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 | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:3b5ebc6d-8db7-0fe0-7faf-1302b605248d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DC46:2E9D3B:70BCC7:8D9D30:6B021DED |
| html-safe-nonce | 924939230c40c0c38eaff3c858f5e31729588163d4d5d85feb07ef663016e818 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzQ2OjJFOUQzQjo3MEJDQzc6OEQ5RDMwOjZCMDIxREVEIiwidmlzaXRvcl9pZCI6IjIwODUxMTMxMTgyNzAyOTk2MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fd9ce0c3d15c0fad7dc0432140ef6561447437b1068793b0a296b341f5abde52 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/127297/pull_request_layout |
| 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#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127297 |
| 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 |
| 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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/127297 |
| Reload | https://github.com/python/cpython/pull/127297 |
| Reload | https://github.com/python/cpython/pull/127297 |
| 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#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 |
|
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| Nov 26, 2024 | https://github.com/python/cpython/pull/127297#issue-2695005216 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| the issue | https://github.com/python/cpython/issues/127295 |
| my bench script & results | https://gist.github.com/encukou/bb85221add40cfc306896e4375d1adea |
| @vstinner | https://github.com/vstinner |
| instructions for isolating CPU cores | https://pyperf.readthedocs.io/en/latest/system.html#isolate-cpus-on-linux |
| ctypes: Switch field accessors to fixed-width integers #127295 | https://github.com/python/cpython/issues/127295 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| encukou | https://github.com/encukou |
| November 26, 2024 14:18 | https://github.com/python/cpython/pull/127297#commits-pushed-eeb0d4e |
|
| https://github.com/encukou |
| Consistently pass the size to getfunc/setfunc | https://github.com/python/cpython/pull/127297/commits/eeb0d4e1fd96c58a1de76c1d974684c1e5e91f10 |
| eeb0d4e | https://github.com/python/cpython/pull/127297/commits/eeb0d4e1fd96c58a1de76c1d974684c1e5e91f10 |
|
| https://github.com/encukou |
| Switch to fixed-width integers | https://github.com/python/cpython/pull/127297/commits/e33c92953b363454351b4073424e813e17b7415d |
| e33c929 | https://github.com/python/cpython/pull/127297/commits/e33c92953b363454351b4073424e813e17b7415d |
|
| https://github.com/encukou |
| Remove comment for obsolete idea | https://github.com/python/cpython/pull/127297/commits/a11c0d9b596b5c9e292b6420b455ffde13f22b51 |
| a11c0d9 | https://github.com/python/cpython/pull/127297/commits/a11c0d9b596b5c9e292b6420b455ffde13f22b51 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Nov 26, 2024
| https://github.com/python/cpython/pull/127297#ref-issue-2694885143 |
|
ctypes: Switch field accessors to fixed-width integers
#127295
| https://github.com/python/cpython/issues/127295 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Nov 26, 2024 | https://github.com/python/cpython/pull/127297#event-15437736593 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Nov 26, 2024 | https://github.com/python/cpython/pull/127297#event-15437740214 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| November 26, 2024 15:03 | https://github.com/python/cpython/pull/127297#event-15437755499 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Nov 26, 2024 | https://github.com/python/cpython/pull/127297#event-15437756154 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| Nov 26, 2024 | https://github.com/python/cpython/pull/127297#issuecomment-2501063409 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| encukou | https://github.com/encukou |
| November 26, 2024 16:10 | https://github.com/python/cpython/pull/127297#commits-pushed-c69b65f |
|
| https://github.com/encukou |
| Fix the size argument | https://github.com/python/cpython/pull/127297/commits/c69b65fe72f02a17d4e5ededa589f3bbe6c9d55a |
| c69b65f | https://github.com/python/cpython/pull/127297/commits/c69b65fe72f02a17d4e5ededa589f3bbe6c9d55a |
|
| https://github.com/encukou |
| Re-run Clinic | https://github.com/python/cpython/pull/127297/commits/eb8cf98e1e9646c8c71d80d650acc364b3621fcb |
| eb8cf98 | https://github.com/python/cpython/pull/127297/commits/eb8cf98e1e9646c8c71d80d650acc364b3621fcb |
|
| https://github.com/encukou |
| Regen Clinic | https://github.com/python/cpython/pull/127297/commits/b9ed7278328b6bf75d82408048fa2e4049e5649e |
| b9ed727 | https://github.com/python/cpython/pull/127297/commits/b9ed7278328b6bf75d82408048fa2e4049e5649e |
|
| https://github.com/encukou |
| Specify signedness of the FFI types, don't match the C types | https://github.com/python/cpython/pull/127297/commits/7cbe57ceca172ca729ebdc97facdb25459ea8472 |
| 7cbe57c | https://github.com/python/cpython/pull/127297/commits/7cbe57ceca172ca729ebdc97facdb25459ea8472 |
|
| https://github.com/encukou |
| Avoid compiler warnings | https://github.com/python/cpython/pull/127297/commits/144a3b0544d04bf5290e7b546e59876334d4982a |
| 144a3b0 | https://github.com/python/cpython/pull/127297/commits/144a3b0544d04bf5290e7b546e59876334d4982a |
|
| https://github.com/encukou |
| Silence the GCC warning in a more local way. It's a GCC bug. | https://github.com/python/cpython/pull/127297/commits/fcae66bf1f432d7ba8fa85f60e018986bc8ec461 |
| fcae66b | https://github.com/python/cpython/pull/127297/commits/fcae66bf1f432d7ba8fa85f60e018986bc8ec461 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| November 27, 2024 08:42 | https://github.com/python/cpython/pull/127297#event-15449048939 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Nov 27, 2024 | https://github.com/python/cpython/pull/127297#event-15449049507 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
|
🔨 test-with-buildbots
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22 |
| Nov 27, 2024 | https://github.com/python/cpython/pull/127297#event-15449122713 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Nov 27, 2024 | https://github.com/python/cpython/pull/127297#issuecomment-2503269574 |
| @encukou | https://github.com/encukou |
| fcae66b | https://github.com/python/cpython/commit/fcae66bf1f432d7ba8fa85f60e018986bc8ec461 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
🔨 test-with-buildbots
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22 |
| Nov 27, 2024 | https://github.com/python/cpython/pull/127297#event-15449123312 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| Dec 6, 2024 | https://github.com/python/cpython/pull/127297#issuecomment-2522750270 |
| @ZeroIntensity | https://github.com/ZeroIntensity |
| @picnixz | https://github.com/picnixz |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| December 6, 2024 10:40 | https://github.com/python/cpython/pull/127297#event-15558083319 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| Dec 6, 2024 | https://github.com/python/cpython/pull/127297#issuecomment-2522787425 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| December 6, 2024 10:40 | https://github.com/python/cpython/pull/127297#event-15558087180 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| Dec 6, 2024 | https://github.com/python/cpython/pull/127297#issuecomment-2522822053 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
| December 6, 2024 12:50 | https://github.com/python/cpython/pull/127297#event-15559923560 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
| Dec 6, 2024 | https://github.com/python/cpython/pull/127297#issuecomment-2523162974 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
|
Dec 6, 2024
| https://github.com/python/cpython/pull/127297#pullrequestreview-2484809497 |
|
View reviewed changes
| https://github.com/python/cpython/pull/127297/files/fcae66bf1f432d7ba8fa85f60e018986bc8ec461 |
| picnixz | https://github.com/picnixz |
| https://github.com/python/cpython/pull/127297#pullrequestreview-2484809497 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| Modules/_ctypes/cfield.c | https://github.com/python/cpython/pull/127297/files/fcae66bf1f432d7ba8fa85f60e018986bc8ec461#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| Modules/_ctypes/cfield.c | https://github.com/python/cpython/pull/127297/files/fcae66bf1f432d7ba8fa85f60e018986bc8ec461#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| Modules/_ctypes/cfield.c | https://github.com/python/cpython/pull/127297/files/fcae66bf1f432d7ba8fa85f60e018986bc8ec461#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| Modules/_ctypes/cfield.c | https://github.com/python/cpython/pull/127297/files/fcae66bf1f432d7ba8fa85f60e018986bc8ec461#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| Modules/_ctypes/cfield.c | https://github.com/python/cpython/pull/127297/files/fcae66bf1f432d7ba8fa85f60e018986bc8ec461#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| encukou | https://github.com/encukou |
| December 6, 2024 15:44 | https://github.com/python/cpython/pull/127297#commits-pushed-05ba989 |
|
| https://github.com/encukou |
|
| https://github.com/picnixz |
| Apply suggestions from code review | https://github.com/python/cpython/pull/127297/commits/05ba9899bcd62b991d51bc3ffad385dd1d79915b |
| 05ba989 | https://github.com/python/cpython/pull/127297/commits/05ba9899bcd62b991d51bc3ffad385dd1d79915b |
|
| https://github.com/encukou |
| Add parens around macro argument | https://github.com/python/cpython/pull/127297/commits/7c08d60da964ae868549eed0296182a2816a0b17 |
| 7c08d60 | https://github.com/python/cpython/pull/127297/commits/7c08d60da964ae868549eed0296182a2816a0b17 |
| encukou | https://github.com/encukou |
| December 6, 2024 15:45 | https://github.com/python/cpython/pull/127297#commits-pushed-50c82be |
|
| https://github.com/encukou |
| Fix refcounting for _CTYPES_DEBUG_KEEP builds | https://github.com/python/cpython/pull/127297/commits/50c82bed90acfb44043338a567eda51b47cec65f |
| 50c82be | https://github.com/python/cpython/pull/127297/commits/50c82bed90acfb44043338a567eda51b47cec65f |
|
| https://github.com/encukou |
| Consistency in comments. Why not. | https://github.com/python/cpython/pull/127297/commits/7375c09dc4810daa3e5ad1957ea2f985e890b3b0 |
| 7375c09 | https://github.com/python/cpython/pull/127297/commits/7375c09dc4810daa3e5ad1957ea2f985e890b3b0 |
|
| https://github.com/encukou |
| Merge in the main branch | https://github.com/python/cpython/pull/127297/commits/6e8a4de0f8b3dd41290178b6446fe8aabed41715 |
| 6e8a4de | https://github.com/python/cpython/pull/127297/commits/6e8a4de0f8b3dd41290178b6446fe8aabed41715 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
|
Dec 7, 2024
| https://github.com/python/cpython/pull/127297#pullrequestreview-2486614948 |
|
View reviewed changes
| https://github.com/python/cpython/pull/127297/files/6e8a4de0f8b3dd41290178b6446fe8aabed41715 |
| ZeroIntensity | https://github.com/ZeroIntensity |
| https://github.com/python/cpython/pull/127297#pullrequestreview-2486614948 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @skirpichev | https://github.com/skirpichev |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| Modules/_ctypes/cfield.c | https://github.com/python/cpython/pull/127297/files/6e8a4de0f8b3dd41290178b6446fe8aabed41715#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| Modules/_ctypes/cfield.c | https://github.com/python/cpython/pull/127297/files/6e8a4de0f8b3dd41290178b6446fe8aabed41715#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| Modules/_ctypes/cfield.c | https://github.com/python/cpython/pull/127297/files/6e8a4de0f8b3dd41290178b6446fe8aabed41715#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| encukou | https://github.com/encukou |
| December 9, 2024 12:27 | https://github.com/python/cpython/pull/127297#commits-pushed-870a038 |
|
| https://github.com/encukou |
| Include & use bool rather than _Bool | https://github.com/python/cpython/pull/127297/commits/870a03849990e1cc45c7a6fe9c2bc654d7cc7258 |
| 870a038 | https://github.com/python/cpython/pull/127297/commits/870a03849990e1cc45c7a6fe9c2bc654d7cc7258 |
|
| https://github.com/encukou |
| Use a mutex around _ctypes_init_fielddesc | https://github.com/python/cpython/pull/127297/commits/1b41ace5734297732c89cc53d222fea718ce9533 |
| 1b41ace | https://github.com/python/cpython/pull/127297/commits/1b41ace5734297732c89cc53d222fea718ce9533 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
|
Dec 9, 2024
| https://github.com/python/cpython/pull/127297#ref-pullrequest-2666563725 |
|
gh-126937: ctypes: fix TypeError when a field's size is >65535 bytes
#126938
| https://github.com/python/cpython/pull/126938 |
| https://github.com/skirpichev |
| skirpichev | https://github.com/skirpichev |
| December 10, 2024 00:09 | https://github.com/python/cpython/pull/127297#event-15592301006 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
|
Dec 11, 2024
| https://github.com/python/cpython/pull/127297#ref-pullrequest-2732981643 |
|
[3.13] gh-126937: ctypes: add test for maximum size of a struct field (GH-126938)
#127825
| https://github.com/python/cpython/pull/127825 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
|
Dec 12, 2024
| https://github.com/python/cpython/pull/127297#pullrequestreview-2492352058 |
|
View reviewed changes
| https://github.com/python/cpython/pull/127297/files/1b41ace5734297732c89cc53d222fea718ce9533 |
| Modules/_ctypes/cfield.c | https://github.com/python/cpython/pull/127297/files/1b41ace5734297732c89cc53d222fea718ce9533#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| Modules/_ctypes/cfield.c | https://github.com/python/cpython/pull/127297/files/1b41ace5734297732c89cc53d222fea718ce9533#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1 |
| ZeroIntensity | https://github.com/ZeroIntensity |
| Dec 10, 2024 | https://github.com/python/cpython/pull/127297#discussion_r1878112485 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| encukou | https://github.com/encukou |
| Dec 13, 2024 | https://github.com/python/cpython/pull/127297#discussion_r1883751399 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| encukou | https://github.com/encukou |
| December 13, 2024 11:55 | https://github.com/python/cpython/pull/127297#commits-pushed-07d7ded |
|
| https://github.com/encukou |
| Merge in the main branch | https://github.com/python/cpython/pull/127297/commits/07d7ded17616cd9c4363b5fcbce8f0e6f4e47a58 |
| 07d7ded | https://github.com/python/cpython/pull/127297/commits/07d7ded17616cd9c4363b5fcbce8f0e6f4e47a58 |
|
| https://github.com/encukou |
| Nitpick: Use true/false for bool | https://github.com/python/cpython/pull/127297/commits/34098c351dd1ec217ce7360e5d3cf9ea4c3711a1 |
| 34098c3 | https://github.com/python/cpython/pull/127297/commits/34098c351dd1ec217ce7360e5d3cf9ea4c3711a1 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| Dec 13, 2024 | https://github.com/python/cpython/pull/127297#issuecomment-2541267081 |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| https://github.com/ZeroIntensity |
| ZeroIntensity | https://github.com/ZeroIntensity |
|
Dec 13, 2024
| https://github.com/python/cpython/pull/127297#pullrequestreview-2502280420 |
|
View reviewed changes
| https://github.com/python/cpython/pull/127297/files/34098c351dd1ec217ce7360e5d3cf9ea4c3711a1 |
| ZeroIntensity | https://github.com/ZeroIntensity |
| https://github.com/python/cpython/pull/127297#pullrequestreview-2502280420 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| Dec 16, 2024 | https://github.com/python/cpython/pull/127297#issuecomment-2545850168 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| https://github.com/skirpichev |
| skirpichev | https://github.com/skirpichev |
|
Dec 17, 2024
| https://github.com/python/cpython/pull/127297#pullrequestreview-2507799141 |
|
View reviewed changes
| https://github.com/python/cpython/pull/127297/files/34098c351dd1ec217ce7360e5d3cf9ea4c3711a1 |
| Modules/_ctypes/cfield.c | https://github.com/python/cpython/pull/127297/files/34098c351dd1ec217ce7360e5d3cf9ea4c3711a1#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1 |
| skirpichev | https://github.com/skirpichev |
| Dec 17, 2024 | https://github.com/python/cpython/pull/127297#discussion_r1887864414 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| Dec 18, 2024 | https://github.com/python/cpython/pull/127297#issuecomment-2550979940 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
|
| https://github.com/encukou |
| Avoid unaligned load | https://github.com/python/cpython/pull/127297/commits/5155293361de5db6abe76b50a6510452441e4fb7 |
| 5155293 | https://github.com/python/cpython/pull/127297/commits/5155293361de5db6abe76b50a6510452441e4fb7 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
|
🔨 test-with-buildbots
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22 |
| Dec 18, 2024 | https://github.com/python/cpython/pull/127297#event-15702101509 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Dec 18, 2024 | https://github.com/python/cpython/pull/127297#issuecomment-2551118172 |
| @encukou | https://github.com/encukou |
| 5155293 | https://github.com/python/cpython/commit/5155293361de5db6abe76b50a6510452441e4fb7 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
🔨 test-with-buildbots
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22 |
| Dec 18, 2024 | https://github.com/python/cpython/pull/127297#event-15702102177 |
|
| https://github.com/encukou |
| Merge branch 'main' into ctypes-fixint | https://github.com/python/cpython/pull/127297/commits/821a7b82e6e750f9fcb054d2bed5eed3f332e020 |
| 821a7b8 | https://github.com/python/cpython/pull/127297/commits/821a7b82e6e750f9fcb054d2bed5eed3f332e020 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| 78ffba4 | https://github.com/python/cpython/commit/78ffba4221dcb2e39fd5db80c297d1777588bb59 |
| Dec 20, 2024 | https://github.com/python/cpython/pull/127297#event-15732704394 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Dec 20, 2024 | https://github.com/python/cpython/pull/127297#event-15732704920 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| December 20, 2024 13:28 | https://github.com/python/cpython/pull/127297#event-15732704925 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| Dec 20, 2024 | https://github.com/python/cpython/pull/127297#issuecomment-2557020803 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
| srinivasreddy | https://github.com/srinivasreddy |
|
Dec 23, 2024
| https://github.com/python/cpython/pull/127297#ref-commit-6ef3119 |
|
| https://github.com/encukou |
|
| https://github.com/picnixz |
|
| https://github.com/srinivasreddy |
| pythongh-127295 | https://github.com/python/cpython/issues/127295 |
| : ctypes: Switch field accessors to fixed-width intege… | https://github.com/srinivasreddy/cpython/commit/6ef3119d5be195d73044827a5cecc8e6e6b13d44 |
| 6ef3119 | https://github.com/srinivasreddy/cpython/commit/6ef3119d5be195d73044827a5cecc8e6e6b13d44 |
| pythonGH-127297 | https://github.com/python/cpython/pull/127297 |
| https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L420-L444 | https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L420-L444 |
| https://docs.python.org/3/library/struct.html#format-characters | https://docs.python.org/3/library/struct.html#format-characters |
| https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L470-L653 | https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L470-L653 |
| https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L703-L944 | https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L703-L944 |
| https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L613 | https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L613 |
| https://docs.python.org/3/c-api/long.html#c.PyLong_AsNativeBytes | https://docs.python.org/3/c-api/long.html#c.PyLong_AsNativeBytes |
| https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L1547-L1555 | https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L1547-L1555 |
| https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L1562-L1572 | https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L1562-L1572 |
| srinivasreddy | https://github.com/srinivasreddy |
|
Jan 8, 2025
| https://github.com/python/cpython/pull/127297#ref-commit-fcac658 |
|
| https://github.com/encukou |
|
| https://github.com/picnixz |
|
| https://github.com/srinivasreddy |
| pythongh-127295 | https://github.com/python/cpython/issues/127295 |
| : ctypes: Switch field accessors to fixed-width intege… | https://github.com/srinivasreddy/cpython/commit/fcac658ea5003c54209e58a255745fbd6757cc6f |
| fcac658 | https://github.com/srinivasreddy/cpython/commit/fcac658ea5003c54209e58a255745fbd6757cc6f |
| pythonGH-127297 | https://github.com/python/cpython/pull/127297 |
| https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L420-L444 | https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L420-L444 |
| https://docs.python.org/3/library/struct.html#format-characters | https://docs.python.org/3/library/struct.html#format-characters |
| https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L470-L653 | https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L470-L653 |
| https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L703-L944 | https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L703-L944 |
| https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L613 | https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L613 |
| https://docs.python.org/3/c-api/long.html#c.PyLong_AsNativeBytes | https://docs.python.org/3/c-api/long.html#c.PyLong_AsNativeBytes |
| https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L1547-L1555 | https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L1547-L1555 |
| https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L1562-L1572 | https://github.com/python/cpython/blob/v3.13.0/Modules/_ctypes/cfield.c#L1562-L1572 |
| https://github.com/matthiasgoergens |
| matthiasgoergens | https://github.com/matthiasgoergens |
|
Jul 30, 2026
| https://github.com/python/cpython/pull/127297#ref-pullrequest-1377476902 |
|
gh-96821: Fix undefined behaviour in _ctypes/cfield.c
#96925
| https://github.com/python/cpython/pull/96925 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127297 |
|
| https://github.com/skirpichev |
|
skirpichev
| https://github.com/skirpichev |
|
| https://github.com/python/cpython/pull/127297/files/34098c351dd1ec217ce7360e5d3cf9ea4c3711a1 |
|
| https://github.com/picnixz |
|
picnixz
| https://github.com/picnixz |
|
| https://github.com/python/cpython/pull/127297/files/fcae66bf1f432d7ba8fa85f60e018986bc8ec461 |
|
| https://github.com/ZeroIntensity |
|
ZeroIntensity
| https://github.com/ZeroIntensity |
|
| https://github.com/python/cpython/pull/127297/files/34098c351dd1ec217ce7360e5d3cf9ea4c3711a1 |
|
| https://github.com/serhiy-storchaka |
|
serhiy-storchaka
| https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Please reload this page | https://github.com/python/cpython/pull/127297 |
|
| https://github.com/encukou |
|
| https://github.com/bedevere-bot |
|
| https://github.com/picnixz |
|
| https://github.com/ZeroIntensity |
|
| https://github.com/skirpichev |
|
| 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 |