René's URL Explorer Experiment


Title: bpo-32309: Implement asyncio.ThreadPool by aeros · Pull Request #18410 · python/cpython · GitHub

Open Graph Title: bpo-32309: Implement asyncio.ThreadPool by aeros · Pull Request #18410 · python/cpython

X Title: bpo-32309: Implement asyncio.ThreadPool by aeros · Pull Request #18410 · python/cpython

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

Open Graph Description: Implements asyncio.ThreadPool, a high-level asynchronous context manager for concurrently running IO-bound functions without blocking the event loop. The initial implementation relies significantly...

X Description: Implements asyncio.ThreadPool, a high-level asynchronous context manager for concurrently running IO-bound functions without blocking the event loop. The initial implementation relies significantly...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:53393f59-9f70-df88-e5f8-f68a1b3b93ee
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8EF2:F61E5:11FB720:18E3B0B:6A4DDCD8
html-safe-noncee68c4f4304472f78ae88376d9afbdd866cf7c1f3e7836d7b656ddbcaaa1cfb2d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUYyOkY2MUU1OjExRkI3MjA6MThFM0IwQjo2QTRERENEOCIsInZpc2l0b3JfaWQiOiI4MzU2MTY4MTI5ODQ4MTg5MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6161743a993825628446cbf66e26a672fef289cd8340f95751e4736f1d1ec5f9
hovercard-subject-tagpull_request:372675267
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/18410/commits
twitter:imagehttps://opengraph.githubassets.com/4a3e27ed203e0e949544f1422847a95b98afc363e3a29f40ad4506ec9e656d60/python/cpython/pull/18410
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4a3e27ed203e0e949544f1422847a95b98afc363e3a29f40ad4506ec9e656d60/python/cpython/pull/18410
og:image:altImplements asyncio.ThreadPool, a high-level asynchronous context manager for concurrently running IO-bound functions without blocking the event loop. The initial implementation relies significantly...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaeros
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
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
release1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/18410/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F18410%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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2F18410%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/18410/commits
Reloadhttps://github.com/python/cpython/pull/18410/commits
Reloadhttps://github.com/python/cpython/pull/18410/commits
Please reload this pagehttps://github.com/python/cpython/pull/18410/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/18410/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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
aeroshttps://github.com/aeros
python:masterhttps://github.com/python/cpython/tree/master
aeros:bpo39349-add-cancel_futures-to-Executor.shutdownhttps://github.com/aeros/cpython/tree/bpo39349-add-cancel_futures-to-Executor.shutdown
Conversationhttps://github.com/python/cpython/pull/18410
Commits18 (18)https://github.com/python/cpython/pull/18410/commits
Checkshttps://github.com/python/cpython/pull/18410/checks
Files changedhttps://github.com/python/cpython/pull/18410/files
bpo-32309: Implement asyncio.ThreadPoolhttps://github.com/python/cpython/pull/18410/commits#top
aeroshttps://github.com/aeros
python:masterhttps://github.com/python/cpython/tree/master
aeros:bpo39349-add-cancel_futures-to-Executor.shutdownhttps://github.com/aeros/cpython/tree/bpo39349-add-cancel_futures-to-Executor.shutdown
Implement asyncio.ThreadPoolhttps://github.com/python/cpython/pull/18410/commits/8cc155e005cc321b0ce0c755a93ef5b965ccf1fa
https://github.com/aeros
aeroshttps://github.com/python/cpython/commits?author=aeros
8cc155ehttps://github.com/python/cpython/pull/18410/commits/8cc155e005cc321b0ce0c755a93ef5b965ccf1fa
https://github.com/python/cpython/tree/8cc155e005cc321b0ce0c755a93ef5b965ccf1fa
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/18410/commits/323ef09bfd4b01ede50fcf946521a9853551a463
https://github.com/apps/blurb-it
blurb-it[bot]https://github.com/python/cpython/commits?author=blurb-it%5Bbot%5D
323ef09https://github.com/python/cpython/pull/18410/commits/323ef09bfd4b01ede50fcf946521a9853551a463
https://github.com/python/cpython/tree/323ef09bfd4b01ede50fcf946521a9853551a463
Add whatsnew for 3.9https://github.com/python/cpython/pull/18410/commits/2dc325a03f3c172b6d6ad2e80a4cbc7104588cd3
https://github.com/aeros
aeroshttps://github.com/python/cpython/commits?author=aeros
2dc325ahttps://github.com/python/cpython/pull/18410/commits/2dc325a03f3c172b6d6ad2e80a4cbc7104588cd3
https://github.com/python/cpython/tree/2dc325a03f3c172b6d6ad2e80a4cbc7104588cd3
Fix asyncio.ThreadPool exampleshttps://github.com/python/cpython/pull/18410/commits/bf3e022d5334b127b394b6a30070f79758b34641
https://github.com/aeros
aeroshttps://github.com/python/cpython/commits?author=aeros
bf3e022https://github.com/python/cpython/pull/18410/commits/bf3e022d5334b127b394b6a30070f79758b34641
https://github.com/python/cpython/tree/bf3e022d5334b127b394b6a30070f79758b34641
Fix asyncio.ThreadPool examplehttps://github.com/python/cpython/pull/18410/commits/8b715febce83688b82366cba6244d63a568e5f2c
https://github.com/aeros
aeroshttps://github.com/python/cpython/commits?author=aeros
8b715fehttps://github.com/python/cpython/pull/18410/commits/8b715febce83688b82366cba6244d63a568e5f2c
https://github.com/python/cpython/tree/8b715febce83688b82366cba6244d63a568e5f2c
Improve tearDown() in test_poolshttps://github.com/python/cpython/pull/18410/commits/ccd425ff81c346dae4e01618933b7514e1b4520c
https://github.com/aeros
aeroshttps://github.com/python/cpython/commits?author=aeros
ccd425fhttps://github.com/python/cpython/pull/18410/commits/ccd425ff81c346dae4e01618933b7514e1b4520c
https://github.com/python/cpython/tree/ccd425ff81c346dae4e01618933b7514e1b4520c
Co-authored-by: Antoine Pitrou https://github.com/python/cpython/pull/18410/commits/2dba11d3221c81acf00c8cec93ddf12c5a1ba869
https://github.com/aeros
aeroshttps://github.com/python/cpython/commits?author=aeros
2dba11dhttps://github.com/python/cpython/pull/18410/commits/2dba11d3221c81acf00c8cec93ddf12c5a1ba869
https://github.com/python/cpython/tree/2dba11d3221c81acf00c8cec93ddf12c5a1ba869
Fix whitespacehttps://github.com/python/cpython/pull/18410/commits/fb194efe37b2183a12a30c8e9dc751571b85e742
https://github.com/aeros
aeroshttps://github.com/python/cpython/commits?author=aeros
fb194efhttps://github.com/python/cpython/pull/18410/commits/fb194efe37b2183a12a30c8e9dc751571b85e742
https://github.com/python/cpython/tree/fb194efe37b2183a12a30c8e9dc751571b85e742
Replace "threadpool" with "thread pool"https://github.com/python/cpython/pull/18410/commits/1a8a3daecc11cddfb29a94814cb30d415f1019dc
aeroshttps://github.com/python/cpython/commits?author=aeros
tmewetthttps://github.com/python/cpython/commits?author=tmewett
1a8a3dahttps://github.com/python/cpython/pull/18410/commits/1a8a3daecc11cddfb29a94814cb30d415f1019dc
https://github.com/python/cpython/tree/1a8a3daecc11cddfb29a94814cb30d415f1019dc
Simplify astart() and aclose() docshttps://github.com/python/cpython/pull/18410/commits/59eb5ce553e47e5b82e0d679793c95ae43409e2d
aeroshttps://github.com/python/cpython/commits?author=aeros
59eb5cehttps://github.com/python/cpython/pull/18410/commits/59eb5ce553e47e5b82e0d679793c95ae43409e2d
https://github.com/python/cpython/tree/59eb5ce553e47e5b82e0d679793c95ae43409e2d
Allow *func* to be a kwarg for functions passed to run()https://github.com/python/cpython/pull/18410/commits/00cd86be3c47dabafcfcd65fc90ccaabe98cee9a
aeroshttps://github.com/python/cpython/commits?author=aeros
00cd86bhttps://github.com/python/cpython/pull/18410/commits/00cd86be3c47dabafcfcd65fc90ccaabe98cee9a
https://github.com/python/cpython/tree/00cd86be3c47dabafcfcd65fc90ccaabe98cee9a
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/18410/commits/e2df3e58aeb0f6a6fda4cc1b02f4d699fee3bb0f
aeroshttps://github.com/python/cpython/commits?author=aeros
e2df3e5https://github.com/python/cpython/pull/18410/commits/e2df3e58aeb0f6a6fda4cc1b02f4d699fee3bb0f
https://github.com/python/cpython/tree/e2df3e58aeb0f6a6fda4cc1b02f4d699fee3bb0f
Add test_run_exception()https://github.com/python/cpython/pull/18410/commits/70895b93e51f39c2986af0c1a9d681cc26ab3b2f
https://github.com/aeros
aeroshttps://github.com/python/cpython/commits?author=aeros
70895b9https://github.com/python/cpython/pull/18410/commits/70895b93e51f39c2986af0c1a9d681cc26ab3b2f
https://github.com/python/cpython/tree/70895b93e51f39c2986af0c1a9d681cc26ab3b2f
Use run_in_executor() for startup/shutdown instead of seperate threadhttps://github.com/python/cpython/pull/18410/commits/245d93ef8fce0bb92ef54824b0f4a20dcfdcd859
aeroshttps://github.com/python/cpython/commits?author=aeros
methanehttps://github.com/python/cpython/commits?author=methane
245d93ehttps://github.com/python/cpython/pull/18410/commits/245d93ef8fce0bb92ef54824b0f4a20dcfdcd859
https://github.com/python/cpython/tree/245d93ef8fce0bb92ef54824b0f4a20dcfdcd859
Add missing conversions from 'threadpool' to 'thread pool'https://github.com/python/cpython/pull/18410/commits/79c6b5b54ae3a4eec9fcd77147c729c22910dda5
https://github.com/aeros
aeroshttps://github.com/python/cpython/commits?author=aeros
79c6b5bhttps://github.com/python/cpython/pull/18410/commits/79c6b5b54ae3a4eec9fcd77147c729c22910dda5
https://github.com/python/cpython/tree/79c6b5b54ae3a4eec9fcd77147c729c22910dda5
Add shutdown_default_executor() to tearDown()https://github.com/python/cpython/pull/18410/commits/baec4280d935e1fb238e247523f69370ad34b114
https://github.com/aeros
aeroshttps://github.com/python/cpython/commits?author=aeros
baec428https://github.com/python/cpython/pull/18410/commits/baec4280d935e1fb238e247523f69370ad34b114
https://github.com/python/cpython/tree/baec4280d935e1fb238e247523f69370ad34b114
Fix ThreadPool.run() function signaturehttps://github.com/python/cpython/pull/18410/commits/25963afdadb118b0722b84df635899044b321222
aeroshttps://github.com/python/cpython/commits?author=aeros
25963afhttps://github.com/python/cpython/pull/18410/commits/25963afdadb118b0722b84df635899044b321222
https://github.com/python/cpython/tree/25963afdadb118b0722b84df635899044b321222
Add shutdown_default_executor to ThreadPoolTests.tearDown()https://github.com/python/cpython/pull/18410/commits/bd29b9427aab637fc167e735f127f74341f585d5
https://github.com/aeros
aeroshttps://github.com/python/cpython/commits?author=aeros
bd29b94https://github.com/python/cpython/pull/18410/commits/bd29b9427aab637fc167e735f127f74341f585d5
https://github.com/python/cpython/tree/bd29b9427aab637fc167e735f127f74341f585d5
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.