| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e98d01c2-b8bf-0cdb-3422-8259a3132441 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B892:1860A8:17FE88:218F38:696A63A1 |
| html-safe-nonce | 02eccbeca4cc3d50b0bc8c6a625779d17541fd0fce1c76549af982b0be22e47a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODkyOjE4NjBBODoxN0ZFODg6MjE4RjM4OjY5NkE2M0ExIiwidmlzaXRvcl9pZCI6IjYxNTI0NzE4MTM1NTI3NTk3MTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | db7038ae242eafa6e25687243152a8fceea1501e52c4bf705b45574d4f89f5b4 |
| hovercard-subject-tag | pull_request:2322079623 |
| 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/129792/files |
| twitter:image | https://avatars.githubusercontent.com/u/10796600?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10796600?s=400&v=4 |
| og:image:alt | This PR fixes the UBSan failures and addresses some minor cosmetic changes. PEP-7 changes were not applied since they could scramble the diff but other semantic changes affecting the signature of t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b7735a184970dd9333b2cbe036c8f3c0a9108c64aaa93827c5a64fc70993392 |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 87cbd411c2982752221b5751d583a515b23bf5fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/129792/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F129792%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%2F129792%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/129792/files |
| Reload | https://github.com/python/cpython/pull/129792/files |
| Reload | https://github.com/python/cpython/pull/129792/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/129792/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/129792/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 |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| picnixz:fix/ubsan/select-111178 | https://github.com/picnixz/cpython/tree/fix/ubsan/select-111178 |
|
Conversation
2
| https://github.com/python/cpython/pull/129792 |
|
Commits
13
| https://github.com/python/cpython/pull/129792/commits |
|
Checks
39
| https://github.com/python/cpython/pull/129792/checks |
|
Files changed
| https://github.com/python/cpython/pull/129792/files |
| Please reload this page | https://github.com/python/cpython/pull/129792/files |
|
gh-111178: fix UBSan failures in Modules/selectmodule.c
| https://github.com/python/cpython/pull/129792/files#top |
|
Show all changes
13 commits
| https://github.com/python/cpython/pull/129792/files |
|
1791bf0
fix UBSan failures for `pollObject`
picnixz Feb 6, 2025
| https://github.com/python/cpython/pull/129792/commits/1791bf0ff1fb364c3c338e163bf228736e40027f |
|
74a3605
fix UBSan failures for `devpollObject`
picnixz Feb 6, 2025
| https://github.com/python/cpython/pull/129792/commits/74a36055341cd0f268b534a9f37d6e89243bfaee |
|
ff0d904
fix UBSan failures for `pyEpoll_Object`
picnixz Feb 6, 2025
| https://github.com/python/cpython/pull/129792/commits/ff0d90442d8ec6f10a8016efa6a1b148218f96d5 |
|
08462e8
fix UBSan failures for `kqueue_event_Object`
picnixz Feb 6, 2025
| https://github.com/python/cpython/pull/129792/commits/08462e86f23309813e28f6c8f41dcf2fa1ce13e0 |
|
bfbed25
fix UBSan failures for `kqueue_tracking_after_fork`
picnixz Feb 6, 2025
| https://github.com/python/cpython/pull/129792/commits/bfbed25d0444461226e2a8cfb89ff5bc855163aa |
|
bfb9b81
fix UBSan failures for `kqueue_queue_Object`
picnixz Feb 6, 2025
| https://github.com/python/cpython/pull/129792/commits/bfb9b81b90ce4e97f32b5ceafbd017121b59fc42 |
|
abd3754
suppress unused return values
picnixz Feb 6, 2025
| https://github.com/python/cpython/pull/129792/commits/abd37543fd31626eddaecc256ffa46c5b3d88a49 |
|
5042aa8
Merge remote-tracking branch 'upstream/main' into fix/ubsan/select-11…
picnixz Feb 7, 2025
| https://github.com/python/cpython/pull/129792/commits/5042aa864ce3f26d297675f1f2d758b8801a1588 |
|
6f30e55
fix compilation
picnixz Feb 7, 2025
| https://github.com/python/cpython/pull/129792/commits/6f30e5597e2e52bfbd25ca4ded4b7adfd05a37c2 |
|
8a1c309
fix compilation
picnixz Feb 7, 2025
| https://github.com/python/cpython/pull/129792/commits/8a1c309c7882394d0c9391c73fae32129429c973 |
|
7a0ca33
fix semantic naming
picnixz Feb 22, 2025
| https://github.com/python/cpython/pull/129792/commits/7a0ca33775f4c14da1f18ee2956448f39eab3f0c |
|
ff6a56d
Merge branch 'main' into fix/ubsan/select-111178
picnixz Feb 22, 2025
| https://github.com/python/cpython/pull/129792/commits/ff6a56d1db882ea3c007ad1d4f6e04e642e3fa49 |
|
91dfee4
declare `_select_exec` function as being static
picnixz Feb 23, 2025
| https://github.com/python/cpython/pull/129792/commits/91dfee463f50f0e2de904a4ef5877f867700accc |
|
Clear filters
| https://github.com/python/cpython/pull/129792/files |
| Please reload this page | https://github.com/python/cpython/pull/129792/files |
| Please reload this page | https://github.com/python/cpython/pull/129792/files |
| Modules/selectmodule.c | https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
View file
| https://github.com/picnixz/cpython/blob/91dfee463f50f0e2de904a4ef5877f867700accc/Modules/selectmodule.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/129792/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
|
| https://github.com/python/cpython/pull/129792/files#diff-1b355c9727316ead32069160a2974d6a4cf4d4b01e29901e60983fe45733ba35 |
| Please reload this page | https://github.com/python/cpython/pull/129792/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 |