René's URL Explorer Experiment


Title: bpo-32331: Fix socket.type on Linux; expose SOCK_TYPE_MASK. by 1st1 · Pull Request #4877 · python/cpython · GitHub

Open Graph Title: bpo-32331: Fix socket.type on Linux; expose SOCK_TYPE_MASK. by 1st1 · Pull Request #4877 · python/cpython

X Title: bpo-32331: Fix socket.type on Linux; expose SOCK_TYPE_MASK. by 1st1 · Pull Request #4877 · python/cpython

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

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

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

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4a6a71eb-127b-3d09-1faf-0d25a3166d14
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDCEC:3258B1:37DDF1:4B67B5:6A528F2F
html-safe-nonced7ca9e4eac5003cf17fe2173ad809f6d64eaa3f45f0608d4e3b9ee394ae233e2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0VDOjMyNThCMTozN0RERjE6NEI2N0I1OjZBNTI4RjJGIiwidmlzaXRvcl9pZCI6IjMyMDY5NjgxOTI0MDU3NzAwMzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac07fb49eb22a60a0ce06b37a749a5de962353a3f75ab514b6e104c6ddad2e060e
hovercard-subject-tagpull_request:158517642
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/4877/files
twitter:imagehttps://avatars.githubusercontent.com/u/239003?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/239003?s=400&v=4
og:image:althttps://bugs.python.org/issue32331
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/4877/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4877%2Ffiles
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%2F4877%2Ffiles
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%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/4877/files
Reloadhttps://github.com/python/cpython/pull/4877/files
Reloadhttps://github.com/python/cpython/pull/4877/files
Please reload this pagehttps://github.com/python/cpython/pull/4877/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/4877/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k 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
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
1st1https://github.com/1st1
python:masterhttps://github.com/python/cpython/tree/master
1st1:fix_sock_typehttps://github.com/1st1/cpython/tree/fix_sock_type
Conversation 45 https://github.com/python/cpython/pull/4877
Commits 8 https://github.com/python/cpython/pull/4877/commits
Checks 0 https://github.com/python/cpython/pull/4877/checks
Files changed https://github.com/python/cpython/pull/4877/files
Please reload this pagehttps://github.com/python/cpython/pull/4877/files
bpo-32331: Fix socket.type on Linux; expose SOCK_TYPE_MASK. https://github.com/python/cpython/pull/4877/files#top
Show all changes 8 commits https://github.com/python/cpython/pull/4877/files
3d9ca1f bpo-32331: Don't obstruct socket.type with SOCK_NONBLOCK and SOCK_CLO… Dec 16, 2017 https://github.com/python/cpython/pull/4877/commits/3d9ca1f73c03d09bd293d5dfe8a5c960c44e8967
dae4784 Add a comment; fix docs Dec 18, 2017 https://github.com/python/cpython/pull/4877/commits/dae478425fde4977bab1258629d86424ac9f261a
ed40d77 Address Victor's feedback Dec 18, 2017 https://github.com/python/cpython/pull/4877/commits/ed40d775436b276c67ac4b1c82ae2859f329def1
ee6a024 Another small update of what's new Dec 18, 2017 https://github.com/python/cpython/pull/4877/commits/ee6a0240d27cb129563e7e5a419803d83727937a
8e5bd2b Don't use ifdef __linux__; reset SOCK_* flags explicitly Dec 18, 2017 https://github.com/python/cpython/pull/4877/commits/8e5bd2b16519c9e1b3db35b31be5c6e3fa030946
7e9eb53 More fixes per Victor's review. Dec 19, 2017 https://github.com/python/cpython/pull/4877/commits/7e9eb5339be196366ffe45f6ec1d8ea4239dfc6e
7b62803 Don't cleanup SocketKind; we'll do it in a separate PR Dec 19, 2017 https://github.com/python/cpython/pull/4877/commits/7b628035b8778b3f5e8edbdd7fac4d719b24396e
ad998e4 Fix test_uknown_socket_family_repr test Dec 19, 2017 https://github.com/python/cpython/pull/4877/commits/ad998e428d5ee1cca94b95fe447d5456a30ed1d0
Clear filters https://github.com/python/cpython/pull/4877/files
Please reload this pagehttps://github.com/python/cpython/pull/4877/files
Please reload this pagehttps://github.com/python/cpython/pull/4877/files
socket.rst https://github.com/python/cpython/pull/4877/files#diff-e9e93d6b76a8a1cf0825d557b12e7ce3e67081cad650063eee520b81fd651943
3.7.rst https://github.com/python/cpython/pull/4877/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52
socket.py https://github.com/python/cpython/pull/4877/files#diff-081d33d48e9390350bb1ef860c52de799d1647b58e33b07173ae2549532cbfbe
test_asyncore.py https://github.com/python/cpython/pull/4877/files#diff-38a2b699c8f2aaf47fcf1d46bb572a0ff3c2ebb1edc4018026888c1cac59e21b
test_socket.py https://github.com/python/cpython/pull/4877/files#diff-ce79808e12f7a252c1747c23ba11810d4dc22ce0af4b9419bac647ad3a2a8389
2017-12-15-23-48-43.bpo-32331.fIg1Uc.rst https://github.com/python/cpython/pull/4877/files#diff-ca3d6fea49df819b906961dfb67b857e87694ca75d8e97e0799a1b5c483de2c0
socketmodule.c https://github.com/python/cpython/pull/4877/files#diff-412f0023cab7bc5669c6c1e710a6f37e7c3c387d299794b5fe82268a10223b29
Doc/library/socket.rsthttps://github.com/python/cpython/pull/4877/files#diff-e9e93d6b76a8a1cf0825d557b12e7ce3e67081cad650063eee520b81fd651943
View file https://github.com/1st1/cpython/blob/ad998e428d5ee1cca94b95fe447d5456a30ed1d0/Doc/library/socket.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/4877/{{ revealButtonHref }}
https://github.com/python/cpython/pull/4877/files#diff-e9e93d6b76a8a1cf0825d557b12e7ce3e67081cad650063eee520b81fd651943
https://github.com/python/cpython/pull/4877/files#diff-e9e93d6b76a8a1cf0825d557b12e7ce3e67081cad650063eee520b81fd651943
https://github.com/python/cpython/pull/4877/files#diff-e9e93d6b76a8a1cf0825d557b12e7ce3e67081cad650063eee520b81fd651943
https://github.com/python/cpython/pull/4877/files#diff-e9e93d6b76a8a1cf0825d557b12e7ce3e67081cad650063eee520b81fd651943
https://github.com/python/cpython/pull/4877/files#diff-e9e93d6b76a8a1cf0825d557b12e7ce3e67081cad650063eee520b81fd651943
Doc/whatsnew/3.7.rsthttps://github.com/python/cpython/pull/4877/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52
View file https://github.com/1st1/cpython/blob/ad998e428d5ee1cca94b95fe447d5456a30ed1d0/Doc/whatsnew/3.7.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/4877/{{ revealButtonHref }}
https://github.com/python/cpython/pull/4877/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52
https://github.com/python/cpython/pull/4877/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52
Lib/socket.pyhttps://github.com/python/cpython/pull/4877/files#diff-081d33d48e9390350bb1ef860c52de799d1647b58e33b07173ae2549532cbfbe
View file https://github.com/1st1/cpython/blob/ad998e428d5ee1cca94b95fe447d5456a30ed1d0/Lib/socket.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/4877/{{ revealButtonHref }}
https://github.com/python/cpython/pull/4877/files#diff-081d33d48e9390350bb1ef860c52de799d1647b58e33b07173ae2549532cbfbe
https://github.com/python/cpython/pull/4877/files#diff-081d33d48e9390350bb1ef860c52de799d1647b58e33b07173ae2549532cbfbe
Lib/test/test_asyncore.pyhttps://github.com/python/cpython/pull/4877/files#diff-38a2b699c8f2aaf47fcf1d46bb572a0ff3c2ebb1edc4018026888c1cac59e21b
View file https://github.com/1st1/cpython/blob/ad998e428d5ee1cca94b95fe447d5456a30ed1d0/Lib/test/test_asyncore.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/4877/{{ revealButtonHref }}
https://github.com/python/cpython/pull/4877/files#diff-38a2b699c8f2aaf47fcf1d46bb572a0ff3c2ebb1edc4018026888c1cac59e21b
https://github.com/python/cpython/pull/4877/files#diff-38a2b699c8f2aaf47fcf1d46bb572a0ff3c2ebb1edc4018026888c1cac59e21b
Lib/test/test_socket.pyhttps://github.com/python/cpython/pull/4877/files#diff-ce79808e12f7a252c1747c23ba11810d4dc22ce0af4b9419bac647ad3a2a8389
View file https://github.com/1st1/cpython/blob/ad998e428d5ee1cca94b95fe447d5456a30ed1d0/Lib/test/test_socket.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/4877/{{ revealButtonHref }}
https://github.com/python/cpython/pull/4877/files#diff-ce79808e12f7a252c1747c23ba11810d4dc22ce0af4b9419bac647ad3a2a8389
https://github.com/python/cpython/pull/4877/files#diff-ce79808e12f7a252c1747c23ba11810d4dc22ce0af4b9419bac647ad3a2a8389
https://github.com/python/cpython/pull/4877/files#diff-ce79808e12f7a252c1747c23ba11810d4dc22ce0af4b9419bac647ad3a2a8389
https://github.com/python/cpython/pull/4877/files#diff-ce79808e12f7a252c1747c23ba11810d4dc22ce0af4b9419bac647ad3a2a8389
https://github.com/python/cpython/pull/4877/files#diff-ce79808e12f7a252c1747c23ba11810d4dc22ce0af4b9419bac647ad3a2a8389
https://github.com/python/cpython/pull/4877/files#diff-ce79808e12f7a252c1747c23ba11810d4dc22ce0af4b9419bac647ad3a2a8389
https://github.com/python/cpython/pull/4877/files#diff-ce79808e12f7a252c1747c23ba11810d4dc22ce0af4b9419bac647ad3a2a8389
Misc/NEWS.d/next/Library/2017-12-15-23-48-43.bpo-32331.fIg1Uc.rsthttps://github.com/python/cpython/pull/4877/files#diff-ca3d6fea49df819b906961dfb67b857e87694ca75d8e97e0799a1b5c483de2c0
View file https://github.com/1st1/cpython/blob/ad998e428d5ee1cca94b95fe447d5456a30ed1d0/Misc/NEWS.d/next/Library/2017-12-15-23-48-43.bpo-32331.fIg1Uc.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/4877/{{ revealButtonHref }}
Modules/socketmodule.chttps://github.com/python/cpython/pull/4877/files#diff-412f0023cab7bc5669c6c1e710a6f37e7c3c387d299794b5fe82268a10223b29
View file https://github.com/1st1/cpython/blob/ad998e428d5ee1cca94b95fe447d5456a30ed1d0/Modules/socketmodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/4877/{{ revealButtonHref }}
https://github.com/python/cpython/pull/4877/files#diff-412f0023cab7bc5669c6c1e710a6f37e7c3c387d299794b5fe82268a10223b29
https://github.com/python/cpython/pull/4877/files#diff-412f0023cab7bc5669c6c1e710a6f37e7c3c387d299794b5fe82268a10223b29
https://github.com/python/cpython/pull/4877/files#diff-412f0023cab7bc5669c6c1e710a6f37e7c3c387d299794b5fe82268a10223b29
https://github.com/python/cpython/pull/4877/files#diff-412f0023cab7bc5669c6c1e710a6f37e7c3c387d299794b5fe82268a10223b29
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.