René's URL Explorer Experiment


Title: bpo-46771: Implement task cancel requests by Tinche · Pull Request #31513 · python/cpython · GitHub

Open Graph Title: bpo-46771: Implement task cancel requests by Tinche · Pull Request #31513 · python/cpython

X Title: bpo-46771: Implement task cancel requests by Tinche · Pull Request #31513 · python/cpython

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

Open Graph Description: Keep track of requested task cancellations as an int, instead of a bool. https://bugs.python.org/issue46771

X Description: Keep track of requested task cancellations as an int, instead of a bool. https://bugs.python.org/issue46771

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

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:d45b7c1d-504c-40b5-183e-283371489154
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8B60:37BB33:1FB1651:2A1E3CD:6A5AFEC6
html-safe-noncea0d625e97f5b52aed10b3502a43b60ef63bf5558a1b59a2021668bbcc0f23bd9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjYwOjM3QkIzMzoxRkIxNjUxOjJBMUUzQ0Q6NkE1QUZFQzYiLCJ2aXNpdG9yX2lkIjoiMzk3Njk5MjMxODg5NzcxNjkzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9ab24710d95b6db9be482f64fd5f6e82f0b9a61d320ba0f524565750a36ef3d0
hovercard-subject-tagpull_request:860911745
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/31513/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bfeae823df36bf0ee31365b0b41d4a362839216a8248d8420f69fbf4dfd978f4/python/cpython/pull/31513
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bfeae823df36bf0ee31365b0b41d4a362839216a8248d8420f69fbf4dfd978f4/python/cpython/pull/31513
og:image:altKeep track of requested task cancellations as an int, instead of a bool. https://bugs.python.org/issue46771
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTinche
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/31513#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31513
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%2F31513
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/31513
Reloadhttps://github.com/python/cpython/pull/31513
Reloadhttps://github.com/python/cpython/pull/31513
Please reload this pagehttps://github.com/python/cpython/pull/31513
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/31513
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
gvanrossumhttps://github.com/gvanrossum
python:mainhttps://github.com/python/cpython/tree/main
asvetlov:issue-46771-cancel-requests-2https://github.com/asvetlov/cpython/tree/issue-46771-cancel-requests-2
Conversationhttps://github.com/python/cpython/pull/31513
Commits3 (3)https://github.com/python/cpython/pull/31513/commits
Checkshttps://github.com/python/cpython/pull/31513/checks
Files changedhttps://github.com/python/cpython/pull/31513/files
bpo-46771: Implement task cancel requestshttps://github.com/python/cpython/pull/31513#top
gvanrossumhttps://github.com/gvanrossum
python:mainhttps://github.com/python/cpython/tree/main
asvetlov:issue-46771-cancel-requests-2https://github.com/asvetlov/cpython/tree/issue-46771-cancel-requests-2
https://github.com/Tinche
Tinchehttps://github.com/Tinche
Feb 22, 2022https://github.com/python/cpython/pull/31513#issue-1147471010
Please reload this pagehttps://github.com/python/cpython/pull/31513
https://bugs.python.org/issue46771https://bugs.python.org/issue46771
Please reload this pagehttps://github.com/python/cpython/pull/31513
https://github.com/Tinche
Implement task cancel requestshttps://github.com/python/cpython/pull/31513/commits/a231718813e8d0a12849d8e21697d63632d880b9
a231718https://github.com/python/cpython/pull/31513/commits/a231718813e8d0a12849d8e21697d63632d880b9
https://github.com/Tinche
Tinchehttps://github.com/Tinche
1st1https://github.com/1st1
asvetlovhttps://github.com/asvetlov
code ownershttps://github.com/python/cpython/blob/66b3cd7063322a9f5c922a97bbd06fdb98309999/.github/CODEOWNERS#L8
February 22, 2022 23:29https://github.com/python/cpython/pull/31513#event-6121595154
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 22, 2022https://github.com/python/cpython/pull/31513#event-6121595277
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
Feb 22, 2022https://github.com/python/cpython/pull/31513#event-6121595301
https://github.com/Tinche
Tinchehttps://github.com/Tinche
Feb 22, 2022 https://github.com/python/cpython/pull/31513#ref-pullrequest-1141936618
bpo-46771: Implement asyncio context managers for handling timeouts #31394 https://github.com/python/cpython/pull/31394
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 22, 2022https://github.com/python/cpython/pull/31513#issuecomment-1048317367
@agronholmhttps://github.com/agronholm
@Tinchehttps://github.com/Tinche
@cjerdonekhttps://github.com/cjerdonek
@agronholmhttps://github.com/agronholm
https://bugs.python.org/issue46829https://bugs.python.org/issue46829
Please reload this pagehttps://github.com/python/cpython/pull/31513
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 23, 2022 https://github.com/python/cpython/pull/31513#pullrequestreview-891514408
View reviewed changes https://github.com/python/cpython/pull/31513/files/a231718813e8d0a12849d8e21697d63632d880b9
gvanrossumhttps://github.com/gvanrossum
https://github.com/python/cpython/pull/31513#pullrequestreview-891514408
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@Tinchehttps://github.com/Tinche
Please reload this pagehttps://github.com/python/cpython/pull/31513
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 23, 2022https://github.com/python/cpython/pull/31513#event-6127127715
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
Feb 23, 2022 https://github.com/python/cpython/pull/31513#pullrequestreview-891512528
View reviewed changes https://github.com/python/cpython/pull/31513/files/a231718813e8d0a12849d8e21697d63632d880b9
Lib/asyncio/tasks.pyhttps://github.com/python/cpython/pull/31513/files/a231718813e8d0a12849d8e21697d63632d880b9#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529
asvetlovhttps://github.com/asvetlov
Feb 23, 2022https://github.com/python/cpython/pull/31513#discussion_r813188739
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31513
gvanrossumhttps://github.com/gvanrossum
Feb 23, 2022https://github.com/python/cpython/pull/31513#discussion_r813193930
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31513
asvetlovhttps://github.com/asvetlov
Feb 23, 2022https://github.com/python/cpython/pull/31513#discussion_r813202848
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31513
asvetlovhttps://github.com/asvetlov
Feb 23, 2022https://github.com/python/cpython/pull/31513#discussion_r813203553
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31513
gvanrossumhttps://github.com/gvanrossum
Feb 23, 2022https://github.com/python/cpython/pull/31513#discussion_r813212870
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31513
asvetlovhttps://github.com/asvetlov
Feb 23, 2022https://github.com/python/cpython/pull/31513#discussion_r813279840
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31513
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Feb 23, 2022https://github.com/python/cpython/pull/31513#event-6127136836
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
Feb 23, 2022 https://github.com/python/cpython/pull/31513#pullrequestreview-891627867
View reviewed changes https://github.com/python/cpython/pull/31513/files/a231718813e8d0a12849d8e21697d63632d880b9
https://github.com/Tinche
Tinchehttps://github.com/Tinche
Feb 23, 2022https://github.com/python/cpython/pull/31513#issuecomment-1049211778
Please reload this pagehttps://github.com/python/cpython/pull/31513
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 23, 2022https://github.com/python/cpython/pull/31513#issuecomment-1049232006
Please reload this pagehttps://github.com/python/cpython/pull/31513
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 23, 2022https://github.com/python/cpython/pull/31513#issuecomment-1049234562
Please reload this pagehttps://github.com/python/cpython/pull/31513
@Tinchehttps://github.com/Tinche
bpo-46752https://bugs.python.org/issue46752
Please reload this pagehttps://github.com/python/cpython/pull/31513
https://github.com/Tinche
Tweak task docstringshttps://github.com/python/cpython/pull/31513/commits/ab5bce9d1c3879b290cb5da517b771d86fca97e4
ab5bce9https://github.com/python/cpython/pull/31513/commits/ab5bce9d1c3879b290cb5da517b771d86fca97e4
https://github.com/Tinche
Tinchehttps://github.com/Tinche
Feb 24, 2022https://github.com/python/cpython/pull/31513#issuecomment-1049372131
@gvanrossumhttps://github.com/gvanrossum
Please reload this pagehttps://github.com/python/cpython/pull/31513
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 24, 2022 https://github.com/python/cpython/pull/31513#pullrequestreview-891866485
View reviewed changes https://github.com/python/cpython/pull/31513/files/ab5bce9d1c3879b290cb5da517b771d86fca97e4
gvanrossumhttps://github.com/gvanrossum
https://github.com/python/cpython/pull/31513#pullrequestreview-891866485
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31513
https://github.com/Tinche
Run make regen-allhttps://github.com/python/cpython/pull/31513/commits/532a5be07849bbf11bd09042d635e61dbe8d1b84
532a5behttps://github.com/python/cpython/pull/31513/commits/532a5be07849bbf11bd09042d635e61dbe8d1b84
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 24, 2022https://github.com/python/cpython/pull/31513#issuecomment-1049375406
Please reload this pagehttps://github.com/python/cpython/pull/31513
Please reload this pagehttps://github.com/python/cpython/pull/31513
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
7fce106https://github.com/python/cpython/commit/7fce1063b6e5a366f8504e039a8ccdd6944625cd
Feb 24, 2022https://github.com/python/cpython/pull/31513#event-6129196988
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Feb 24, 2022https://github.com/python/cpython/pull/31513#event-6129197097
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 24, 2022https://github.com/python/cpython/pull/31513#issuecomment-1049428357
@Tinchehttps://github.com/Tinche
Please reload this pagehttps://github.com/python/cpython/pull/31513
https://github.com/achimnol
achimnolhttps://github.com/achimnol
Feb 24, 2022 https://github.com/python/cpython/pull/31513#ref-issue-1138234330
Add shutdown timeout to PersistentTaskGroup achimnol/aiotools#33 https://github.com/achimnol/aiotools/issues/33
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
February 24, 2022 09:56https://github.com/python/cpython/pull/31513#event-6130980923
https://github.com/Tinche
Tinchehttps://github.com/Tinche
Feb 24, 2022https://github.com/python/cpython/pull/31513#issuecomment-1049750781
Please reload this pagehttps://github.com/python/cpython/pull/31513
https://github.com/Tinche
Tinchehttps://github.com/Tinche
Feb 25, 2022 https://github.com/python/cpython/pull/31513#ref-pullrequest-1149936826
bpo-46752: Taskgroup tweaks #31559 https://github.com/python/cpython/pull/31559
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Mar 1, 2022 https://github.com/python/cpython/pull/31513#ref-pullrequest-1154734507
asyncio.Task: .cancelling() and .uncancel() now return int, not bool python/typeshed#7405 https://github.com/python/typeshed/pull/7405
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Apr 27, 2022 https://github.com/python/cpython/pull/31513#ref-issue-1199075312
Introduce task groups to asyncio and change task cancellation semantics #90908 https://github.com/python/cpython/issues/90908
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
May 24, 2022 https://github.com/python/cpython/pull/31513#ref-issue-1199075436
Implement asyncio.timeout() context manager #90927 https://github.com/python/cpython/issues/90927
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%2F31513
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/python/cpython/pull/31513/files/ab5bce9d1c3879b290cb5da517b771d86fca97e4
https://github.com/asvetlov
asvetlov https://github.com/asvetlov
https://github.com/python/cpython/pull/31513/files/a231718813e8d0a12849d8e21697d63632d880b9
https://github.com/1st1
1st1 https://github.com/1st1
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/31513
https://github.com/Tinche
https://github.com/gvanrossum
https://github.com/asvetlov
https://github.com/the-knights-who-say-ni
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.