| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:feabc2c0-24b4-3848-13af-9a1c58001017 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C05C:1C07BE:78524E:A659A3:696A2ABA |
| html-safe-nonce | 915ab3a82d2a6888bb7a61e684c0aa911e615e16cda33eb848936748249c60b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDVDOjFDMDdCRTo3ODUyNEU6QTY1OUEzOjY5NkEyQUJBIiwidmlzaXRvcl9pZCI6Ijc2NTY3Mzk2Mzg4ODUzNjIzNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0262a5d71c1c93c93b15e86366fc011508bbf2bd30088f111b1d0f813dd3cecc |
| hovercard-subject-tag | pull_request:876726331 |
| 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/31799/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/issue47062 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569 |
| 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 | f472b8e6c7b3fdd5d0354972a3f4c516289bf0be |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/31799/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31799%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%2F31799%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/31799/files |
| Reload | https://github.com/python/cpython/pull/31799/files |
| Reload | https://github.com/python/cpython/pull/31799/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/31799/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/31799/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 |
| asvetlov | https://github.com/asvetlov |
| main | https://github.com/python/cpython/tree/main |
| asyncio-runner | https://github.com/python/cpython/tree/asyncio-runner |
|
Conversation
25
| https://github.com/python/cpython/pull/31799 |
|
Commits
32
| https://github.com/python/cpython/pull/31799/commits |
|
Checks
0
| https://github.com/python/cpython/pull/31799/checks |
|
Files changed
| https://github.com/python/cpython/pull/31799/files |
| Please reload this page | https://github.com/python/cpython/pull/31799/files |
|
bpo-47062: Implement asyncio.Runner context manager
| https://github.com/python/cpython/pull/31799/files#top |
|
Show all changes
32 commits
| https://github.com/python/cpython/pull/31799/files |
|
61f10d0
Implement Runner class
asvetlov Mar 9, 2022
| https://github.com/python/cpython/pull/31799/commits/61f10d093d29d7dda3142bb5f5c4aa416b4ad903 |
|
d471799
Add get_loop() / new_loop() methods
asvetlov Mar 10, 2022
| https://github.com/python/cpython/pull/31799/commits/d47179965d48429a9fec57a78d5c5edacaeca94a |
|
c68ba85
Clarify
asvetlov Mar 10, 2022
| https://github.com/python/cpython/pull/31799/commits/c68ba8506018a6f33be713229ad2f60009066f67 |
|
d530481
Add tests
asvetlov Mar 10, 2022
| https://github.com/python/cpython/pull/31799/commits/d5304813730a257e9dfd9051f435704b8b0982b8 |
|
6ee7c9a
Add a comment
asvetlov Mar 10, 2022
| https://github.com/python/cpython/pull/31799/commits/6ee7c9a2729804b82a468e81c8108950bdeb3d25 |
|
e15d70b
Adopt IsolatedAsyncioTestCase to use Runner
asvetlov Mar 10, 2022
| https://github.com/python/cpython/pull/31799/commits/e15d70b5607296fef237ddb9ec925d57c5c107bb |
|
5c7a669
Merge branch 'main' into asyncio-runner
asvetlov Mar 10, 2022
| https://github.com/python/cpython/pull/31799/commits/5c7a669638a9f1b3ea8823b3e8a242fd5d56519f |
|
d41988d
Merge branch 'main' into asyncio-runner
asvetlov Mar 10, 2022
| https://github.com/python/cpython/pull/31799/commits/d41988d90911c67fdbe06be8cdcc7c121f832cce |
|
8014227
Add docs sketch
asvetlov Mar 12, 2022
| https://github.com/python/cpython/pull/31799/commits/8014227bc7437c0e8fe1876f015c175c600392cf |
|
98e39db
Merge branch 'main' into asyncio-runner
asvetlov Mar 14, 2022
| https://github.com/python/cpython/pull/31799/commits/98e39dbbc4e76b16ef3a79bc13d3eab3c7fbc96b |
|
98e7a22
Add context arg to Runner.run()
asvetlov Mar 14, 2022
| https://github.com/python/cpython/pull/31799/commits/98e7a22febe137f2f090e960d0863b47ed67f00e |
|
f4cd673
Work on docs
asvetlov Mar 17, 2022
| https://github.com/python/cpython/pull/31799/commits/f4cd673a2209a65cc760baeb686f38126951565b |
|
1764045
Merge branch 'main' into asyncio-runner
asvetlov Mar 18, 2022
| https://github.com/python/cpython/pull/31799/commits/1764045b386a350da7e08c3eafb4b51356bf054f |
|
a443b37
Work on
asvetlov Mar 18, 2022
| https://github.com/python/cpython/pull/31799/commits/a443b3799bcb820ad2018655f69ecc8ac4525a3d |
|
e6be8f7
Improve docs
asvetlov Mar 18, 2022
| https://github.com/python/cpython/pull/31799/commits/e6be8f72e4c8be69b72999c4cbb375efca63b029 |
|
b1dfe4f
Add NEWS
asvetlov Mar 18, 2022
| https://github.com/python/cpython/pull/31799/commits/b1dfe4f1370c426bc03134af35beaa3ccc46e978 |
|
759f72a
Drop not related file
asvetlov Mar 18, 2022
| https://github.com/python/cpython/pull/31799/commits/759f72ade7407772cff931cca19b61d09317f75e |
|
f47d66a
Fix doc
asvetlov Mar 18, 2022
| https://github.com/python/cpython/pull/31799/commits/f47d66ac9041d3123f140ae125b4b457536eab20 |
|
546440b
Update Lib/asyncio/runners.py
asvetlov Mar 18, 2022
| https://github.com/python/cpython/pull/31799/commits/546440b2c591f10999a121c60025e017df460115 |
|
6935f7d
Update Doc/library/asyncio-runner.rst
asvetlov Mar 18, 2022
| https://github.com/python/cpython/pull/31799/commits/6935f7dc9f05a18a95e320c63d2f39d7448c89ce |
|
9b9a004
Update Lib/asyncio/runners.py
asvetlov Mar 18, 2022
| https://github.com/python/cpython/pull/31799/commits/9b9a0043faf03efadecb1a0a8dcaccae6252ca8a |
|
b0c5b8c
Improve wording
asvetlov Mar 19, 2022
| https://github.com/python/cpython/pull/31799/commits/b0c5b8c3ec32b1ed87cdb63f1bdefe024f8d63f1 |
|
599c9db
Add a test for double 'with' usage
asvetlov Mar 19, 2022
| https://github.com/python/cpython/pull/31799/commits/599c9dbdbefb6f9a62649478d37b080ccb74a313 |
|
b0da74b
Improve tests
asvetlov Mar 19, 2022
| https://github.com/python/cpython/pull/31799/commits/b0da74b648016f7f9e17ac5e8ba986ca0e08fd9a |
|
04cfff9
Work on
asvetlov Mar 22, 2022
| https://github.com/python/cpython/pull/31799/commits/04cfff937dc690aba0dd2d64ce4e3b3a3f90e2cb |
|
8753465
Merge branch 'main' into asyncio-runner
asvetlov Mar 22, 2022
| https://github.com/python/cpython/pull/31799/commits/8753465102a1643e5ee957375d8af3b96921840d |
|
674ad4e
Lazy init version
asvetlov Mar 22, 2022
| https://github.com/python/cpython/pull/31799/commits/674ad4e0e21f72e2b1395c8337baa4061bcdb557 |
|
7cd5430
Tune
asvetlov Mar 22, 2022
| https://github.com/python/cpython/pull/31799/commits/7cd5430dccd89da0c2034f2cd9506ea2ff9cd610 |
|
dd28ef7
Drop explicit get_context() function, asyncio.Task has no it also
asvetlov Mar 23, 2022
| https://github.com/python/cpython/pull/31799/commits/dd28ef789b5b891a0e444098188829a36ec7a4dd |
|
5e13b2e
Add docs for .close() method
asvetlov Mar 23, 2022
| https://github.com/python/cpython/pull/31799/commits/5e13b2ea5c39869d1b959c5d823bb805b1454bc5 |
|
c0b999d
Add better error message for recursive run() call
asvetlov Mar 24, 2022
| https://github.com/python/cpython/pull/31799/commits/c0b999d344ac4593917575202d0be1ccc665c4b4 |
|
4937cd0
Add a note
asvetlov Mar 24, 2022
| https://github.com/python/cpython/pull/31799/commits/4937cd0d292d2cb1c6a11995658d6fdaa1dc5a65 |
|
Clear filters
| https://github.com/python/cpython/pull/31799/files |
| Please reload this page | https://github.com/python/cpython/pull/31799/files |
| Please reload this page | https://github.com/python/cpython/pull/31799/files |
|
asyncio-runner.rst
| https://github.com/python/cpython/pull/31799/files#diff-67f8fd0d6728dae18dd3a25c801dae5583f8a832289c9ad2ab35c076b1dd4000 |
|
asyncio-task.rst
| https://github.com/python/cpython/pull/31799/files#diff-5e9a5bb933b1bd1d6092f7e5adb5c06da7a6792e0597f55f911245acacfce7a7 |
|
asyncio.rst
| https://github.com/python/cpython/pull/31799/files#diff-7083e2e62a3a95fa47854b65720054c3b1b455877324c54b347133c5e57dbe80 |
|
runners.py
| https://github.com/python/cpython/pull/31799/files#diff-a473e1c5041f4fb564c8fc98839276cec3df94430d498f09e477a9ee841904c8 |
|
test_runners.py
| https://github.com/python/cpython/pull/31799/files#diff-fdb71d4324bb9253daaf1bd9b53a81ebab3d1967f348bbf28e7dce7b7ef42db8 |
|
async_case.py
| https://github.com/python/cpython/pull/31799/files#diff-1f2ae0f6c6010caf9d5f1c80cd6033a796ffe2b60554f5df84f554f4a08e622b |
|
2022-03-18-22-46-18.bpo-47062.RNc99_.rst
| https://github.com/python/cpython/pull/31799/files#diff-9de526eb0a2af402732b5cab53b85c11f16bcc3e23b95316a2e7d6e1d8d2d9a8 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L367 |
| Doc/library/asyncio-runner.rst | https://github.com/python/cpython/pull/31799/files#diff-67f8fd0d6728dae18dd3a25c801dae5583f8a832289c9ad2ab35c076b1dd4000 |
|
View file
| https://github.com/python/cpython/blob/4937cd0d292d2cb1c6a11995658d6fdaa1dc5a65/Doc/library/asyncio-runner.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31799/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L367 |
| Doc/library/asyncio-task.rst | https://github.com/python/cpython/pull/31799/files#diff-5e9a5bb933b1bd1d6092f7e5adb5c06da7a6792e0597f55f911245acacfce7a7 |
|
View file
| https://github.com/python/cpython/blob/4937cd0d292d2cb1c6a11995658d6fdaa1dc5a65/Doc/library/asyncio-task.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31799/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/31799/files#diff-5e9a5bb933b1bd1d6092f7e5adb5c06da7a6792e0597f55f911245acacfce7a7 |
|
| https://github.com/python/cpython/pull/31799/files#diff-5e9a5bb933b1bd1d6092f7e5adb5c06da7a6792e0597f55f911245acacfce7a7 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L367 |
| Doc/library/asyncio.rst | https://github.com/python/cpython/pull/31799/files#diff-7083e2e62a3a95fa47854b65720054c3b1b455877324c54b347133c5e57dbe80 |
|
View file
| https://github.com/python/cpython/blob/4937cd0d292d2cb1c6a11995658d6fdaa1dc5a65/Doc/library/asyncio.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31799/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/31799/files#diff-7083e2e62a3a95fa47854b65720054c3b1b455877324c54b347133c5e57dbe80 |
|
| https://github.com/python/cpython/pull/31799/files#diff-7083e2e62a3a95fa47854b65720054c3b1b455877324c54b347133c5e57dbe80 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L369 |
| Lib/asyncio/runners.py | https://github.com/python/cpython/pull/31799/files#diff-a473e1c5041f4fb564c8fc98839276cec3df94430d498f09e477a9ee841904c8 |
|
View file
| https://github.com/python/cpython/blob/4937cd0d292d2cb1c6a11995658d6fdaa1dc5a65/Lib/asyncio/runners.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/31799/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/31799/files |
|
| https://github.com/python/cpython/pull/31799/files#diff-a473e1c5041f4fb564c8fc98839276cec3df94430d498f09e477a9ee841904c8 |
|
| https://github.com/python/cpython/pull/31799/files#diff-a473e1c5041f4fb564c8fc98839276cec3df94430d498f09e477a9ee841904c8 |
| Please reload this page | https://github.com/python/cpython/pull/31799/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 |