| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e7cc475c-9a2d-71c0-fec5-98a0057531bb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DB0C:1D81B0:E5A6F8:13C22DA:696A918E |
| html-safe-nonce | b3a931c1ec2f72e94694acd5f9f1911f4eb05a52c6e42902f12de69eedb5faa7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjBDOjFEODFCMDpFNUE2Rjg6MTNDMjJEQTo2OTZBOTE4RSIsInZpc2l0b3JfaWQiOiIyMjkwMDkxMjAxMjQ0MzM2NTI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 421f475d83e6b50093a94ed35bfcae82138c2a0f7693029a8edf43d9f9d3a450 |
| hovercard-subject-tag | pull_request:1547918585 |
| 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/110567/files |
| twitter:image | https://avatars.githubusercontent.com/u/1152074?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1152074?s=400&v=4 |
| og:image:alt | Issue: gh-84570 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4dd496afc954da9c207b2d9fbe86e3074619f565754aa1d9274aec30d9e5b8d7 |
| 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 | 31496a13b80a2f6ad77d6c617ee2255a3545b539 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/110567/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F110567%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%2F110567%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/110567/files |
| Reload | https://github.com/python/cpython/pull/110567/files |
| Reload | https://github.com/python/cpython/pull/110567/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/110567/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/110567/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 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| python:main | https://github.com/python/cpython/tree/main |
| ericsnowcurrently:channel-op-timeouts | https://github.com/ericsnowcurrently/cpython/tree/channel-op-timeouts |
|
Conversation
0
| https://github.com/python/cpython/pull/110567 |
|
Commits
11
| https://github.com/python/cpython/pull/110567/commits |
|
Checks
0
| https://github.com/python/cpython/pull/110567/checks |
|
Files changed
| https://github.com/python/cpython/pull/110567/files |
| Please reload this page | https://github.com/python/cpython/pull/110567/files |
|
gh-84570: Add Timeouts to SendChannel.send() and RecvChannel.recv()
| https://github.com/python/cpython/pull/110567/files#top |
|
Show all changes
11 commits
| https://github.com/python/cpython/pull/110567/files |
|
51b80c7
Factor out PyThread_ParseTimeoutArg().
ericsnowcurrently Sep 18, 2023
| https://github.com/python/cpython/pull/110567/commits/51b80c72251052ca49588c4bca6c1f5b7c0035c7 |
|
4dcf027
Pass a timeout to wait_for_lock().
ericsnowcurrently Sep 18, 2023
| https://github.com/python/cpython/pull/110567/commits/4dcf0271b8cb5e5be33d968c0186955619141f21 |
|
21d85dd
Support a timeout arg.
ericsnowcurrently Sep 18, 2023
| https://github.com/python/cpython/pull/110567/commits/21d85dd7af6908b65e909a1c0afd371d8d1c4da8 |
|
f6df5ea
Add a timeout arg to SendChannel.send().
ericsnowcurrently Sep 18, 2023
| https://github.com/python/cpython/pull/110567/commits/f6df5ea4ee55954457245c9b31d375fd0317a226 |
|
1b1f916
Add a timeout to RecvChannel.recv().
ericsnowcurrently Sep 18, 2023
| https://github.com/python/cpython/pull/110567/commits/1b1f9160f1665343b3229d24089ef55f6288abdb |
|
9131e5d
Fix args.
ericsnowcurrently Oct 10, 2023
| https://github.com/python/cpython/pull/110567/commits/9131e5dc3f370aadda60fe3e4df524691bca5bfb |
|
b1c2b90
Fix timeout in RecvChannel.recv().
ericsnowcurrently Oct 13, 2023
| https://github.com/python/cpython/pull/110567/commits/b1c2b909318814815ea75815f9d93671abedc388 |
|
cdd8bfe
Add timeout tests.
ericsnowcurrently Oct 10, 2023
| https://github.com/python/cpython/pull/110567/commits/cdd8bfe65617da6d7d6fd906d15a5ebd03de6c57 |
|
84dd5ac
Clear the item if timed out.
ericsnowcurrently Oct 10, 2023
| https://github.com/python/cpython/pull/110567/commits/84dd5ac7d560c8faada49161c10b22b813e6672e |
|
7ebd50c
Move the tests.
ericsnowcurrently Oct 17, 2023
| https://github.com/python/cpython/pull/110567/commits/7ebd50cbb4d1e990abc044d74dd87828002984d5 |
|
2191920
Hide a refleak.
ericsnowcurrently Oct 17, 2023
| https://github.com/python/cpython/pull/110567/commits/2191920af9e1b66ec573e42af85c1138dbe96484 |
|
Clear filters
| https://github.com/python/cpython/pull/110567/files |
| Please reload this page | https://github.com/python/cpython/pull/110567/files |
| Please reload this page | https://github.com/python/cpython/pull/110567/files |
|
pycore_pythread.h
| https://github.com/python/cpython/pull/110567/files#diff-1b1cd47bbd41bf6084313679390459ab277d4e37803b535fe67d84cfc30a3ebd |
|
interpreters.py
| https://github.com/python/cpython/pull/110567/files#diff-1995fb32c6aaf87598fa33f1d610f39dd4a3477c92c24097409119a255ba5eb6 |
|
test__xxinterpchannels.py
| https://github.com/python/cpython/pull/110567/files#diff-d388c58d8ade43748be96bb57c13e2b347f765a69dbea519957aa73b5d8979bd |
|
test_interpreters.py
| https://github.com/python/cpython/pull/110567/files#diff-3919aff0579aa3fc846229acb565086ec9df04f00d62d03b0fcef4ad9d6da6a0 |
|
_queuemodule.c
| https://github.com/python/cpython/pull/110567/files#diff-c54ccb67f4d6326cd15e61b01ca0d3137a6a8e568dc8bc2cc1b923ec8d1f6aac |
|
_threadmodule.c
| https://github.com/python/cpython/pull/110567/files#diff-23071700ee893f365a4c117210b9129d4ac6afe5cc6e52bb5cd4cabbc6816e07 |
|
_xxinterpchannelsmodule.c
| https://github.com/python/cpython/pull/110567/files#diff-78fc17a03e8a02168b63278bea03622a9ac267330c5d73226ec8fc36f5550906 |
|
thread.c
| https://github.com/python/cpython/pull/110567/files#diff-dff03d4a2ed4e09de3079ad8c3e6dacbbada88d40121664265c3b2611d105ab2 |
| Include/internal/pycore_pythread.h | https://github.com/python/cpython/pull/110567/files#diff-1b1cd47bbd41bf6084313679390459ab277d4e37803b535fe67d84cfc30a3ebd |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/2191920af9e1b66ec573e42af85c1138dbe96484/Include/internal/pycore_pythread.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/110567/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/110567/files#diff-1b1cd47bbd41bf6084313679390459ab277d4e37803b535fe67d84cfc30a3ebd |
|
| https://github.com/python/cpython/pull/110567/files#diff-1b1cd47bbd41bf6084313679390459ab277d4e37803b535fe67d84cfc30a3ebd |
| Lib/test/support/interpreters.py | https://github.com/python/cpython/pull/110567/files#diff-1995fb32c6aaf87598fa33f1d610f39dd4a3477c92c24097409119a255ba5eb6 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/2191920af9e1b66ec573e42af85c1138dbe96484/Lib/test/support/interpreters.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/110567/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/110567/files#diff-1995fb32c6aaf87598fa33f1d610f39dd4a3477c92c24097409119a255ba5eb6 |
|
| https://github.com/python/cpython/pull/110567/files#diff-1995fb32c6aaf87598fa33f1d610f39dd4a3477c92c24097409119a255ba5eb6 |
|
| https://github.com/python/cpython/pull/110567/files#diff-1995fb32c6aaf87598fa33f1d610f39dd4a3477c92c24097409119a255ba5eb6 |
|
| https://github.com/python/cpython/pull/110567/files#diff-1995fb32c6aaf87598fa33f1d610f39dd4a3477c92c24097409119a255ba5eb6 |
| Lib/test/test__xxinterpchannels.py | https://github.com/python/cpython/pull/110567/files#diff-d388c58d8ade43748be96bb57c13e2b347f765a69dbea519957aa73b5d8979bd |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/2191920af9e1b66ec573e42af85c1138dbe96484/Lib/test/test__xxinterpchannels.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/110567/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/110567/files#diff-d388c58d8ade43748be96bb57c13e2b347f765a69dbea519957aa73b5d8979bd |
|
| https://github.com/python/cpython/pull/110567/files#diff-d388c58d8ade43748be96bb57c13e2b347f765a69dbea519957aa73b5d8979bd |
|
| https://github.com/python/cpython/pull/110567/files#diff-d388c58d8ade43748be96bb57c13e2b347f765a69dbea519957aa73b5d8979bd |
| Lib/test/test_interpreters.py | https://github.com/python/cpython/pull/110567/files#diff-3919aff0579aa3fc846229acb565086ec9df04f00d62d03b0fcef4ad9d6da6a0 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/2191920af9e1b66ec573e42af85c1138dbe96484/Lib/test/test_interpreters.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/110567/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/110567/files#diff-3919aff0579aa3fc846229acb565086ec9df04f00d62d03b0fcef4ad9d6da6a0 |
|
| https://github.com/python/cpython/pull/110567/files#diff-3919aff0579aa3fc846229acb565086ec9df04f00d62d03b0fcef4ad9d6da6a0 |
| Modules/_queuemodule.c | https://github.com/python/cpython/pull/110567/files#diff-c54ccb67f4d6326cd15e61b01ca0d3137a6a8e568dc8bc2cc1b923ec8d1f6aac |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/2191920af9e1b66ec573e42af85c1138dbe96484/Modules/_queuemodule.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/110567/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/110567/files#diff-c54ccb67f4d6326cd15e61b01ca0d3137a6a8e568dc8bc2cc1b923ec8d1f6aac |
|
| https://github.com/python/cpython/pull/110567/files#diff-c54ccb67f4d6326cd15e61b01ca0d3137a6a8e568dc8bc2cc1b923ec8d1f6aac |
| Modules/_threadmodule.c | https://github.com/python/cpython/pull/110567/files#diff-23071700ee893f365a4c117210b9129d4ac6afe5cc6e52bb5cd4cabbc6816e07 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/2191920af9e1b66ec573e42af85c1138dbe96484/Modules/_threadmodule.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/110567/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/110567/files#diff-23071700ee893f365a4c117210b9129d4ac6afe5cc6e52bb5cd4cabbc6816e07 |
|
| https://github.com/python/cpython/pull/110567/files#diff-23071700ee893f365a4c117210b9129d4ac6afe5cc6e52bb5cd4cabbc6816e07 |
|
| https://github.com/python/cpython/pull/110567/files#diff-23071700ee893f365a4c117210b9129d4ac6afe5cc6e52bb5cd4cabbc6816e07 |
| Modules/_xxinterpchannelsmodule.c | https://github.com/python/cpython/pull/110567/files#diff-78fc17a03e8a02168b63278bea03622a9ac267330c5d73226ec8fc36f5550906 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/2191920af9e1b66ec573e42af85c1138dbe96484/Modules/_xxinterpchannelsmodule.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/110567/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/110567/files#diff-78fc17a03e8a02168b63278bea03622a9ac267330c5d73226ec8fc36f5550906 |
|
| https://github.com/python/cpython/pull/110567/files#diff-78fc17a03e8a02168b63278bea03622a9ac267330c5d73226ec8fc36f5550906 |
|
| https://github.com/python/cpython/pull/110567/files#diff-78fc17a03e8a02168b63278bea03622a9ac267330c5d73226ec8fc36f5550906 |
|
| https://github.com/python/cpython/pull/110567/files#diff-78fc17a03e8a02168b63278bea03622a9ac267330c5d73226ec8fc36f5550906 |
|
| https://github.com/python/cpython/pull/110567/files#diff-78fc17a03e8a02168b63278bea03622a9ac267330c5d73226ec8fc36f5550906 |
|
| https://github.com/python/cpython/pull/110567/files#diff-78fc17a03e8a02168b63278bea03622a9ac267330c5d73226ec8fc36f5550906 |
|
| https://github.com/python/cpython/pull/110567/files#diff-78fc17a03e8a02168b63278bea03622a9ac267330c5d73226ec8fc36f5550906 |
|
| https://github.com/python/cpython/pull/110567/files#diff-78fc17a03e8a02168b63278bea03622a9ac267330c5d73226ec8fc36f5550906 |
|
| https://github.com/python/cpython/pull/110567/files#diff-78fc17a03e8a02168b63278bea03622a9ac267330c5d73226ec8fc36f5550906 |
| Please reload this page | https://github.com/python/cpython/pull/110567/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 |