René's URL Explorer Experiment


Title: bpo-40275: Avoid importing socket in test.support by serhiy-storchaka · Pull Request #19603 · python/cpython · GitHub

Open Graph Title: bpo-40275: Avoid importing socket in test.support by serhiy-storchaka · Pull Request #19603 · python/cpython

X Title: bpo-40275: Avoid importing socket in test.support by serhiy-storchaka · Pull Request #19603 · python/cpython

Description: Move socket related functions from test.support to socket_helper. Import socket and nntplib lazily in transient_internet(). Remove importing multiprocess. https://bugs.python.org/issue40275

Open Graph Description: Move socket related functions from test.support to socket_helper. Import socket and nntplib lazily in transient_internet(). Remove importing multiprocess. https://bugs.python.org/issue40275

X Description: Move socket related functions from test.support to socket_helper. Import socket and nntplib lazily in transient_internet(). Remove importing multiprocess. https://bugs.python.org/issue40275

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

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:57bfa654-b7c2-ae0f-09e0-65629005b233
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC06E:E7954:7033F:9CE55:696A679D
html-safe-noncefbcfc3b561b0cd096e37c1435e3684b2cdf8c4bdea8321a85aa7bb581c2778e1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDZFOkU3OTU0OjcwMzNGOjlDRTU1OjY5NkE2NzlEIiwidmlzaXRvcl9pZCI6IjI3NzY3NzgyNDIxODQwNzkyNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6133b28991ed9ee73db5ee8115da83e69e621df6f5e94f13602f3c3fdcdee793
hovercard-subject-tagpull_request:405665659
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/19603/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0c9948e99a0c33f98c900df6acadcc91ad8390aa433c09e49fade0e38c4f441b/python/cpython/pull/19603
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0c9948e99a0c33f98c900df6acadcc91ad8390aa433c09e49fade0e38c4f441b/python/cpython/pull/19603
og:image:altMove socket related functions from test.support to socket_helper. Import socket and nntplib lazily in transient_internet(). Remove importing multiprocess. https://bugs.python.org/issue40275
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
None6fea32d5b7276b841b7a803796d9715bc6cfb31ed549fdf9de2948ac25d12ba6
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
releasef2d9f6432a5a115ec709295ae70623f33bb80aee
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/19603#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F19603
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%2F19603
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/19603
Reloadhttps://github.com/python/cpython/pull/19603
Reloadhttps://github.com/python/cpython/pull/19603
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/19603
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/19603
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/19603#issue-comment-box
serhiy-storchakahttps://github.com/serhiy-storchaka
python:masterhttps://github.com/python/cpython/tree/master
serhiy-storchaka:test-support-sockethttps://github.com/serhiy-storchaka/cpython/tree/test-support-socket
bpo-40275: Avoid importing socket in test.support https://github.com/python/cpython/pull/19603#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:masterhttps://github.com/python/cpython/tree/master
serhiy-storchaka:test-support-sockethttps://github.com/serhiy-storchaka/cpython/tree/test-support-socket
Conversation 5 https://github.com/python/cpython/pull/19603
Commits 5 https://github.com/python/cpython/pull/19603/commits
Checks 0 https://github.com/python/cpython/pull/19603/checks
Files changed https://github.com/python/cpython/pull/19603/files
Please reload this pagehttps://github.com/python/cpython/pull/19603
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Apr 19, 2020https://github.com/python/cpython/pull/19603#issue-602716456
Please reload this pagehttps://github.com/python/cpython/pull/19603
https://bugs.python.org/issue40275https://bugs.python.org/issue40275
Please reload this pagehttps://github.com/python/cpython/pull/19603
https://github.com/serhiy-storchaka
bpo-40275: Avoid importing socket in test.supporthttps://github.com/python/cpython/pull/19603/commits/76b9f28b95f853985e06f72bd1cea0e449cf2dc7
76b9f28https://github.com/python/cpython/pull/19603/commits/76b9f28b95f853985e06f72bd1cea0e449cf2dc7
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Apr 19, 2020https://github.com/python/cpython/pull/19603#event-3249056307
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
1st1https://github.com/1st1
asvetlovhttps://github.com/asvetlov
berkerpeksaghttps://github.com/berkerpeksag
tiranhttps://github.com/tiran
vsajiphttps://github.com/vsajip
code ownershttps://github.com/python/cpython/blob/c12375aa0b838d34067efa3f1b9a1fbc632d0413/.github/CODEOWNERS#L66
April 19, 2020 13:35https://github.com/python/cpython/pull/19603#event-3249056308
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
Apr 19, 2020https://github.com/python/cpython/pull/19603#event-3249056347
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Apr 19, 2020https://github.com/python/cpython/pull/19603#event-3249056409
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Apr 19, 2020https://github.com/python/cpython/pull/19603#issuecomment-616136387
#19600https://github.com/python/cpython/pull/19600
Please reload this pagehttps://github.com/python/cpython/pull/19603
serhiy-storchakahttps://github.com/serhiy-storchaka
April 19, 2020 16:54https://github.com/python/cpython/pull/19603#commits-pushed-c18bdc9
https://github.com/serhiy-storchaka
Fix merge.https://github.com/python/cpython/pull/19603/commits/c18bdc95554c3a5b9398886e54e6bc0c3c707cf1
c18bdc9https://github.com/python/cpython/pull/19603/commits/c18bdc95554c3a5b9398886e54e6bc0c3c707cf1
https://github.com/serhiy-storchaka
Fix tests on Windows.https://github.com/python/cpython/pull/19603/commits/4486f4bd64380e6ac85561c5d35fddedbeba8477
4486f4bhttps://github.com/python/cpython/pull/19603/commits/4486f4bd64380e6ac85561c5d35fddedbeba8477
https://github.com/serhiy-storchaka
Import urllib lazily in transient_internet().https://github.com/python/cpython/pull/19603/commits/578d77a239a526d22e8fefd374a6cb1fd2a29db3
578d77ahttps://github.com/python/cpython/pull/19603/commits/578d77a239a526d22e8fefd374a6cb1fd2a29db3
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Apr 20, 2020 https://github.com/python/cpython/pull/19603#pullrequestreview-396441266
View reviewed changes https://github.com/python/cpython/pull/19603/files/578d77a239a526d22e8fefd374a6cb1fd2a29db3
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/19603#pullrequestreview-396441266
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/19603
Doc/library/test.rsthttps://github.com/python/cpython/pull/19603/files/578d77a239a526d22e8fefd374a6cb1fd2a29db3#diff-9c776940ef00f1a36f9b8acab3dee7d70f992af8a03fbe01f5973ff9e2bcd454
Please reload this pagehttps://github.com/python/cpython/pull/19603
https://github.com/serhiy-storchaka
Add the versionadded directive.https://github.com/python/cpython/pull/19603/commits/c3c9de827ea91324857cfc39c0c619281e9babaa
c3c9de8https://github.com/python/cpython/pull/19603/commits/c3c9de827ea91324857cfc39c0c619281e9babaa
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Apr 20, 2020https://github.com/python/cpython/pull/19603#issuecomment-616632946
Please reload this pagehttps://github.com/python/cpython/pull/19603
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Apr 20, 2020 https://github.com/python/cpython/pull/19603#pullrequestreview-396593954
View reviewed changes https://github.com/python/cpython/pull/19603/files/c3c9de827ea91324857cfc39c0c619281e9babaa
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/19603#pullrequestreview-396593954
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/19603
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
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Apr 20, 2020https://github.com/python/cpython/pull/19603#event-3252451745
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
1699491https://github.com/python/cpython/commit/16994912c93e8e5db7365d48b75d67d3f70dd7b2
Apr 25, 2020https://github.com/python/cpython/pull/19603#event-3271657578
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
Apr 25, 2020https://github.com/python/cpython/pull/19603#event-3271657596
https://github.com/ned-deily
ned-deilyhttps://github.com/ned-deily
Apr 27, 2020 https://github.com/python/cpython/pull/19603#ref-pullrequest-599892255
bpo-35569: Expose RFC 3542 IPv6 socket options on macOS #19526 https://github.com/python/cpython/pull/19526
erlend-aaslandhttps://github.com/erlend-aasland
Apr 27, 2020 https://github.com/python/cpython/pull/19603#ref-commit-ebfde1f
Usehttps://github.com/erlend-aasland/cpython/commit/ebfde1f29f11a2041ba38757ba9e9a87fd261ec4
socket_helperhttps://github.com/erlend-aasland/cpython/commit/ebfde1f29f11a2041ba38757ba9e9a87fd261ec4
(see PRhttps://github.com/erlend-aasland/cpython/commit/ebfde1f29f11a2041ba38757ba9e9a87fd261ec4
python#19603https://github.com/python/cpython/pull/19603
)https://github.com/erlend-aasland/cpython/commit/ebfde1f29f11a2041ba38757ba9e9a87fd261ec4
ebfde1fhttps://github.com/erlend-aasland/cpython/commit/ebfde1f29f11a2041ba38757ba9e9a87fd261ec4
CuriousLearnerhttps://github.com/CuriousLearner
Apr 27, 2020 https://github.com/python/cpython/pull/19603#ref-commit-42c39a3
https://github.com/CuriousLearner
Merge branch 'master' of github.com:python/cpython into fix-issue21914https://github.com/CuriousLearner/cpython/commit/42c39a33860569e8288479f92d66422ffd640e51
42c39a3https://github.com/CuriousLearner/cpython/commit/42c39a33860569e8288479f92d66422ffd640e51
pythonGH-19723https://github.com/python/cpython/pull/19723
pythonGH-19720https://github.com/python/cpython/pull/19720
pythonGH-19729https://github.com/python/cpython/pull/19729
pythonGH-16607https://github.com/python/cpython/pull/16607
pythonGH-19725https://github.com/python/cpython/pull/19725
pythonGH-19724https://github.com/python/cpython/pull/19724
pythonGH-19718https://github.com/python/cpython/pull/19718
pythonGH-19717https://github.com/python/cpython/pull/19717
pythonGH-19504https://github.com/python/cpython/pull/19504
pythonGH-19601https://github.com/python/cpython/pull/19601
pythonGH-19603https://github.com/python/cpython/pull/19603
pythonGH-19600https://github.com/python/cpython/pull/19600
pythonGH-19705https://github.com/python/cpython/pull/19705
pythonGH-19709https://github.com/python/cpython/pull/19709
pythonGH-19704https://github.com/python/cpython/pull/19704
pythonGH-19688https://github.com/python/cpython/pull/19688
pythonGH-19663https://github.com/python/cpython/pull/19663
pythonGH-19694https://github.com/python/cpython/pull/19694
pythonGH-19697https://github.com/python/cpython/pull/19697
pythonGH-19696https://github.com/python/cpython/pull/19696
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%2F19603
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/19603/files/c3c9de827ea91324857cfc39c0c619281e9babaa
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/asvetlov
asvetlov https://github.com/asvetlov
https://github.com/berkerpeksag
berkerpeksag https://github.com/berkerpeksag
https://github.com/tiran
tiran https://github.com/tiran
https://github.com/vsajip
vsajip https://github.com/vsajip
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/19603
https://github.com/serhiy-storchaka
https://github.com/vstinner
https://github.com/the-knights-who-say-ni
https://github.com/bedevere-bot
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.