René's URL Explorer Experiment


Title: bpo-47062: Implement asyncio.Runner context manager by asvetlov · Pull Request #31799 · python/cpython · GitHub

Open Graph Title: bpo-47062: Implement asyncio.Runner context manager by asvetlov · Pull Request #31799 · python/cpython

X Title: bpo-47062: Implement asyncio.Runner context manager by asvetlov · Pull Request #31799 · python/cpython

Description: https://bugs.python.org/issue47062

Open Graph Description: https://bugs.python.org/issue47062

X Description: https://bugs.python.org/issue47062

Opengraph URL: https://github.com/python/cpython/pull/31799

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:feabc2c0-24b4-3848-13af-9a1c58001017
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC05C:1C07BE:78524E:A659A3:696A2ABA
html-safe-nonce915ab3a82d2a6888bb7a61e684c0aa911e615e16cda33eb848936748249c60b3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDVDOjFDMDdCRTo3ODUyNEU6QTY1OUEzOjY5NkEyQUJBIiwidmlzaXRvcl9pZCI6Ijc2NTY3Mzk2Mzg4ODUzNjIzNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0262a5d71c1c93c93b15e86366fc011508bbf2bd30088f111b1d0f813dd3cecc
hovercard-subject-tagpull_request:876726331
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/31799/files
twitter:imagehttps://avatars.githubusercontent.com/u/356399?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/356399?s=400&v=4
og:image:althttps://bugs.python.org/issue47062
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonea1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef472b8e6c7b3fdd5d0354972a3f4c516289bf0be
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/python/cpython/pull/31799/files
Reloadhttps://github.com/python/cpython/pull/31799/files
Reloadhttps://github.com/python/cpython/pull/31799/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://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 pagehttps://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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
asvetlovhttps://github.com/asvetlov
mainhttps://github.com/python/cpython/tree/main
asyncio-runnerhttps://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 pagehttps://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 pagehttps://github.com/python/cpython/pull/31799/files
Please reload this pagehttps://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.rsthttps://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.rsthttps://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.rsthttps://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.pyhttps://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 pagehttps://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 pagehttps://github.com/python/cpython/pull/31799/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.