René's URL Explorer Experiment


Title: Refactor asyncio.wait_for() by asvetlov · Pull Request #31847 · python/cpython · GitHub

Open Graph Title: Refactor asyncio.wait_for() by asvetlov · Pull Request #31847 · python/cpython

X Title: Refactor asyncio.wait_for() by asvetlov · Pull Request #31847 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:1a07e1cf-0c08-da9a-7935-9b189812c5e0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9BDA:2DBF60:10C88B6:166E188:6A5AA80C
html-safe-nonced79630e5b63ead0a9bc4e3b2729aa8823941f8678e316b0d28c8653d2e66cac4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkRBOjJEQkY2MDoxMEM4OEI2OjE2NkUxODg6NkE1QUE4MEMiLCJ2aXNpdG9yX2lkIjoiNDc2ODE5ODQwMzc1NDIwNzI0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc822399da8180aa892a358c82d204493c45e9eb57c94907d88cb0f3d0dfe4c5a
hovercard-subject-tagpull_request:878406003
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/31847/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7699e684e278517234473e76488a1243c52ea1423b921287f912ae94ab8f2e28/python/cpython/pull/31847
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7699e684e278517234473e76488a1243c52ea1423b921287f912ae94ab8f2e28/python/cpython/pull/31847
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameasvetlov
hostnamegithub.com
expected-hostnamegithub.com
None17a57ee6ab03686731c491fccb57e6a97c066a29d7cdf1a7d83c46f5c56684fc
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5cb870aa6b86b87be75e23ca7caec54726a25af9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/31847#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31847
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F31847
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/31847
Reloadhttps://github.com/python/cpython/pull/31847
Reloadhttps://github.com/python/cpython/pull/31847
Please reload this pagehttps://github.com/python/cpython/pull/31847
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/31847
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
asvetlovhttps://github.com/asvetlov
mainhttps://github.com/python/cpython/tree/main
refactor-wait_forhttps://github.com/python/cpython/tree/refactor-wait_for
Conversationhttps://github.com/python/cpython/pull/31847
Commits4 (4)https://github.com/python/cpython/pull/31847/commits
Checkshttps://github.com/python/cpython/pull/31847/checks
Files changedhttps://github.com/python/cpython/pull/31847/files
Refactor asyncio.wait_for()https://github.com/python/cpython/pull/31847#top
asvetlovhttps://github.com/asvetlov
mainhttps://github.com/python/cpython/tree/main
refactor-wait_forhttps://github.com/python/cpython/tree/refactor-wait_for
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
Mar 13, 2022https://github.com/python/cpython/pull/31847#issue-1167604903
Please reload this pagehttps://github.com/python/cpython/pull/31847
asvetlovhttps://github.com/asvetlov
March 13, 2022 16:29https://github.com/python/cpython/pull/31847#commits-pushed-80590ab
https://github.com/asvetlov
Implement wait_for on top on timeout() and TaskGroup()https://github.com/python/cpython/pull/31847/commits/80590abc0f37ad9dae7a282c0cd06568f6d7c15a
80590abhttps://github.com/python/cpython/pull/31847/commits/80590abc0f37ad9dae7a282c0cd06568f6d7c15a
https://github.com/asvetlov
TaskGroup is not required herehttps://github.com/python/cpython/pull/31847/commits/5e258912603210f94ade518783a87561a5d83c6b
5e25891https://github.com/python/cpython/pull/31847/commits/5e258912603210f94ade518783a87561a5d83c6b
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 13, 2022https://github.com/python/cpython/pull/31847#event-6231225289
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Mar 13, 2022https://github.com/python/cpython/pull/31847#event-6231225297
asvetlovhttps://github.com/asvetlov
March 16, 2022 22:46https://github.com/python/cpython/pull/31847#commits-pushed-b196632
https://github.com/asvetlov
Merge branch 'main' into refactor-wait_forhttps://github.com/python/cpython/pull/31847/commits/b1966329b157869719c57765867f94ce3db08fda
b196632https://github.com/python/cpython/pull/31847/commits/b1966329b157869719c57765867f94ce3db08fda
https://github.com/asvetlov
Cancel the inner taskhttps://github.com/python/cpython/pull/31847/commits/a7007258bc028835a92b3b638f3db61ad8c5e01a
a700725https://github.com/python/cpython/pull/31847/commits/a7007258bc028835a92b3b638f3db61ad8c5e01a
https://github.com/ezio-melotti
ezio-melottihttps://github.com/ezio-melotti
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jul 13, 2022https://github.com/python/cpython/pull/31847#event-6988863932
https://github.com/graingert
graingerthttps://github.com/graingert
Jul 20, 2022 https://github.com/python/cpython/pull/31847#ref-pullrequest-890932824
bpo-42130: Fix swallowing of cancellation by wait_for #26097 https://github.com/python/cpython/pull/26097
https://github.com/graingert
graingerthttps://github.com/graingert
Jul 20, 2022 https://github.com/python/cpython/pull/31847#pullrequestreview-1044919131
View reviewed changes https://github.com/python/cpython/pull/31847/files/a7007258bc028835a92b3b638f3db61ad8c5e01a
Lib/asyncio/tasks.pyhttps://github.com/python/cpython/pull/31847/files/a7007258bc028835a92b3b638f3db61ad8c5e01a#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529
graingerthttps://github.com/graingert
Jul 20, 2022https://github.com/python/cpython/pull/31847#discussion_r925531271
Please reload this pagehttps://github.com/python/cpython/pull/31847
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@asvetlovhttps://github.com/asvetlov
bf594bdhttps://github.com/python/cpython/commit/bf594bd5a307660d36ab627acee80e34777e3820
https://gist.github.com/graingert/ea2546b23b32be5a4493a9a115db2eff#file-timeout_bug-py-L6https://gist.github.com/graingert/ea2546b23b32be5a4493a9a115db2eff#file-timeout_bug-py-L6
Please reload this pagehttps://github.com/python/cpython/pull/31847
https://github.com/graingert
graingerthttps://github.com/graingert
Jul 20, 2022 https://github.com/python/cpython/pull/31847#ref-issue-1311245493
asyncio.timeout(0) and asyncio.timeout(-1) cancellation is delayed #95051 https://github.com/python/cpython/issues/95051
https://github.com/graingert
graingerthttps://github.com/graingert
Jul 21, 2022 https://github.com/python/cpython/pull/31847#pullrequestreview-1046055662
View reviewed changes https://github.com/python/cpython/pull/31847/files/a7007258bc028835a92b3b638f3db61ad8c5e01a
Lib/asyncio/tasks.pyhttps://github.com/python/cpython/pull/31847/files/a7007258bc028835a92b3b638f3db61ad8c5e01a#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529
graingerthttps://github.com/graingert
Jul 21, 2022https://github.com/python/cpython/pull/31847#discussion_r926340635
Please reload this pagehttps://github.com/python/cpython/pull/31847
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31847
graingerthttps://github.com/graingert
Jul 21, 2022https://github.com/python/cpython/pull/31847#discussion_r926341498
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31847
https://github.com/graingert
graingerthttps://github.com/graingert
Sep 17, 2022 https://github.com/python/cpython/pull/31847#ref-issue-1369482021
Rewrite asyncio.wait_for using asyncio.timeout #96764 https://github.com/python/cpython/issues/96764
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Dec 14, 2022https://github.com/python/cpython/pull/31847#event-8041316803
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
December 14, 2022 20:34https://github.com/python/cpython/pull/31847#event-8041316844
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31847
https://github.com/graingert
graingert https://github.com/graingert
https://github.com/python/cpython/pull/31847/files/a7007258bc028835a92b3b638f3db61ad8c5e01a
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/willingc
willingc https://github.com/willingc
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Please reload this pagehttps://github.com/python/cpython/pull/31847
https://github.com/asvetlov
https://github.com/graingert
https://github.com/pablogsal
https://github.com/the-knights-who-say-ni
https://github.com/ezio-melotti
https://github.com/bedevere-bot
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.