René's URL Explorer Experiment


Title: gh-103092: Isolate socket by erlend-aasland · Pull Request #103094 · python/cpython · GitHub

Open Graph Title: gh-103092: Isolate socket by erlend-aasland · Pull Request #103094 · python/cpython

X Title: gh-103092: Isolate socket by erlend-aasland · Pull Request #103094 · python/cpython

Description: Issue: gh-103092

Open Graph Description: Issue: gh-103092

X Description: Issue: gh-103092

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f6bb7943-3edf-7bee-dad1-a4c55516fcec
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB488:1025CE:850763:B21E37:6969BC5A
html-safe-nonce0a72b602654673d2a07d11d76be8ea9f0d1a040cf05662e3883c843d65990ac9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDg4OjEwMjVDRTo4NTA3NjM6QjIxRTM3OjY5NjlCQzVBIiwidmlzaXRvcl9pZCI6IjI3OTg5MDE3ODQ5NjY0MjEzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace450d7dbc02622a3e808378c387033407203423bd2d33f4e269b715749eff6cb
hovercard-subject-tagpull_request:1293641767
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/103094/files
twitter:imagehttps://avatars.githubusercontent.com/u/13780613?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/13780613?s=400&v=4
og:image:altIssue: gh-103092
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
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
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/103094/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103094%2Ffiles
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%2F103094%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/103094/files
Reloadhttps://github.com/python/cpython/pull/103094/files
Reloadhttps://github.com/python/cpython/pull/103094/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/103094/files
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/103094/files
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
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
erlend-aasland:isolate-sockethttps://github.com/erlend-aasland/cpython/tree/isolate-socket
Conversation 10 https://github.com/python/cpython/pull/103094
Commits 24 https://github.com/python/cpython/pull/103094/commits
Checks 0 https://github.com/python/cpython/pull/103094/checks
Files changed https://github.com/python/cpython/pull/103094/files
Please reload this pagehttps://github.com/python/cpython/pull/103094/files
gh-103092: Isolate socket https://github.com/python/cpython/pull/103094/files#top
Show all changes 24 commits https://github.com/python/cpython/pull/103094/files
4a7c6d9 Establish global state erlend-aasland Mar 11, 2023 https://github.com/python/cpython/pull/103094/commits/4a7c6d9f58421473d6f5d03fe331ba0c70a8824b
220a0aa Add sock_type to state erlend-aasland Mar 12, 2023 https://github.com/python/cpython/pull/103094/commits/220a0aa56928e8b68d29d75f56fdbd97d5c9e868
94ca00c Add exceptions to state erlend-aasland Mar 12, 2023 https://github.com/python/cpython/pull/103094/commits/94ca00c5eec32d0ac08ffc94a6ec6e0f83bc8472
fc9cdce Add accept4_works to state erlend-aasland Mar 12, 2023 https://github.com/python/cpython/pull/103094/commits/fc9cdcef4fc4545f33d39d1d080f8d6b156d29b1
29b4d1c Add sock_cloexec_works to state erlend-aasland Mar 12, 2023 https://github.com/python/cpython/pull/103094/commits/29b4d1c20a50a79c6680cd6e01a6fcf55580aaa6
93a2b62 Add defaulttimeout to state erlend-aasland Mar 12, 2023 https://github.com/python/cpython/pull/103094/commits/93a2b621b80d22d027b2eb490ead6fdbf477910e
4164f96 Refactor: replace state query with param in set_herror() erlend-aasland Mar 12, 2023 https://github.com/python/cpython/pull/103094/commits/4164f96eb1ed0819a7081d42700d8e069599cf82
dc740d1 Refactor: replace state query with param in set_gaierror() erlend-aasland Mar 12, 2023 https://github.com/python/cpython/pull/103094/commits/dc740d1454b7ad358b75f16300b8e148bcfb3a75
abf00c3 Refactor: replace state query with param in new_sockobject() erlend-aasland Mar 12, 2023 https://github.com/python/cpython/pull/103094/commits/abf00c3a7004a8efc51477e2f1dde98608c0c385
9c1c9c6 Refactor: replace state query with param in init_sockobject() erlend-aasland Mar 12, 2023 https://github.com/python/cpython/pull/103094/commits/9c1c9c63543b740bbb8dea6c61882530de2c8265
82c00c4 Refactor: replace state query with param in gethost_common() erlend-aasland Mar 12, 2023 https://github.com/python/cpython/pull/103094/commits/82c00c4e3e4cdf6f035ca72b2b61c4ab6e41e3b7
72e69e3 Refactor: replace state query with param in sock_get_api() erlend-aasland Mar 12, 2023 https://github.com/python/cpython/pull/103094/commits/72e69e35ee0a8e31d15b20f8148fb6a8d8241b0b
274c412 Refactor: replace state query with param in setipaddr() erlend-aasland Mar 12, 2023 https://github.com/python/cpython/pull/103094/commits/274c412a9f6905b4da0a2f8108d6dffa8120f582
d839af0 Add state pointer to PySocketSockObject erlend-aasland Mar 12, 2023 https://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad
13d14da Use sock pointer from sock type context where applicable erlend-aasland Mar 12, 2023 https://github.com/python/cpython/pull/103094/commits/13d14daddddff1d1ceeeb7081088735de841c8af
b4edf64 Multi-phase init erlend-aasland Mar 12, 2023 https://github.com/python/cpython/pull/103094/commits/b4edf64aaf1e1236ad35e5b44bc6ad14c296eb9c
c51a696 Remove unneeded forward decl erlend-aasland Mar 30, 2023 https://github.com/python/cpython/pull/103094/commits/c51a696ecab64d9df5ba114dc9fdd5ed464d0326
d8e448f Add test erlend-aasland Mar 30, 2023 https://github.com/python/cpython/pull/103094/commits/d8e448f4c2ba063a8a30575e8f5a11f2e6a7df57
4332571 fixup dealloc erlend-aasland Mar 30, 2023 https://github.com/python/cpython/pull/103094/commits/4332571daf7b041ae074f939d811d2864faa95da
6a00c54 Add NEWS erlend-aasland Apr 3, 2023 https://github.com/python/cpython/pull/103094/commits/6a00c54a11467c9e2cb456ee04abe0c57e58123e
e5027c2 Style: remove unneeded parens erlend-aasland Apr 4, 2023 https://github.com/python/cpython/pull/103094/commits/e5027c21dac2dda7cc2895b8ea84b551d3312dae
98d1566 Pull in main erlend-aasland Apr 4, 2023 https://github.com/python/cpython/pull/103094/commits/98d1566576f7902b46bc40e90f3faefd21a6a4a8
e5827e7 Sync with main erlend-aasland Apr 8, 2023 https://github.com/python/cpython/pull/103094/commits/e5827e77cab5da4831f5143d1ef491f0896177c1
2019a93 Simplify ADD_EXC macro further erlend-aasland Apr 8, 2023 https://github.com/python/cpython/pull/103094/commits/2019a93bd3c0b225cd5ba08d0b3b85d90010209d
Clear filters https://github.com/python/cpython/pull/103094/files
Please reload this pagehttps://github.com/python/cpython/pull/103094/files
Please reload this pagehttps://github.com/python/cpython/pull/103094/files
test_socket.py https://github.com/python/cpython/pull/103094/files#diff-ce79808e12f7a252c1747c23ba11810d4dc22ce0af4b9419bac647ad3a2a8389
2023-04-03-23-43-12.gh-issue-103092.3xqk4y.rst https://github.com/python/cpython/pull/103094/files#diff-f05648658552f6557fb590b58fe9a28544947c728d6a25af4c31ece19339742f
socketmodule.c https://github.com/python/cpython/pull/103094/files#diff-412f0023cab7bc5669c6c1e710a6f37e7c3c387d299794b5fe82268a10223b29
socketmodule.h https://github.com/python/cpython/pull/103094/files#diff-95a6e2503e5a5648674268d9f6cd9c45a84a55e118b794c03bbc613390b91ccc
globals-to-fix.tsv https://github.com/python/cpython/pull/103094/files#diff-8d1e9a0d5771dfc3a628047509e2d4a1027327bd89392e5a3ec5fbd3d08cfa19
Lib/test/test_socket.pyhttps://github.com/python/cpython/pull/103094/files#diff-ce79808e12f7a252c1747c23ba11810d4dc22ce0af4b9419bac647ad3a2a8389
View file https://github.com/erlend-aasland/cpython/blob/2019a93bd3c0b225cd5ba08d0b3b85d90010209d/Lib/test/test_socket.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/103094/{{ revealButtonHref }}
https://github.com/python/cpython/pull/103094/files#diff-ce79808e12f7a252c1747c23ba11810d4dc22ce0af4b9419bac647ad3a2a8389
https://github.com/python/cpython/pull/103094/files#diff-ce79808e12f7a252c1747c23ba11810d4dc22ce0af4b9419bac647ad3a2a8389
https://github.com/python/cpython/pull/103094/files#diff-ce79808e12f7a252c1747c23ba11810d4dc22ce0af4b9419bac647ad3a2a8389
https://github.com/python/cpython/pull/103094/files#diff-ce79808e12f7a252c1747c23ba11810d4dc22ce0af4b9419bac647ad3a2a8389
Misc/NEWS.d/next/Library/2023-04-03-23-43-12.gh-issue-103092.3xqk4y.rsthttps://github.com/python/cpython/pull/103094/files#diff-f05648658552f6557fb590b58fe9a28544947c728d6a25af4c31ece19339742f
View file https://github.com/erlend-aasland/cpython/blob/2019a93bd3c0b225cd5ba08d0b3b85d90010209d/Misc/NEWS.d/next/Library/2023-04-03-23-43-12.gh-issue-103092.3xqk4y.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/103094/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python/cpython/pull/103094/files
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.