René's URL Explorer Experiment


Title: gh-112202: Ensure that condition.notify() succeeds even when racing with Task.cancel() by kristjanvalur · Pull Request #112201 · python/cpython · GitHub

Open Graph Title: gh-112202: Ensure that condition.notify() succeeds even when racing with Task.cancel() by kristjanvalur · Pull Request #112201 · python/cpython

X Title: gh-112202: Ensure that condition.notify() succeeds even when racing with Task.cancel() by kristjanvalur · Pull Request #112201 · python/cpython

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

Open Graph Description: If Condition.notify() raises an exception that could have occurred after the task was selected to be woken up, wake up another task instead, if available. This ensures that the typical case, of wa...

X Description: If Condition.notify() raises an exception that could have occurred after the task was selected to be woken up, wake up another task instead, if available. This ensures that the typical case, of wa...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:45d2ca64-71ea-d456-9c8b-c39897383696
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8110:1DC30F:45B3C31:5ACCB47:6A5D3820
html-safe-noncea5633ce0598c3ddeb545930e89c2cb2bfe01e74142c53f0facb2fdb1ffcf00d9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTEwOjFEQzMwRjo0NUIzQzMxOjVBQ0NCNDc6NkE1RDM4MjAiLCJ2aXNpdG9yX2lkIjoiMzgwODExNTY4NjU4Mjg1OTgwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3e1b24cca68adc3bd4c8ebb8c423e544edcc081e17c171e86e0700723ee066ce
hovercard-subject-tagpull_request:1606473776
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/112201/commits
twitter:imagehttps://opengraph.githubassets.com/928b9c3261a6ff91b3118272bfbbc7884f62036064c7e2e69f5ae1d98552a506/python/cpython/pull/112201
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/928b9c3261a6ff91b3118272bfbbc7884f62036064c7e2e69f5ae1d98552a506/python/cpython/pull/112201
og:image:altIf Condition.notify() raises an exception that could have occurred after the task was selected to be woken up, wake up another task instead, if available. This ensures that the typical case, of wa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekristjanvalur
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/112201/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F112201%2Fcommits
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%2F112201%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/112201/commits
Reloadhttps://github.com/python/cpython/pull/112201/commits
Reloadhttps://github.com/python/cpython/pull/112201/commits
Please reload this pagehttps://github.com/python/cpython/pull/112201/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/112201/commits
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.4k 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
gvanrossumhttps://github.com/gvanrossum
python:mainhttps://github.com/python/cpython/tree/main
kristjanvalur:kristjan/condition_notifyhttps://github.com/kristjanvalur/stackless/tree/kristjan/condition_notify
Conversationhttps://github.com/python/cpython/pull/112201
Commits8 (8)https://github.com/python/cpython/pull/112201/commits
Checkshttps://github.com/python/cpython/pull/112201/checks
Files changedhttps://github.com/python/cpython/pull/112201/files
gh-112202: Ensure that condition.notify() succeeds even when racing with Task.cancel()https://github.com/python/cpython/pull/112201/commits#top
gvanrossumhttps://github.com/gvanrossum
python:mainhttps://github.com/python/cpython/tree/main
kristjanvalur:kristjan/condition_notifyhttps://github.com/kristjanvalur/stackless/tree/kristjan/condition_notify
Handle race between task.cancel() and contidion.notify()https://github.com/python/cpython/pull/112201/commits/fa8d5e40877ce17a4bc23c979dd96abc9aa60ff6
https://github.com/kristjanvalur
kristjanvalurhttps://github.com/python/cpython/commits?author=kristjanvalur
fa8d5e4https://github.com/python/cpython/pull/112201/commits/fa8d5e40877ce17a4bc23c979dd96abc9aa60ff6
https://github.com/python/cpython/tree/fa8d5e40877ce17a4bc23c979dd96abc9aa60ff6
Improve test, add another test casehttps://github.com/python/cpython/pull/112201/commits/df113e5765356953e0554cacf32706299a72b69e
https://github.com/kristjanvalur
kristjanvalurhttps://github.com/python/cpython/commits?author=kristjanvalur
df113e5https://github.com/python/cpython/pull/112201/commits/df113e5765356953e0554cacf32706299a72b69e
https://github.com/python/cpython/tree/df113e5765356953e0554cacf32706299a72b69e
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/112201/commits/13827d15d1c5bb6ab16e426fb5f1202b9b939ba7
blurb-it[bot]https://github.com/python/cpython/commits?author=blurb-it%5Bbot%5D
kristjanvalurhttps://github.com/python/cpython/commits?author=kristjanvalur
13827d1https://github.com/python/cpython/pull/112201/commits/13827d15d1c5bb6ab16e426fb5f1202b9b939ba7
https://github.com/python/cpython/tree/13827d15d1c5bb6ab16e426fb5f1202b9b939ba7
Update Doc/library/asyncio-sync.rsthttps://github.com/python/cpython/pull/112201/commits/c8e6b13f490e3efa9c1a1e21b7f878a9032c3f6f
kristjanvalurhttps://github.com/python/cpython/commits?author=kristjanvalur
gvanrossumhttps://github.com/python/cpython/commits?author=gvanrossum
c8e6b13https://github.com/python/cpython/pull/112201/commits/c8e6b13f490e3efa9c1a1e21b7f878a9032c3f6f
https://github.com/python/cpython/tree/c8e6b13f490e3efa9c1a1e21b7f878a9032c3f6f
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/112201/commits/db3f83ae5d29f666d9da14b5de4f84a87a363afe
kristjanvalurhttps://github.com/python/cpython/commits?author=kristjanvalur
gvanrossumhttps://github.com/python/cpython/commits?author=gvanrossum
db3f83ahttps://github.com/python/cpython/pull/112201/commits/db3f83ae5d29f666d9da14b5de4f84a87a363afe
https://github.com/python/cpython/tree/db3f83ae5d29f666d9da14b5de4f84a87a363afe
Change mention of "coroutines" to "tasks" where appopriate in in-line documentation.https://github.com/python/cpython/pull/112201/commits/0dad8803b4d43e6a85ece682351afb59ecb56b17
https://github.com/kristjanvalur
kristjanvalurhttps://github.com/python/cpython/commits?author=kristjanvalur
0dad880https://github.com/python/cpython/pull/112201/commits/0dad8803b4d43e6a85ece682351afb59ecb56b17
https://github.com/python/cpython/tree/0dad8803b4d43e6a85ece682351afb59ecb56b17
awoken/awakenedhttps://github.com/python/cpython/pull/112201/commits/12bb7585483917191fe32ab130adf32b0bca8066
https://github.com/kristjanvalur
kristjanvalurhttps://github.com/python/cpython/commits?author=kristjanvalur
12bb758https://github.com/python/cpython/pull/112201/commits/12bb7585483917191fe32ab130adf32b0bca8066
https://github.com/python/cpython/tree/12bb7585483917191fe32ab130adf32b0bca8066
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/112201/commits/92566a139137b651b93b13aefacd29bd9c81c43a
kristjanvalurhttps://github.com/python/cpython/commits?author=kristjanvalur
gvanrossumhttps://github.com/python/cpython/commits?author=gvanrossum
92566a1https://github.com/python/cpython/pull/112201/commits/92566a139137b651b93b13aefacd29bd9c81c43a
https://github.com/python/cpython/tree/92566a139137b651b93b13aefacd29bd9c81c43a
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.