René's URL Explorer Experiment


Title: Check to see if SO_REUSEPORT is usable and not just defined. by sethmlarson · Pull Request #418 · python/asyncio · GitHub

Open Graph Title: Check to see if SO_REUSEPORT is usable and not just defined. by sethmlarson · Pull Request #418 · python/asyncio

X Title: Check to see if SO_REUSEPORT is usable and not just defined. by sethmlarson · Pull Request #418 · python/asyncio

Description: asyncio historical repository. Contribute to python/asyncio development by creating an account on GitHub.

Open Graph Description: Some platforms define SO_REUSEPORT but do not implement it, resulting in cryptic OSErrors when trying to use socket.SO_REUSEPORT. This PR would solve that issue for all platforms that implement but...

X Description: Some platforms define SO_REUSEPORT but do not implement it, resulting in cryptic OSErrors when trying to use socket.SO_REUSEPORT. This PR would solve that issue for all platforms that implement but...

Opengraph URL: https://github.com/python/asyncio/pull/418

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:d91c28c2-6235-4d91-4b76-4956ec9f7a51
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9248:637F2:99306:D1D86:6A4D195C
html-safe-nonce49b012ace0cf6b1e4ff95bfd74d27ba5338ba30b9439b8fa35b39b15663f76b7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjQ4OjYzN0YyOjk5MzA2OkQxRDg2OjZBNEQxOTVDIiwidmlzaXRvcl9pZCI6Ijg5ODYyODUyNTY4NzM5NDEzNDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac59bd53dd3b9c82bd239059b21bd96c85fd206d761a8618c4f5c628c7239f457d
hovercard-subject-tagpull_request:84889381
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/asyncio/418/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/14ac9ff80fda48923776eea2e6035416237bb9b44725b21567ae25b5f3ebf719/python/asyncio/pull/418
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/14ac9ff80fda48923776eea2e6035416237bb9b44725b21567ae25b5f3ebf719/python/asyncio/pull/418
og:image:altSome platforms define SO_REUSEPORT but do not implement it, resulting in cryptic OSErrors when trying to use socket.SO_REUSEPORT. This PR would solve that issue for all platforms that implement but...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesethmlarson
hostnamegithub.com
expected-hostnamegithub.com
Nonebcb4661e6fb4fe8b394c51ea02ccdb2236d40dc59afc75a3bbba50bf6517134c
turbo-cache-controlno-cache
go-importgithub.com/python/asyncio git https://github.com/python/asyncio.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id33739295
octolytics-dimension-repository_nwopython/asyncio
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id33739295
octolytics-dimension-repository_network_root_nwopython/asyncio
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
releasefb70bd3c4b2bec429781b65419e912c66e2d5581
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/asyncio/pull/418#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fasyncio%2Fpull%2F418
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%2Fasyncio%2Fpull%2F418
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%2Fasyncio
Reloadhttps://github.com/python/asyncio/pull/418
Reloadhttps://github.com/python/asyncio/pull/418
Reloadhttps://github.com/python/asyncio/pull/418
Please reload this pagehttps://github.com/python/asyncio/pull/418
python https://github.com/python
asynciohttps://github.com/python/asyncio
Please reload this pagehttps://github.com/python/asyncio/pull/418
Notifications https://github.com/login?return_to=%2Fpython%2Fasyncio
Fork 182 https://github.com/login?return_to=%2Fpython%2Fasyncio
Star 1.1k https://github.com/login?return_to=%2Fpython%2Fasyncio
Code https://github.com/python/asyncio
Issues 76 https://github.com/python/asyncio/issues
Pull requests 10 https://github.com/python/asyncio/pulls
Actions https://github.com/python/asyncio/actions
Projects https://github.com/python/asyncio/projects
Wiki https://github.com/python/asyncio/wiki
Security and quality 0 https://github.com/python/asyncio/security
Insights https://github.com/python/asyncio/pulse
Code https://github.com/python/asyncio
Issues https://github.com/python/asyncio/issues
Pull requests https://github.com/python/asyncio/pulls
Actions https://github.com/python/asyncio/actions
Projects https://github.com/python/asyncio/projects
Wiki https://github.com/python/asyncio/wiki
Security and quality https://github.com/python/asyncio/security
Insights https://github.com/python/asyncio/pulse
sethmlarsonhttps://github.com/sethmlarson
python:masterhttps://github.com/python/asyncio/tree/master
Conversationhttps://github.com/python/asyncio/pull/418
Commits13 (13)https://github.com/python/asyncio/pull/418/commits
Checkshttps://github.com/python/asyncio/pull/418/checks
Files changedhttps://github.com/python/asyncio/pull/418/files
Check to see if SO_REUSEPORT is usable and not just defined.https://github.com/python/asyncio/pull/418#top
sethmlarsonhttps://github.com/sethmlarson
python:masterhttps://github.com/python/asyncio/tree/master
https://github.com/sethmlarson
sethmlarsonhttps://github.com/sethmlarson
Sep 12, 2016https://github.com/python/asyncio/pull/418#issue-176402053
Please reload this pagehttps://github.com/python/asyncio/pull/418
Python issue 26858http://bugs.python.org/issue26858
#352https://github.com/python/asyncio/issues/352
Please reload this pagehttps://github.com/python/asyncio/pull/418
SethMichaelLarsonhttps://github.com/SethMichaelLarson
September 12, 2016 09:20https://github.com/python/asyncio/pull/418#commits-pushed-c90305a
https://github.com/SethMichaelLarson
Add usable-test for SO_REUSEPORThttps://github.com/python/asyncio/pull/418/commits/c90305a1050d0063ab41ddb1bf093370c1eeafcb
c90305ahttps://github.com/python/asyncio/pull/418/commits/c90305a1050d0063ab41ddb1bf093370c1eeafcb
https://github.com/SethMichaelLarson
Delete temporary socket after usehttps://github.com/python/asyncio/pull/418/commits/142bfbc2fd5a21d3b43767a28f8e44da8e33b09b
142bfbchttps://github.com/python/asyncio/pull/418/commits/142bfbc2fd5a21d3b43767a28f8e44da8e33b09b
https://github.com/SethMichaelLarson
Add _HAS_SO_REUSEPORT check to Datagramhttps://github.com/python/asyncio/pull/418/commits/12d25651f2100342a272aa8a992baf23aebf9d56
12d2565https://github.com/python/asyncio/pull/418/commits/12d25651f2100342a272aa8a992baf23aebf9d56
https://github.com/SethMichaelLarson
Add SO_REUSEPORT to socket mock.https://github.com/python/asyncio/pull/418/commits/147eee887f4d91dfe55adeaf733886db65c5be87
147eee8https://github.com/python/asyncio/pull/418/commits/147eee887f4d91dfe55adeaf733886db65c5be87
https://github.com/SethMichaelLarson
Update with additional check for Testshttps://github.com/python/asyncio/pull/418/commits/8faa5f49fdb8aa0adf6b4e9379f6dd8a43f49e65
8faa5f4https://github.com/python/asyncio/pull/418/commits/8faa5f49fdb8aa0adf6b4e9379f6dd8a43f49e65
https://github.com/SethMichaelLarson
Fix grammar and structurehttps://github.com/python/asyncio/pull/418/commits/708e6d3fbb8b40b3a03e43c5e279e037987569ca
708e6d3https://github.com/python/asyncio/pull/418/commits/708e6d3fbb8b40b3a03e43c5e279e037987569ca
https://github.com/SethMichaelLarson
Crop lines to 80 characters.https://github.com/python/asyncio/pull/418/commits/d884e0c368ee0f69a18dd4191b940faea62fcf6f
d884e0chttps://github.com/python/asyncio/pull/418/commits/d884e0c368ee0f69a18dd4191b940faea62fcf6f
https://github.com/SethMichaelLarson
Add check for SO_REUSEPORT in testshttps://github.com/python/asyncio/pull/418/commits/d9cb721e29f0e241fe9a1f15e2efebca04af714c
d9cb721https://github.com/python/asyncio/pull/418/commits/d9cb721e29f0e241fe9a1f15e2efebca04af714c
gvanrossumhttps://github.com/gvanrossum
Sep 12, 2016 https://github.com/python/asyncio/pull/418#discussion-diff-78395860
View reviewed changes https://github.com/python/asyncio/pull/418/files/d9cb721e29f0e241fe9a1f15e2efebca04af714c#diff-f57505d1f4330e1cb061ee8e5beb4ea518c7f27a9cc6a2ebfea1e28543e2dd46
asyncio/base_events.pyhttps://github.com/python/asyncio/pull/418/files#diff-f57505d1f4330e1cb061ee8e5beb4ea518c7f27a9cc6a2ebfea1e28543e2dd46
gvanrossumhttps://github.com/gvanrossum
Sep 12, 2016https://github.com/python/asyncio/pull/418#discussion_r78395860
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/asyncio/pull/418
sethmlarsonhttps://github.com/sethmlarson
Sep 12, 2016https://github.com/python/asyncio/pull/418#discussion_r78400793
Please reload this pagehttps://github.com/python/asyncio/pull/418
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/asyncio/pull/418
sethmlarsonhttps://github.com/sethmlarson
Sep 12, 2016https://github.com/python/asyncio/pull/418#discussion_r78401275
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/asyncio/pull/418
https://github.com/SethMichaelLarson
Switch order of check, conform to PEP8https://github.com/python/asyncio/pull/418/commits/783ec36e1189a79b31637b9cc1aadd4e88f3f9c2
783ec36https://github.com/python/asyncio/pull/418/commits/783ec36e1189a79b31637b9cc1aadd4e88f3f9c2
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Sep 12, 2016https://github.com/python/asyncio/pull/418#issuecomment-246402252
Please reload this pagehttps://github.com/python/asyncio/pull/418
https://github.com/sethmlarson
sethmlarsonhttps://github.com/sethmlarson
Sep 12, 2016https://github.com/python/asyncio/pull/418#issuecomment-246403267
@gvanrossumhttps://github.com/gvanrossum
Please reload this pagehttps://github.com/python/asyncio/pull/418
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Sep 12, 2016https://github.com/python/asyncio/pull/418#issuecomment-246404844
Please reload this pagehttps://github.com/python/asyncio/pull/418
sethmlarsonhttps://github.com/sethmlarson
September 12, 2016 11:32https://github.com/python/asyncio/pull/418#commits-pushed-c11b017
https://github.com/sethmlarson
Move check to inlinehttps://github.com/python/asyncio/pull/418/commits/c11b0172cdb748f0833e83740e4462cae6747861
c11b017https://github.com/python/asyncio/pull/418/commits/c11b0172cdb748f0833e83740e4462cae6747861
https://github.com/sethmlarson
Add test for this specific casehttps://github.com/python/asyncio/pull/418/commits/0d0252600ab8c607d9ad7d1bc184ed351d7cd70b
0d02526https://github.com/python/asyncio/pull/418/commits/0d0252600ab8c607d9ad7d1bc184ed351d7cd70b
https://github.com/sethmlarson
Remove SO_REUSEPORT from patchinghttps://github.com/python/asyncio/pull/418/commits/e45e6eaec99c8d9acc2538be1af44ac68338467c
e45e6eahttps://github.com/python/asyncio/pull/418/commits/e45e6eaec99c8d9acc2538be1af44ac68338467c
https://github.com/sethmlarson
sethmlarsonhttps://github.com/sethmlarson
Sep 12, 2016https://github.com/python/asyncio/pull/418#issuecomment-246409150
@gvanrossumhttps://github.com/gvanrossum
Please reload this pagehttps://github.com/python/asyncio/pull/418
https://github.com/gvanrossum
Clean up nits.https://github.com/python/asyncio/pull/418/commits/1f401279a6431beb08d81ee23e6bfc340c3d57f2
1f40127https://github.com/python/asyncio/pull/418/commits/1f401279a6431beb08d81ee23e6bfc340c3d57f2
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Sep 12, 2016https://github.com/python/asyncio/pull/418#issuecomment-246411328
@1st1https://github.com/1st1
Please reload this pagehttps://github.com/python/asyncio/pull/418
https://github.com/1st1
1st1https://github.com/1st1
Sep 12, 2016https://github.com/python/asyncio/pull/418#issuecomment-246413028
Please reload this pagehttps://github.com/python/asyncio/pull/418
https://github.com/sethmlarson
sethmlarsonhttps://github.com/sethmlarson
Sep 12, 2016https://github.com/python/asyncio/pull/418#issuecomment-246413894
#352https://github.com/python/asyncio/issues/352
Please reload this pagehttps://github.com/python/asyncio/pull/418
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Sep 12, 2016https://github.com/python/asyncio/pull/418#issuecomment-246414971
Please reload this pagehttps://github.com/python/asyncio/pull/418
https://github.com/1st1
1st1https://github.com/1st1
Sep 15, 2016https://github.com/python/asyncio/pull/418#issuecomment-247430192
610c03fhttps://github.com/python/asyncio/commit/610c03fb9bb238a2c1df2e6f3974bb374be3e499
Please reload this pagehttps://github.com/python/asyncio/pull/418
https://github.com/1st1
1st1https://github.com/1st1
Sep 15, 2016https://github.com/python/asyncio/pull/418#event-791228939
https://github.com/1st1
1st1https://github.com/1st1
Sep 15, 2016https://github.com/python/asyncio/pull/418#issuecomment-247432746
https://hg.python.org/cpython/rev/c1c247cf3488/https://hg.python.org/cpython/rev/c1c247cf3488/
Please reload this pagehttps://github.com/python/asyncio/pull/418
https://github.com/sethmlarson
sethmlarsonhttps://github.com/sethmlarson
Sep 15, 2016https://github.com/python/asyncio/pull/418#issuecomment-247433202
Please reload this pagehttps://github.com/python/asyncio/pull/418
@1st1https://github.com/1st1
Please reload this pagehttps://github.com/python/asyncio/pull/418
https://github.com/Dakkaron
Dakkaronhttps://github.com/Dakkaron
May 31, 2017 https://github.com/python/asyncio/pull/418#ref-issue-202570165
SO_REUSEPORT crashes with Invalid argument. eventlet/eventlet#380 https://github.com/eventlet/eventlet/issues/380
https://github.com/Dakkaron
Dakkaronhttps://github.com/Dakkaron
May 31, 2017https://github.com/python/asyncio/pull/418#issuecomment-305203737
Please reload this pagehttps://github.com/python/asyncio/pull/418
https://github.com/sethmlarson
sethmlarsonhttps://github.com/sethmlarson
May 31, 2017https://github.com/python/asyncio/pull/418#issuecomment-305210149
@Dakkaronhttps://github.com/Dakkaron
Please reload this pagehttps://github.com/python/asyncio/pull/418
https://github.com/Dakkaron
Dakkaronhttps://github.com/Dakkaron
May 31, 2017https://github.com/python/asyncio/pull/418#issuecomment-305229847
Please reload this pagehttps://github.com/python/asyncio/pull/418
https://github.co/hiddenchars
https://github.com/python/asyncio/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fasyncio%2Fpull%2F418
Please reload this pagehttps://github.com/python/asyncio/pull/418
https://github.com/sethmlarson
https://github.com/gvanrossum
https://github.com/1st1
https://github.com/Dakkaron
https://github.com/SethMichaelLarson
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.