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 Python programming language. Contribute to python/cpython development by creating an account on GitHub.

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/_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:f521b417-ca7f-f0b6-5ab8-27704df07a98
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA27C:28264A:D9007:1201CB:6B02265F
html-safe-nonce0abf1d05f62691ef5e17fab6e75ad94d44e01f8649ff10851ac6d4e9e92d9c80
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjdDOjI4MjY0QTpEOTAwNzoxMjAxQ0I6NkIwMjI2NUYiLCJ2aXNpdG9yX2lkIjoiNzk0MTM3MjkyNDExODgzNjgzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd23441d57b3374e109c88ad877de4db9f66167797870af96495ea94f0994b632
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///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/149102/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4e004a714663e1072388c43fb1a890943ed0a0d234a12cf192ddbc580720d1ea/python/cpython/pull/149102
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4e004a714663e1072388c43fb1a890943ed0a0d234a12cf192ddbc580720d1ea/python/cpython/pull/149102
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:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/149102#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149102
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
Sign uphttps://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/149102
Reloadhttps://github.com/python/cpython/pull/149102
Reloadhttps://github.com/python/cpython/pull/149102
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
https://github.com/python/cpython
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
Conversationhttps://github.com/python/cpython/pull/149102
Commits10 (10)https://github.com/python/cpython/pull/149102/commits
Checkshttps://github.com/python/cpython/pull/149102/checks
Files changedhttps://github.com/python/cpython/pull/149102/files
gh-148292: Update ssl._SSLSocket for OpenSSL 4https://github.com/python/cpython/pull/149102#top
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
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Apr 28, 2026https://github.com/python/cpython/pull/149102#issue-4344524973
Please reload this pagehttps://github.com/python/cpython/pull/149102
3.15.0a8 fails test_urllib2_localnet with OpenSSL 4.0.0beta1 #148292https://github.com/python/cpython/issues/148292
Please reload this pagehttps://github.com/python/cpython/pull/149102
https://github.com/vstinner
pythongh-148292https://github.com/python/cpython/issues/148292
: Update ssl._SSLSocket for OpenSSL 4https://github.com/python/cpython/pull/149102/commits/a05a9cee096947fa0bea10c81d915469f9ec8452
a05a9cehttps://github.com/python/cpython/pull/149102/commits/a05a9cee096947fa0bea10c81d915469f9ec8452
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
gpsheadhttps://github.com/gpshead
picnixzhttps://github.com/picnixz
code ownershttps://github.com/python/cpython/blob/2b6a13710f0fbf90a0d5f009d7188e934fab8d08/.github/CODEOWNERS#L398
April 28, 2026 15:58https://github.com/python/cpython/pull/149102#event-24955612707
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Apr 28, 2026https://github.com/python/cpython/pull/149102#event-24955615049
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 28, 2026 https://github.com/python/cpython/pull/149102#ref-issue-4231843656
3.15.0a8 fails test_urllib2_localnet with OpenSSL 4.0.0beta1 #148292 https://github.com/python/cpython/issues/148292
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Apr 28, 2026 https://github.com/python/cpython/pull/149102#ref-pullrequest-4268012226
gh-148292: Update SSLSocket.read() for OpenSSL 4 #148602 https://github.com/python/cpython/pull/148602
vstinnerhttps://github.com/vstinner
April 28, 2026 18:05https://github.com/python/cpython/pull/149102#commits-pushed-f803408
https://github.com/vstinner
Fix doc formatting (NEWS entry)https://github.com/python/cpython/pull/149102/commits/f803408b8ddf024c6ff4bc546314b3b48a4e5fb7
f803408https://github.com/python/cpython/pull/149102/commits/f803408b8ddf024c6ff4bc546314b3b48a4e5fb7
https://github.com/vstinner
Skip sendfile() test if the SSL socket has no sendfile() methodhttps://github.com/python/cpython/pull/149102/commits/cac2565caa066d64cc674a06593545d7bf95336c
cac2565https://github.com/python/cpython/pull/149102/commits/cac2565caa066d64cc674a06593545d7bf95336c
https://github.com/vstinner
Use also got_eof_error in do_handshake()https://github.com/python/cpython/pull/149102/commits/ec5bb40e6eeb99a5408c536115c6b9a8e0c3d08f
ec5bb40https://github.com/python/cpython/pull/149102/commits/ec5bb40e6eeb99a5408c536115c6b9a8e0c3d08f
https://github.com/vstinner
Update commenthttps://github.com/python/cpython/pull/149102/commits/43ef40c92946ec880c389ff2b4eff36c9e148b78
43ef40chttps://github.com/python/cpython/pull/149102/commits/43ef40c92946ec880c389ff2b4eff36c9e148b78
https://github.com/vstinner
Fix shutdown() test on OpenSSL 1.1.1https://github.com/python/cpython/pull/149102/commits/b852eef67d2d0c396f7b38c7272fa4add8073521
b852eefhttps://github.com/python/cpython/pull/149102/commits/b852eef67d2d0c396f7b38c7272fa4add8073521
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Apr 28, 2026https://github.com/python/cpython/pull/149102#issuecomment-4337412353
Please reload this pagehttps://github.com/python/cpython/pull/149102
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#32472356https://app.readthedocs.org/projects/cpython-previews/builds/32472356/
0f650cchttps://github.com/python/cpython/commit/0f650cc181250c0892f02a525ba6b83e501c7c34
mainhttps://cpython-previews.readthedocs.io/en/main/
2b6a137https://github.com/python/cpython/commit/2b6a13710f0fbf90a0d5f009d7188e934fab8d08
  🔍 Preview build   https://cpython-previews--149102.org.readthedocs.build/en/149102/
download.htmlhttps://cpython-previews--149102.org.readthedocs.build/en/149102/download.html
whatsnew/changelog.htmlhttps://cpython-previews--149102.org.readthedocs.build/en/149102/whatsnew/changelog.html
Please reload this pagehttps://github.com/python/cpython/pull/149102
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Apr 28, 2026 https://github.com/python/cpython/pull/149102#pullrequestreview-4191856507
View reviewed changes https://github.com/python/cpython/pull/149102/files/b852eef67d2d0c396f7b38c7272fa4add8073521
Modules/_ssl.chttps://github.com/python/cpython/pull/149102/files/b852eef67d2d0c396f7b38c7272fa4add8073521#diff-89879be484d86da4e77c90d5408b2e10190ee27cc86337cd0f8efc3520d60621
Please reload this pagehttps://github.com/python/cpython/pull/149102
Lib/test/test_ssl.pyhttps://github.com/python/cpython/pull/149102/files/b852eef67d2d0c396f7b38c7272fa4add8073521#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
Please reload this pagehttps://github.com/python/cpython/pull/149102
Lib/test/test_ssl.pyhttps://github.com/python/cpython/pull/149102/files/b852eef67d2d0c396f7b38c7272fa4add8073521#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
Please reload this pagehttps://github.com/python/cpython/pull/149102
Lib/test/test_ssl.pyhttps://github.com/python/cpython/pull/149102/files/b852eef67d2d0c396f7b38c7272fa4add8073521#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
Please reload this pagehttps://github.com/python/cpython/pull/149102
Misc/NEWS.d/next/Library/2026-04-28-17-47-55.gh-issue-148292.oIq3ml.rsthttps://github.com/python/cpython/pull/149102/files/b852eef67d2d0c396f7b38c7272fa4add8073521#diff-c68e6560130361c8d7f014b80709c256c4d57be3de80dab6b93753878d3006b1
Please reload this pagehttps://github.com/python/cpython/pull/149102
Misc/NEWS.d/next/Library/2026-04-28-17-47-55.gh-issue-148292.oIq3ml.rsthttps://github.com/python/cpython/pull/149102/files/b852eef67d2d0c396f7b38c7272fa4add8073521#diff-c68e6560130361c8d7f014b80709c256c4d57be3de80dab6b93753878d3006b1
gpsheadhttps://github.com/gpshead
Apr 28, 2026https://github.com/python/cpython/pull/149102#discussion_r3156801364
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/149102
vstinnerhttps://github.com/vstinner
Apr 29, 2026https://github.com/python/cpython/pull/149102#discussion_r3160486953
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://docs.python.org/dev/library/ssl.html#ssl.SSLSockethttps://docs.python.org/dev/library/ssl.html#ssl.SSLSocket
Please reload this pagehttps://github.com/python/cpython/pull/149102
vstinnerhttps://github.com/vstinner
April 29, 2026 12:59https://github.com/python/cpython/pull/149102#commits-pushed-49a1209
https://github.com/vstinner
Fix fill_and_set_sslerror() for NULL sslsockhttps://github.com/python/cpython/pull/149102/commits/49a120974bf862baba56cdf15bd29e1f3e1378c3
49a1209https://github.com/python/cpython/pull/149102/commits/49a120974bf862baba56cdf15bd29e1f3e1378c3
https://github.com/vstinner
https://github.com/gpshead
Enhance testhttps://github.com/python/cpython/pull/149102/commits/278cefd1315bad4c19ea816504a5e61823bac0b4
278cefdhttps://github.com/python/cpython/pull/149102/commits/278cefd1315bad4c19ea816504a5e61823bac0b4
https://github.com/vstinner
Mention ssl.SSLObject in the NEWS entryhttps://github.com/python/cpython/pull/149102/commits/66db0411380fcc8c90823984a1c4deb61fcdebd1
66db041https://github.com/python/cpython/pull/149102/commits/66db0411380fcc8c90823984a1c4deb61fcdebd1
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Apr 29, 2026https://github.com/python/cpython/pull/149102#issuecomment-4343151357
@gpsheadhttps://github.com/gpshead
Please reload this pagehttps://github.com/python/cpython/pull/149102
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Apr 29, 2026 https://github.com/python/cpython/pull/149102#pullrequestreview-4199431834
View reviewed changes https://github.com/python/cpython/pull/149102/files/66db0411380fcc8c90823984a1c4deb61fcdebd1
Misc/NEWS.d/next/Library/2026-04-28-17-47-55.gh-issue-148292.oIq3ml.rsthttps://github.com/python/cpython/pull/149102/files/66db0411380fcc8c90823984a1c4deb61fcdebd1#diff-c68e6560130361c8d7f014b80709c256c4d57be3de80dab6b93753878d3006b1
Please reload this pagehttps://github.com/python/cpython/pull/149102
Lib/test/test_ssl.pyhttps://github.com/python/cpython/pull/149102/files/66db0411380fcc8c90823984a1c4deb61fcdebd1#diff-d526ded1c360bed6b222de46f4ca92b834f978ebed992fb3189bf9a94a198578
Please reload this pagehttps://github.com/python/cpython/pull/149102
https://github.com/vstinner
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/149102/commits/0f650cc181250c0892f02a525ba6b83e501c7c34
0f650cchttps://github.com/python/cpython/pull/149102/commits/0f650cc181250c0892f02a525ba6b83e501c7c34
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Apr 30, 2026https://github.com/python/cpython/pull/149102#issuecomment-4351920954
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/149102
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
7b7fa3fhttps://github.com/python/cpython/commit/7b7fa3f9bf3d7cdf3eb669d02b386e05b39c402a
May 4, 2026https://github.com/python/cpython/pull/149102#event-25130846772
Please reload this pagehttps://github.com/python/cpython/pull/149102
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
May 4, 2026 11:53https://github.com/python/cpython/pull/149102#event-25130847830
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
May 4, 2026https://github.com/python/cpython/pull/149102#event-25130848419
https://github.com/HiassofT
HiassofThttps://github.com/HiassofT
May 6, 2026 https://github.com/python/cpython/pull/149102#ref-pullrequest-4110436702
OpenSSL: update to 4.0.x LibreELEC/LibreELEC.tv#11104 https://github.com/LibreELEC/LibreELEC.tv/pull/11104
vstinnerhttps://github.com/vstinner
May 13, 2026 https://github.com/python/cpython/pull/149102#ref-commit-3c2a301
https://github.com/vstinner
https://github.com/gpshead
pythongh-148292https://github.com/python/cpython/issues/148292
: Update _ssl._SSLSocket for OpenSSL 4 (https://github.com/vstinner/cpython/commit/3c2a3014af7d73cc34f2498f60fdf863d9bc7c6c
python#149102https://github.com/python/cpython/pull/149102
)https://github.com/vstinner/cpython/commit/3c2a3014af7d73cc34f2498f60fdf863d9bc7c6c
3c2a301https://github.com/vstinner/cpython/commit/3c2a3014af7d73cc34f2498f60fdf863d9bc7c6c
7b7fa3fhttps://github.com/vstinner/cpython/commit/7b7fa3f9bf3d7cdf3eb669d02b386e05b39c402a
https://github.com/xnox
xnoxhttps://github.com/xnox
Sep 12, 2026 https://github.com/python/cpython/pull/149102#ref-issue-4267788182
Add support for OpenSSL 4.0.0 final #148600 https://github.com/python/cpython/issues/148600
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F149102
https://github.com/gpshead
gpshead https://github.com/gpshead
https://github.com/python/cpython/pull/149102/files/b852eef67d2d0c396f7b38c7272fa4add8073521
https://github.com/picnixz
picnixz https://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/149102
Please reload this pagehttps://github.com/python/cpython/pull/149102
https://github.com/vstinner
https://github.com/gpshead
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.