René's URL Explorer Experiment


Title: bpo-46994: Accept explicit contextvars.Context in asyncio create_task() API by asvetlov · Pull Request #31837 · python/cpython · GitHub

Open Graph Title: bpo-46994: Accept explicit contextvars.Context in asyncio create_task() API by asvetlov · Pull Request #31837 · python/cpython

X Title: bpo-46994: Accept explicit contextvars.Context in asyncio create_task() API by asvetlov · Pull Request #31837 · python/cpython

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

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

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

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

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:a596bbfd-3fe4-60ab-d9ee-d33a7fd0873f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA4F6:2D4000:1F0750:2A1E31:696A112F
html-safe-noncecf256fe06455c1d3b07c5d4cd833256f400bcfa1d14886339bb01aa51243ab4b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEY2OjJENDAwMDoxRjA3NTA6MkExRTMxOjY5NkExMTJGIiwidmlzaXRvcl9pZCI6IjI5MTcxMTU2MTU2ODEwNTcwNzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace912bee7139c569e097d20dcdb428519e898b647d559a22050653c7435ce7352
hovercard-subject-tagpull_request:878141426
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/31837/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a6404cdf9e53b8a78488b48095b720e883ded23bd8f8908fea0b62393df214fd/python/cpython/pull/31837
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a6404cdf9e53b8a78488b48095b720e883ded23bd8f8908fea0b62393df214fd/python/cpython/pull/31837
og:image:althttps://bugs.python.org/issue46994
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameasvetlov
hostnamegithub.com
expected-hostnamegithub.com
None699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595
turbo-cache-controlno-preview
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
release7266b2d935baa1c6474b16dd9feaa5ca30607261
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/31837#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31837
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%2F31837
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/31837
Reloadhttps://github.com/python/cpython/pull/31837
Reloadhttps://github.com/python/cpython/pull/31837
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/31837
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/31837
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
Jump to bottomhttps://github.com/python/cpython/pull/31837#issue-comment-box
asvetlovhttps://github.com/asvetlov
mainhttps://github.com/python/cpython/tree/main
task-concepthttps://github.com/python/cpython/tree/task-concept
bpo-46994: Accept explicit contextvars.Context in asyncio create_task() API https://github.com/python/cpython/pull/31837#top
asvetlovhttps://github.com/asvetlov
mainhttps://github.com/python/cpython/tree/main
task-concepthttps://github.com/python/cpython/tree/task-concept
Conversation 3 https://github.com/python/cpython/pull/31837
Commits 9 https://github.com/python/cpython/pull/31837/commits
Checks 0 https://github.com/python/cpython/pull/31837/checks
Files changed https://github.com/python/cpython/pull/31837/files
Please reload this pagehttps://github.com/python/cpython/pull/31837
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
Mar 12, 2022https://github.com/python/cpython/pull/31837#issue-1167250525
Please reload this pagehttps://github.com/python/cpython/pull/31837
https://bugs.python.org/issue46994https://bugs.python.org/issue46994
Please reload this pagehttps://github.com/python/cpython/pull/31837
https://github.com/asvetlov
bpo-46994https://bugs.python.org/issue?@action=redirect&bpo=46994
: Accept explicit contextvars.Context in asyncio create_task…https://github.com/python/cpython/pull/31837/commits/50e6b0123e8686c4bac077d577d48d174b8b6849
50e6b01https://github.com/python/cpython/pull/31837/commits/50e6b0123e8686c4bac077d577d48d174b8b6849
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
1st1https://github.com/1st1
code ownerhttps://github.com/python/cpython/blob/75174371e6cac935b598a68c1113f6db1e0d6ed8/.github/CODEOWNERS#L8
March 12, 2022 10:35https://github.com/python/cpython/pull/31837#event-6229543153
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 12, 2022https://github.com/python/cpython/pull/31837#event-6229543201
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 12, 2022https://github.com/python/cpython/pull/31837#event-6229543209
https://github.com/asvetlov
Fix context default in C codehttps://github.com/python/cpython/pull/31837/commits/e1348e07f2b65a8ee4e55f687d9256984d2730f8
e1348e0https://github.com/python/cpython/pull/31837/commits/e1348e07f2b65a8ee4e55f687d9256984d2730f8
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Mar 12, 2022https://github.com/python/cpython/pull/31837#event-6229600813
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 12, 2022https://github.com/python/cpython/pull/31837#issuecomment-1065866355
@asvetlovhttps://github.com/asvetlov
e1348e0https://github.com/python/cpython/commit/e1348e07f2b65a8ee4e55f687d9256984d2730f8
Please reload this pagehttps://github.com/python/cpython/pull/31837
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Mar 12, 2022https://github.com/python/cpython/pull/31837#event-6229600838
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
Mar 12, 2022https://github.com/python/cpython/pull/31837#issuecomment-1065945503
Please reload this pagehttps://github.com/python/cpython/pull/31837
asvetlovhttps://github.com/asvetlov
March 12, 2022 23:38https://github.com/python/cpython/pull/31837#commits-pushed-8c0aff9
https://github.com/asvetlov
Allow passing context to TaskGroup.create_task()https://github.com/python/cpython/pull/31837/commits/8c0aff9b74fc1c1d9d0e5874f5a566c694ca00fa
8c0aff9https://github.com/python/cpython/pull/31837/commits/8c0aff9b74fc1c1d9d0e5874f5a566c694ca00fa
https://github.com/asvetlov
Fix typohttps://github.com/python/cpython/pull/31837/commits/7a9bdede3486dde1141cec5751dd9f593ace588e
7a9bdedhttps://github.com/python/cpython/pull/31837/commits/7a9bdede3486dde1141cec5751dd9f593ace588e
https://github.com/asvetlov
Merge branch 'main' into task-concepthttps://github.com/python/cpython/pull/31837/commits/2a5686c7c0d39320fe786a2805e23ef2483366eb
2a5686chttps://github.com/python/cpython/pull/31837/commits/2a5686c7c0d39320fe786a2805e23ef2483366eb
https://github.com/asvetlov
Merge branch 'main' into task-concepthttps://github.com/python/cpython/pull/31837/commits/b375604dc98e9f6913380f251f71763c71865cc8
b375604https://github.com/python/cpython/pull/31837/commits/b375604dc98e9f6913380f251f71763c71865cc8
https://github.com/asvetlov
Work onhttps://github.com/python/cpython/pull/31837/commits/6e385ac336366729be11c9d8796069acf253d8ab
6e385achttps://github.com/python/cpython/pull/31837/commits/6e385ac336366729be11c9d8796069acf253d8ab
https://github.com/asvetlov
Fix C Task implhttps://github.com/python/cpython/pull/31837/commits/f5816da131f87180c29010beaa1e918594006fd1
f5816dahttps://github.com/python/cpython/pull/31837/commits/f5816da131f87180c29010beaa1e918594006fd1
https://github.com/asvetlov
Add taskgroup testshttps://github.com/python/cpython/pull/31837/commits/1d26ee17e526ca166119e05e906c76817d7f40df
1d26ee1https://github.com/python/cpython/pull/31837/commits/1d26ee17e526ca166119e05e906c76817d7f40df
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Mar 14, 2022https://github.com/python/cpython/pull/31837#event-6231981834
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 14, 2022https://github.com/python/cpython/pull/31837#issuecomment-1066242734
@asvetlovhttps://github.com/asvetlov
1d26ee1https://github.com/python/cpython/commit/1d26ee17e526ca166119e05e906c76817d7f40df
Please reload this pagehttps://github.com/python/cpython/pull/31837
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Mar 14, 2022https://github.com/python/cpython/pull/31837#event-6231981965
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
9523c0dhttps://github.com/python/cpython/commit/9523c0d84f351a610dc651b234461eb015fa3b82
Mar 14, 2022https://github.com/python/cpython/pull/31837#event-6234829360
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
March 14, 2022 11:54https://github.com/python/cpython/pull/31837#event-6234829452
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 14, 2022https://github.com/python/cpython/pull/31837#event-6234829627
carljmhttps://github.com/carljm
Mar 14, 2022 https://github.com/python/cpython/pull/31837#ref-commit-d22463b
Merge branch 'main' into dictwatchhttps://github.com/carljm/cpython/commit/d22463b49887963149a63de01861219a8479cd09
d22463bhttps://github.com/carljm/cpython/commit/d22463b49887963149a63de01861219a8479cd09
pythonGH-31820https://github.com/python/cpython/pull/31820
pythonGH-31879https://github.com/python/cpython/pull/31879
pythonGH-31548https://github.com/python/cpython/pull/31548
pythonGH-31862https://github.com/python/cpython/pull/31862
pythonGH-31875https://github.com/python/cpython/pull/31875
pythonGH-31813https://github.com/python/cpython/pull/31813
pythonGH-31812https://github.com/python/cpython/pull/31812
pythonGH-31814https://github.com/python/cpython/pull/31814
pythonGH-31866https://github.com/python/cpython/pull/31866
pythonGH-31865https://github.com/python/cpython/pull/31865
pythonGH-31708https://github.com/python/cpython/pull/31708
pythonGH-31835https://github.com/python/cpython/pull/31835
pythonGH-31837https://github.com/python/cpython/pull/31837
pythonGH-31816https://github.com/python/cpython/pull/31816
pythonGH-31848https://github.com/python/cpython/pull/31848
python#31854https://github.com/python/cpython/pull/31854
pythonGH-31820https://github.com/python/cpython/pull/31820
pythonGH-31819https://github.com/python/cpython/pull/31819
pythonGH-31455https://github.com/python/cpython/pull/31455
pythonGH-31838https://github.com/python/cpython/pull/31838
pythonGH-24525https://github.com/python/cpython/pull/24525
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
Mar 19, 2022 https://github.com/python/cpython/pull/31837#ref-issue-1172199926
Deprecate event_loop fixture overrides pytest-dev/pytest-asyncio#311 https://github.com/pytest-dev/pytest-asyncio/issues/311
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
May 25, 2022 https://github.com/python/cpython/pull/31837#ref-issue-1199076846
Accept explicit contextvars.Context in asyncio create_task() API #91150 https://github.com/python/cpython/issues/91150
https://github.com/adriangb
adriangbhttps://github.com/adriangb
May 26, 2022 https://github.com/python/cpython/pull/31837#ref-pullrequest-959879272
Preserve changes to contexvars made in threadpools Kludex/starlette#1258 https://github.com/Kludex/starlette/pull/1258
https://github.com/zware
zwarehttps://github.com/zware
Jan 13, 2023 https://github.com/python/cpython/pull/31837#ref-issue-1532765686
self.doCleanups() cannot be called from a test method of a unittest.IsolatedAsyncioTestCase subclass #101018 https://github.com/python/cpython/issues/101018
https://github.com/RobertRosca
RobertRoscahttps://github.com/RobertRosca
Nov 20, 2023 https://github.com/python/cpython/pull/31837#ref-pullrequest-1905087320
feat(events): propagate context vars to listeners litestar-org/litestar#2324 https://github.com/litestar-org/litestar/pull/2324
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%2F31837
https://github.com/1st1
1st1 https://github.com/1st1
Please reload this pagehttps://github.com/python/cpython/pull/31837
https://github.com/asvetlov
https://github.com/bedevere-bot
https://github.com/the-knights-who-say-ni
https://github.com/apps/copilot-swe-agent
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.