| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:847c94ff-6b2e-8a03-0908-b6f9464b5ad2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AD0C:4AF24:D2C1B:1100A2:6A5B1416 |
| html-safe-nonce | 21ba4b1bf305287e2dd749b29221bcb98d9459762d26272467731434183b3cb5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDBDOjRBRjI0OkQyQzFCOjExMDBBMjo2QTVCMTQxNiIsInZpc2l0b3JfaWQiOiI2NTM5MDcyMTcwNzUyNjc2ODg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f72beef267d99d478df0aa7a2ad402b1f98d8a730c612beefd5cf30b9dc8480c |
| hovercard-subject-tag | pull_request:856004084 |
| 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/31394/files |
| twitter:image | https://avatars.githubusercontent.com/u/356399?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/356399?s=400&v=4 |
| og:image:alt | https://bugs.python.org/issue46771 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/31394/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31394%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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%2F31394%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/31394/files |
| Reload | https://github.com/python/cpython/pull/31394/files |
| Reload | https://github.com/python/cpython/pull/31394/files |
| Please reload this page | https://github.com/python/cpython/pull/31394/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/31394/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| 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.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
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 and quality
| 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 |
| gvanrossum | https://github.com/gvanrossum |
| main | https://github.com/python/cpython/tree/main |
| issue-46771 | https://github.com/python/cpython/tree/issue-46771 |
|
Conversation
145
| https://github.com/python/cpython/pull/31394 |
|
Commits
31
| https://github.com/python/cpython/pull/31394/commits |
|
Checks
0
| https://github.com/python/cpython/pull/31394/checks |
|
Files changed
| https://github.com/python/cpython/pull/31394/files |
| Please reload this page | https://github.com/python/cpython/pull/31394/files |
|
bpo-46771: Implement asyncio context managers for handling timeouts
| https://github.com/python/cpython/pull/31394/files#top |
|
Show all changes
31 commits
| https://github.com/python/cpython/pull/31394/files |
|
dac5874
bpo-46771: Implement asyncio context managers for handling timeouts
asvetlov Mar 2, 2022
| https://github.com/python/cpython/pull/31394/commits/dac58742d134a945388179641886f1a58bd38811 |
|
374ff2a
Add reschedule tests
asvetlov Mar 2, 2022
| https://github.com/python/cpython/pull/31394/commits/374ff2ad0cae59e888dc83fbdd38c94e46c736d9 |
|
70fa59b
Add reschedule tests
asvetlov Mar 2, 2022
| https://github.com/python/cpython/pull/31394/commits/70fa59be99ef0c69acec9e6fc16c448e1090cb34 |
|
3ae2af6
Dro breakpoint
asvetlov Mar 2, 2022
| https://github.com/python/cpython/pull/31394/commits/3ae2af69b8c7acf4c06db29ef5e7a857ed65168f |
|
1654ec4
Tune repr
asvetlov Mar 2, 2022
| https://github.com/python/cpython/pull/31394/commits/1654ec43f4283db95497e691dcc45c834288e6f0 |
|
2c9dbf8
Add tests
asvetlov Mar 2, 2022
| https://github.com/python/cpython/pull/31394/commits/2c9dbf8d4950f8407dcbd4bc9ebd999e37dd81d4 |
|
baa7400
More tests
asvetlov Mar 2, 2022
| https://github.com/python/cpython/pull/31394/commits/baa7400f1b8e0288c66fec756d9d7626cf3cc385 |
|
1ca0fb8
Rename
asvetlov Mar 2, 2022
| https://github.com/python/cpython/pull/31394/commits/1ca0fb854ba6cf3bae0cd7b9571a42b65c447963 |
|
8a81dd1
Update Lib/asyncio/timeouts.py
asvetlov Mar 8, 2022
| https://github.com/python/cpython/pull/31394/commits/8a81dd1f8225a822a07e3375d8bf21675f883686 |
|
fae235d
Update Lib/asyncio/timeouts.py
asvetlov Mar 8, 2022
| https://github.com/python/cpython/pull/31394/commits/fae235dbdc99852f3b4fc3804728170d59d664bf |
|
663b82f
Update Lib/asyncio/timeouts.py
asvetlov Mar 8, 2022
| https://github.com/python/cpython/pull/31394/commits/663b82f64978f67b9d257c6f63c9bd392a1ea3a6 |
|
24d62d1
Update Lib/asyncio/timeouts.py
asvetlov Mar 8, 2022
| https://github.com/python/cpython/pull/31394/commits/24d62d11d455fa7f6e05ea32a387633297b03466 |
|
6a26d1b
Add a test
asvetlov Mar 8, 2022
| https://github.com/python/cpython/pull/31394/commits/6a26d1be43525b0f04d21a8c4068e9e6d56b15a9 |
|
930b92b
Polish docstrings
asvetlov Mar 8, 2022
| https://github.com/python/cpython/pull/31394/commits/930b92b55d492d12857647eb4e89a329a367aeaa |
|
ac5c53d
Format
asvetlov Mar 8, 2022
| https://github.com/python/cpython/pull/31394/commits/ac5c53d64c6d5510b6dc22bc751e67fc39747d50 |
|
f96ad1c
Tune tests
asvetlov Mar 8, 2022
| https://github.com/python/cpython/pull/31394/commits/f96ad1cd4eed9b987c8bb73377550eb07de54141 |
|
94b4b4c
Fix comment
asvetlov Mar 8, 2022
| https://github.com/python/cpython/pull/31394/commits/94b4b4ceee3e6a8a70de1ee31028de3f83ffd16a |
|
388c6da
Tune comment
asvetlov Mar 8, 2022
| https://github.com/python/cpython/pull/31394/commits/388c6da3147fbee31ad1eb1a2855632d604b4ad3 |
|
cdc7f88
Tune docstrings
asvetlov Mar 8, 2022
| https://github.com/python/cpython/pull/31394/commits/cdc7f881578735b9b7c901dcc9d711fac02a3305 |
|
9949fe4
Tune
asvetlov Mar 8, 2022
| https://github.com/python/cpython/pull/31394/commits/9949fe4914c136b65a557779ffdd3364ecc7fef6 |
|
c716856
Tune tests
asvetlov Mar 8, 2022
| https://github.com/python/cpython/pull/31394/commits/c716856464f3e6bd8b2578333c6d834128806b3d |
|
b4889a0
Update Lib/test/test_asyncio/test_timeouts.py
asvetlov Mar 8, 2022
| https://github.com/python/cpython/pull/31394/commits/b4889a0566a4fc2fa82882513a617c1713bd457f |
|
b6504e6
Tune tests
asvetlov Mar 8, 2022
| https://github.com/python/cpython/pull/31394/commits/b6504e6f3bd08950a50a6440ff2423583ec21877 |
|
fd2688d
Don't clobber foreign exceptions even if timeout is expiring
gvanrossum Mar 9, 2022
| https://github.com/python/cpython/pull/31394/commits/fd2688da3c7817659b76bb7c1c0fa44ee99ef973 |
|
2ddda69
Add test from discussion
gvanrossum Mar 9, 2022
| https://github.com/python/cpython/pull/31394/commits/2ddda69c18d82cd3b57d974e2e260caaf66d4d15 |
|
493545a
Fix indent of added test
gvanrossum Mar 9, 2022
| https://github.com/python/cpython/pull/31394/commits/493545ab0e955275cb031a71e6d3dfe1f66c46dc |
|
ff36f2a
Disable slow callback warning
asvetlov Mar 9, 2022
| https://github.com/python/cpython/pull/31394/commits/ff36f2ae16db1e17931a2ad83ff8c54099071760 |
|
8790e49
Reformat
asvetlov Mar 9, 2022
| https://github.com/python/cpython/pull/31394/commits/8790e4950a58f4eb4c70a63a140e65afcb85a8de |
|
ac6f8c8
Increase delay
asvetlov Mar 9, 2022
| https://github.com/python/cpython/pull/31394/commits/ac6f8c805d377ff05543cccd666f9a6e7535ef93 |
|
e8c67ce
Don't raise TimeoutError if the CancelledError was swallowed by inner…
asvetlov Mar 9, 2022
| https://github.com/python/cpython/pull/31394/commits/e8c67cef3741d171ea72742a69fd08ef7c732222 |
|
e65d766
Don't duplicate py/c tests, timeout has no C accelerators
asvetlov Mar 10, 2022
| https://github.com/python/cpython/pull/31394/commits/e65d766b6c8d5e3f0295faea4871c7b95986a429 |
|
Clear filters
| https://github.com/python/cpython/pull/31394/files |
| Please reload this page | https://github.com/python/cpython/pull/31394/files |
| Please reload this page | https://github.com/python/cpython/pull/31394/files |
|
__init__.py
| https://github.com/python/cpython/pull/31394/files#diff-6d8c6a7b5cda5773cc40309dcfeeeb120b25857274a13aba8f3c803d25397fdf |
|
timeouts.py
| https://github.com/python/cpython/pull/31394/files#diff-0a6da8818df8b29c3c649167aa37c906eb27283c5fe1cacb40e36a6ce0458e7e |
|
test_timeouts.py
| https://github.com/python/cpython/pull/31394/files#diff-616fb0d18d1bdea387cdd2fcb47461660d3e0224e38d03be12e57587f66c5c9e |
|
2022-02-21-11-41-23.bpo-464471.fL06TV.rst
| https://github.com/python/cpython/pull/31394/files#diff-2e3fc92c769256c714f137df0c14da00eaab26b3c6e96c484f1af175cd0cea22 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L379 |
| Lib/asyncio/__init__.py | https://github.com/python/cpython/pull/31394/files#diff-6d8c6a7b5cda5773cc40309dcfeeeb120b25857274a13aba8f3c803d25397fdf |
|
View file
| https://github.com/python/cpython/blob/e65d766b6c8d5e3f0295faea4871c7b95986a429/Lib/asyncio/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31394/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/31394/files#diff-6d8c6a7b5cda5773cc40309dcfeeeb120b25857274a13aba8f3c803d25397fdf |
|
| https://github.com/python/cpython/pull/31394/files#diff-6d8c6a7b5cda5773cc40309dcfeeeb120b25857274a13aba8f3c803d25397fdf |
|
| https://github.com/python/cpython/pull/31394/files#diff-6d8c6a7b5cda5773cc40309dcfeeeb120b25857274a13aba8f3c803d25397fdf |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L379 |
| Lib/asyncio/timeouts.py | https://github.com/python/cpython/pull/31394/files#diff-0a6da8818df8b29c3c649167aa37c906eb27283c5fe1cacb40e36a6ce0458e7e |
|
View file
| https://github.com/python/cpython/blob/e65d766b6c8d5e3f0295faea4871c7b95986a429/Lib/asyncio/timeouts.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31394/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/31394/files |
| Please reload this page | https://github.com/python/cpython/pull/31394/files |
| Please reload this page | https://github.com/python/cpython/pull/31394/files |
| Please reload this page | https://github.com/python/cpython/pull/31394/files |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L380 |
| Lib/test/test_asyncio/test_timeouts.py | https://github.com/python/cpython/pull/31394/files#diff-616fb0d18d1bdea387cdd2fcb47461660d3e0224e38d03be12e57587f66c5c9e |
|
View file
| https://github.com/python/cpython/blob/e65d766b6c8d5e3f0295faea4871c7b95986a429/Lib/test/test_asyncio/test_timeouts.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31394/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/31394/files |
| Please reload this page | https://github.com/python/cpython/pull/31394/files |
| Please reload this page | https://github.com/python/cpython/pull/31394/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 |