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/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:3b37c016-3459-6c51-e6c2-820624e21c57
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC07C:CC181:4E5B117:6BCBA08:6995F207
html-safe-nonce45ae728e70acda96bb93188c42b0b5cddcab5dc320e1b73dba7b15613454e15a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDdDOkNDMTgxOjRFNUIxMTc6NkJDQkEwODo2OTk1RjIwNyIsInZpc2l0b3JfaWQiOiIxOTUyMTgwNzgzNzYzODEyODcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbdc0dabf104ef798b82366a63e2821b24214515b61cd9d9c2e1ba2cf66d34ad1
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad
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
Nonec0c24a98ecd7bc7849fb9f62060fa1aee125a36e1a985f3b6ee8dea0efcc7ee9
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-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee05b048e0dcaa6bb77dd311e76a7bb5983e9f5a5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103094%2Fcommits%2Fd839af07afc2e43a8656e9d3482a180a35e09bad
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%2Fcommits%2Fd839af07afc2e43a8656e9d3482a180a35e09bad
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/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad
Reloadhttps://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad
Reloadhttps://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security 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 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/commits/d839af07afc2e43a8656e9d3482a180a35e09bad
gh-103092: Isolate socket https://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad#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/commits/d839af07afc2e43a8656e9d3482a180a35e09bad
Please reload this pagehttps://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad
Please reload this pagehttps://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad
socketmodule.c https://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad#diff-412f0023cab7bc5669c6c1e710a6f37e7c3c387d299794b5fe82268a10223b29
socketmodule.h https://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad#diff-95a6e2503e5a5648674268d9f6cd9c45a84a55e118b794c03bbc613390b91ccc
Prev https://github.com/python/cpython/pull/103094/commits/274c412a9f6905b4da0a2f8108d6dffa8120f582
Next https://github.com/python/cpython/pull/103094/commits/13d14daddddff1d1ceeeb7081088735de841c8af
Please reload this pagehttps://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/python/cpython/commits?author=erlend-aasland
Modules/socketmodule.chttps://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad#diff-412f0023cab7bc5669c6c1e710a6f37e7c3c387d299794b5fe82268a10223b29
View file https://github.com/erlend-aasland/cpython/blob/d839af07afc2e43a8656e9d3482a180a35e09bad/Modules/socketmodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/103094/commits/{{ revealButtonHref }}
https://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad#diff-412f0023cab7bc5669c6c1e710a6f37e7c3c387d299794b5fe82268a10223b29
https://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad#diff-412f0023cab7bc5669c6c1e710a6f37e7c3c387d299794b5fe82268a10223b29
https://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad#diff-412f0023cab7bc5669c6c1e710a6f37e7c3c387d299794b5fe82268a10223b29
https://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad#diff-412f0023cab7bc5669c6c1e710a6f37e7c3c387d299794b5fe82268a10223b29
Modules/socketmodule.hhttps://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad#diff-95a6e2503e5a5648674268d9f6cd9c45a84a55e118b794c03bbc613390b91ccc
View file https://github.com/erlend-aasland/cpython/blob/d839af07afc2e43a8656e9d3482a180a35e09bad/Modules/socketmodule.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/103094/commits/{{ revealButtonHref }}
https://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad#diff-95a6e2503e5a5648674268d9f6cd9c45a84a55e118b794c03bbc613390b91ccc
https://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad#diff-95a6e2503e5a5648674268d9f6cd9c45a84a55e118b794c03bbc613390b91ccc
https://github.com/python/cpython/pull/103094/commits/d839af07afc2e43a8656e9d3482a180a35e09bad#diff-95a6e2503e5a5648674268d9f6cd9c45a84a55e118b794c03bbc613390b91ccc
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.