René's URL Explorer Experiment


Title: gh-148292: Update ssl._SSLSocket for OpenSSL 4 by vstinner · Pull Request #149102 · python/cpython · GitHub

Open Graph Title: gh-148292: Update ssl._SSLSocket for OpenSSL 4 by vstinner · Pull Request #149102 · python/cpython

X Title: gh-148292: Update ssl._SSLSocket for OpenSSL 4 by vstinner · Pull Request #149102 · python/cpython

Description: The _SSLSocket object now remembers if it gets an EOF error. In this case, read(), sendfile(), write() and do_handshake() method calls fail with SSLEOFError without calling the underlying OpenSSL function. Issue: gh-148292

Open Graph Description: The _SSLSocket object now remembers if it gets an EOF error. In this case, read(), sendfile(), write() and do_handshake() method calls fail with SSLEOFError without calling the underlying OpenSSL f...

X Description: The _SSLSocket object now remembers if it gets an EOF error. In this case, read(), sendfile(), write() and do_handshake() method calls fail with SSLEOFError without calling the underlying OpenSSL f...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:6bb95df7-4fbb-eaca-7633-f5561a2830a1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idABF6:110357:83C59:AB944:6B022F96
html-safe-nonce99fde1dc029b7f717eea9d4221b455fa1ae319399bebea2c81f9d85425ad4c01
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkY2OjExMDM1Nzo4M0M1OTpBQjk0NDo2QjAyMkY5NiIsInZpc2l0b3JfaWQiOiI0NTA0MzM0ODYzMTQyMzY3MTI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1affa4735d5a8d45c5e39aa55a5f3e4ee7e0c8b41826ccfc3fc3ac3131ac3e6f
hovercard-subject-tagpull_request:3597081874
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/149102/files
twitter:imagehttps://avatars.githubusercontent.com/u/194129?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/194129?s=400&v=4
og:image:altThe _SSLSocket object now remembers if it gets an EOF error. In this case, read(), sendfile(), write() and do_handshake() method calls fail with SSLEOFError without calling the underlying OpenSSL f...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/149102/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149102%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149102%2Ffiles
Sign uphttps://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/149102/files
Reloadhttps://github.com/python/cpython/pull/149102/files
Reloadhttps://github.com/python/cpython/pull/149102/files
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
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
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:ssl_got_eof_errorhttps://github.com/vstinner/cpython/tree/ssl_got_eof_error
Conversation 14 https://github.com/python/cpython/pull/149102
Commits 10 https://github.com/python/cpython/pull/149102/commits
Checks 52 https://github.com/python/cpython/pull/149102/checks
Files changed https://github.com/python/cpython/pull/149102/files
Please reload this pagehttps://github.com/python/cpython/pull/149102/files
gh-148292: Update ssl._SSLSocket for OpenSSL 4 https://github.com/python/cpython/pull/149102/files#top
Show all changes 10 commits https://github.com/python/cpython/pull/149102/files
a05a9ce gh-148292: Update ssl._SSLSocket for OpenSSL 4 vstinner Apr 28, 2026 https://github.com/python/cpython/pull/149102/commits/a05a9cee096947fa0bea10c81d915469f9ec8452
f803408 Fix doc formatting (NEWS entry) vstinner Apr 28, 2026 https://github.com/python/cpython/pull/149102/commits/f803408b8ddf024c6ff4bc546314b3b48a4e5fb7
cac2565 Skip sendfile() test if the SSL socket has no sendfile() method vstinner Apr 28, 2026 https://github.com/python/cpython/pull/149102/commits/cac2565caa066d64cc674a06593545d7bf95336c
ec5bb40 Use also got_eof_error in do_handshake() vstinner Apr 28, 2026 https://github.com/python/cpython/pull/149102/commits/ec5bb40e6eeb99a5408c536115c6b9a8e0c3d08f
43ef40c Update comment vstinner Apr 28, 2026 https://github.com/python/cpython/pull/149102/commits/43ef40c92946ec880c389ff2b4eff36c9e148b78
b852eef Fix shutdown() test on OpenSSL 1.1.1 vstinner Apr 28, 2026 https://github.com/python/cpython/pull/149102/commits/b852eef67d2d0c396f7b38c7272fa4add8073521
49a1209 Fix fill_and_set_sslerror() for NULL sslsock vstinner Apr 29, 2026 https://github.com/python/cpython/pull/149102/commits/49a120974bf862baba56cdf15bd29e1f3e1378c3
278cefd Enhance test vstinner Apr 29, 2026 https://github.com/python/cpython/pull/149102/commits/278cefd1315bad4c19ea816504a5e61823bac0b4
66db041 Mention ssl.SSLObject in the NEWS entry vstinner Apr 29, 2026 https://github.com/python/cpython/pull/149102/commits/66db0411380fcc8c90823984a1c4deb61fcdebd1
0f650cc Apply suggestions from code review vstinner Apr 29, 2026 https://github.com/python/cpython/pull/149102/commits/0f650cc181250c0892f02a525ba6b83e501c7c34
Clear filters https://github.com/python/cpython/pull/149102/files
Please reload this pagehttps://github.com/python/cpython/pull/149102/files
Please reload this pagehttps://github.com/python/cpython/pull/149102/files
test_ssl.py https://github.com/python/cpython/pull/149102/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
2026-04-28-17-47-55.gh-issue-148292.oIq3ml.rst https://github.com/python/cpython/pull/149102/files#diff-c68e6560130361c8d7f014b80709c256c4d57be3de80dab6b93753878d3006b1
_ssl.c https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L394
Lib/test/test_ssl.pyhttps://github.com/python/cpython/pull/149102/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
View file https://github.com/vstinner/cpython/blob/0f650cc181250c0892f02a525ba6b83e501c7c34/Lib/test/test_ssl.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/149102/{{ revealButtonHref }}
https://github.com/python/cpython/pull/149102/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
Please reload this pagehttps://github.com/python/cpython/pull/149102/files
https://github.com/python/cpython/pull/149102/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
https://github.com/python/cpython/pull/149102/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
Please reload this pagehttps://github.com/python/cpython/pull/149102/files
https://github.com/python/cpython/pull/149102/files#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
Misc/NEWS.d/next/Library/2026-04-28-17-47-55.gh-issue-148292.oIq3ml.rsthttps://github.com/python/cpython/pull/149102/files#diff-c68e6560130361c8d7f014b80709c256c4d57be3de80dab6b93753878d3006b1
View file https://github.com/vstinner/cpython/blob/0f650cc181250c0892f02a525ba6b83e501c7c34/Misc/NEWS.d/next/Library/2026-04-28-17-47-55.gh-issue-148292.oIq3ml.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/149102/{{ revealButtonHref }}
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L394
Modules/_ssl.chttps://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
View file https://github.com/vstinner/cpython/blob/0f650cc181250c0892f02a525ba6b83e501c7c34/Modules/_ssl.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/149102/{{ revealButtonHref }}
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
https://github.com/python/cpython/pull/149102/files#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
Please reload this pagehttps://github.com/python/cpython/pull/149102/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.