René's URL Explorer Experiment


Title: bpo-30064: Refactor sock_* asyncio API by asvetlov · Pull Request #10419 · python/cpython · GitHub

Open Graph Title: bpo-30064: Refactor sock_* asyncio API by asvetlov · Pull Request #10419 · python/cpython

X Title: bpo-30064: Refactor sock_* asyncio API by asvetlov · Pull Request #10419 · python/cpython

Description: Use add_done_callback() to unsubscribe reader/writer early on calcellation. https://bugs.python.org/issue30064

Open Graph Description: Use add_done_callback() to unsubscribe reader/writer early on calcellation. https://bugs.python.org/issue30064

X Description: Use add_done_callback() to unsubscribe reader/writer early on calcellation. https://bugs.python.org/issue30064

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

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:df857161-a598-81ea-d284-b7c067ba278e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCCFE:4CEB4:57B4A8:768E59:6969D4FA
html-safe-nonce66be3063905e940cb2f343a2ea8e8e0b9cad599e1f7ecdb01c3594fefbd02901
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0ZFOjRDRUI0OjU3QjRBODo3NjhFNTk6Njk2OUQ0RkEiLCJ2aXNpdG9yX2lkIjoiMjYyNjkyMTYzMjAyMTIwNjI2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac01eaf7ec9138e4d16f62bdfa8d5813b8e98eaaf2870beefb4e97f507e06c436a
hovercard-subject-tagpull_request:229532582
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/10419/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d12269402747a76ce311a9c2b2b873f4f5a6dddee52ccb82790c889e30ad3538/python/cpython/pull/10419
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d12269402747a76ce311a9c2b2b873f4f5a6dddee52ccb82790c889e30ad3538/python/cpython/pull/10419
og:image:altUse add_done_callback() to unsubscribe reader/writer early on calcellation. https://bugs.python.org/issue30064
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameasvetlov
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
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
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/10419#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F10419
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%2F10419
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/10419
Reloadhttps://github.com/python/cpython/pull/10419
Reloadhttps://github.com/python/cpython/pull/10419
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/10419
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/10419
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/10419#issue-comment-box
asvetlovhttps://github.com/asvetlov
python:masterhttps://github.com/python/cpython/tree/master
asvetlov:issue-30064https://github.com/asvetlov/cpython/tree/issue-30064
bpo-30064: Refactor sock_* asyncio API https://github.com/python/cpython/pull/10419#top
asvetlovhttps://github.com/asvetlov
python:masterhttps://github.com/python/cpython/tree/master
asvetlov:issue-30064https://github.com/asvetlov/cpython/tree/issue-30064
Conversation 4 https://github.com/python/cpython/pull/10419
Commits 11 https://github.com/python/cpython/pull/10419/commits
Checks 0 https://github.com/python/cpython/pull/10419/checks
Files changed https://github.com/python/cpython/pull/10419/files
Please reload this pagehttps://github.com/python/cpython/pull/10419
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
Nov 8, 2018https://github.com/python/cpython/pull/10419#issue-378947865
Please reload this pagehttps://github.com/python/cpython/pull/10419
https://bugs.python.org/issue30064https://bugs.python.org/issue30064
Please reload this pagehttps://github.com/python/cpython/pull/10419
asvetlovhttps://github.com/asvetlov
October 8, 2018 00:30https://github.com/python/cpython/pull/10419#commits-pushed-5eb2246
https://github.com/asvetlov
_sock_connect_done -> _sock_write_donehttps://github.com/python/cpython/pull/10419/commits/5eb2246f645a517420afffe4e0db097727b58a97
5eb2246https://github.com/python/cpython/pull/10419/commits/5eb2246f645a517420afffe4e0db097727b58a97
https://github.com/asvetlov
Test reorganizationhttps://github.com/python/cpython/pull/10419/commits/175c00d63518fa1555dff5aee349b32f3c576fb2
175c00dhttps://github.com/python/cpython/pull/10419/commits/175c00d63518fa1555dff5aee349b32f3c576fb2
https://github.com/asvetlov
Merge branch 'master' into issue-30064https://github.com/python/cpython/pull/10419/commits/984f7ef40e57b9e234158079f7ec29de62deb972
984f7efhttps://github.com/python/cpython/pull/10419/commits/984f7ef40e57b9e234158079f7ec29de62deb972
https://github.com/asvetlov
Prefer test_sock_lowlevel to test_sock_apihttps://github.com/python/cpython/pull/10419/commits/16fb70f7c455066b1ea2f4badf07e69ba9d2e9a2
16fb70fhttps://github.com/python/cpython/pull/10419/commits/16fb70f7c455066b1ea2f4badf07e69ba9d2e9a2
https://github.com/asvetlov
Merge branch 'master' into issue-30064https://github.com/python/cpython/pull/10419/commits/673fedb26d13cbd3ecdffffb27face1d34e7087a
673fedbhttps://github.com/python/cpython/pull/10419/commits/673fedb26d13cbd3ecdffffb27face1d34e7087a
https://github.com/asvetlov
Merge branch 'master' into issue-30064https://github.com/python/cpython/pull/10419/commits/9ed0bcc256ba455a6b41e09f4332b97e86533416
9ed0bcchttps://github.com/python/cpython/pull/10419/commits/9ed0bcc256ba455a6b41e09f4332b97e86533416
https://github.com/asvetlov
Work onhttps://github.com/python/cpython/pull/10419/commits/28a5be33a455cfafac7c84efaad531e933502b52
28a5be3https://github.com/python/cpython/pull/10419/commits/28a5be33a455cfafac7c84efaad531e933502b52
https://github.com/asvetlov
Add testhttps://github.com/python/cpython/pull/10419/commits/db0fec882224fc94616ab18ef7a96795f7e399a9
db0fec8https://github.com/python/cpython/pull/10419/commits/db0fec882224fc94616ab18ef7a96795f7e399a9
https://github.com/asvetlov
Drop mock testshttps://github.com/python/cpython/pull/10419/commits/ef26d480e88b81772f368d69975927c9889f7f65
ef26d48https://github.com/python/cpython/pull/10419/commits/ef26d480e88b81772f368d69975927c9889f7f65
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
1st1https://github.com/1st1
code ownerhttps://github.com/python/cpython/blob/fd512d76456b65c529a5bc58d8cfe73e4a10de7a/.github/CODEOWNERS#L8
November 8, 2018 22:41https://github.com/python/cpython/pull/10419#event-1955605181
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
Nov 8, 2018https://github.com/python/cpython/pull/10419#event-1955605223
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
Nov 8, 2018https://github.com/python/cpython/pull/10419#event-1955605240
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
Nov 8, 2018https://github.com/python/cpython/pull/10419#event-1955605982
asvetlovhttps://github.com/asvetlov
November 9, 2018 01:17https://github.com/python/cpython/pull/10419#commits-pushed-cd6d24e
https://github.com/asvetlov
Add tests for sock_recv_intohttps://github.com/python/cpython/pull/10419/commits/cd6d24e1ec4fd925b5f5f815381d9eb8ac379321
cd6d24ehttps://github.com/python/cpython/pull/10419/commits/cd6d24e1ec4fd925b5f5f815381d9eb8ac379321
https://github.com/asvetlov
Add changenotehttps://github.com/python/cpython/pull/10419/commits/3f0059f08df3448d0a1266bb07dce512c7bf39d9
3f0059fhttps://github.com/python/cpython/pull/10419/commits/3f0059f08df3448d0a1266bb07dce512c7bf39d9
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
Nov 8, 2018https://github.com/python/cpython/pull/10419#event-1955688226
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
Nov 8, 2018https://github.com/python/cpython/pull/10419#issuecomment-437195693
@1st1https://github.com/1st1
Please reload this pagehttps://github.com/python/cpython/pull/10419
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
Nov 9, 2018https://github.com/python/cpython/pull/10419#event-1956708981
https://github.com/1st1
1st1https://github.com/1st1
Nov 12, 2018 https://github.com/python/cpython/pull/10419#pullrequestreview-173996259
View reviewed changes https://github.com/python/cpython/pull/10419/files/3f0059f08df3448d0a1266bb07dce512c7bf39d9
1st1https://github.com/1st1
https://github.com/python/cpython/pull/10419#pullrequestreview-173996259
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/10419
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
Nov 12, 2018https://github.com/python/cpython/pull/10419#issuecomment-437955238
Please reload this pagehttps://github.com/python/cpython/pull/10419
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
7438792https://github.com/python/cpython/commit/74387926072abf338a4c1cec1bf0501fc65bbee5
Nov 12, 2018https://github.com/python/cpython/pull/10419#event-1960858141
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 12, 2018https://github.com/python/cpython/pull/10419#issuecomment-437955371
@asvetlovhttps://github.com/asvetlov
Please reload this pagehttps://github.com/python/cpython/pull/10419
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
Nov 12, 2018https://github.com/python/cpython/pull/10419#event-1960858268
https://github.com/asvetlov
asvetlovhttps://github.com/asvetlov
November 12, 2018 17:00https://github.com/python/cpython/pull/10419#event-1960858439
fantixhttps://github.com/fantix
Feb 8, 2021 https://github.com/python/cpython/pull/10419#ref-commit-1f8fdba
https://github.com/fantix
Fix future issue in sock_connect()https://github.com/fantix/uvloop/commit/1f8fdba20b0d30679ad5fb51fa4e8f64eb2a1ccb
1f8fdbahttps://github.com/fantix/uvloop/commit/1f8fdba20b0d30679ad5fb51fa4e8f64eb2a1ccb
python/cpython#10419https://github.com/python/cpython/pull/10419
MagicStack#378https://github.com/MagicStack/uvloop/issues/378
https://github.com/fantix
fantixhttps://github.com/fantix
Feb 8, 2021 https://github.com/python/cpython/pull/10419#ref-pullrequest-803999454
Fix future issue in sock_connect() MagicStack/uvloop#389 https://github.com/MagicStack/uvloop/pull/389
fantixhttps://github.com/fantix
Feb 9, 2021 https://github.com/python/cpython/pull/10419#ref-commit-0360dab
https://github.com/fantix
Fix future issue in sock_connect()https://github.com/fantix/uvloop/commit/0360dab08c169af507680a510d65537019045a05
0360dabhttps://github.com/fantix/uvloop/commit/0360dab08c169af507680a510d65537019045a05
python/cpython#10419https://github.com/python/cpython/pull/10419
MagicStack#378https://github.com/MagicStack/uvloop/issues/378
https://github.com/python/cpython/pull/10419
abacabadabacabahttps://github.com/python/cpython/pull/10419
Apr 10, 2022 https://github.com/python/cpython/pull/10419#ref-issue-1198971589
BaseSelectorEventLoop.sock_{recv,sendall}() don't remove their callbacks when canceled #74250 https://github.com/python/cpython/issues/74250
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%2F10419
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/python/cpython/pull/10419/files/3f0059f08df3448d0a1266bb07dce512c7bf39d9
Please reload this pagehttps://github.com/python/cpython/pull/10419
https://github.com/asvetlov
https://github.com/bedevere-bot
https://github.com/1st1
https://github.com/the-knights-who-say-ni
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.