Title: [3.7] bpo-24334: Cleanup SSLSocket (GH-5252) by miss-islington · Pull Request #5857 · python/cpython · GitHub
Open Graph Title: [3.7] bpo-24334: Cleanup SSLSocket (GH-5252) by miss-islington · Pull Request #5857 · python/cpython
X Title: [3.7] bpo-24334: Cleanup SSLSocket (GH-5252) by miss-islington · Pull Request #5857 · python/cpython
Description: The SSLSocket is no longer implemented on top of SSLObject to avoid an extra level of indirection. Owner and session are now handled in the internal constructor. _ssl._SSLSocket now uses the same method names as SSLSocket and SSLObject. Channel binding type check is now handled in C code. Channel binding is always available. The patch also changes the signature of SSLObject.init(). In my opinion it's fine. A SSLObject is not a user-constructable object. SSLContext.wrap_bio() is the only valid factory. (cherry picked from commit 141c5e8) Co-authored-by: Christian Heimes christian@python.org https://bugs.python.org/issue24334
Open Graph Description: The SSLSocket is no longer implemented on top of SSLObject to avoid an extra level of indirection. Owner and session are now handled in the internal constructor. _ssl._SSLSocket now uses the same m...
X Description: The SSLSocket is no longer implemented on top of SSLObject to avoid an extra level of indirection. Owner and session are now handled in the internal constructor. _ssl._SSLSocket now uses the same m...
Opengraph URL: https://github.com/python/cpython/pull/5857
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e0b08b39-1803-0a48-c916-30c26a73ee36 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8EBC:121B7:49CB1A:633ECA:6A4DA3DA |
| html-safe-nonce | ba8c56e39879e7cf6d6c4f53a4290580b673b30d25152d9a0fe517842def21a7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUJDOjEyMUI3OjQ5Q0IxQTo2MzNFQ0E6NkE0REEzREEiLCJ2aXNpdG9yX2lkIjoiNDMwMTgyNTM4ODc2Mzk2NTA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fc791dd7e72693c3b993ec02ab82f98f5bb8908d8fcabeb173cadc9c9947dfbb |
| hovercard-subject-tag | pull_request:171195343 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/5857/files |
| twitter:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| og:image:alt | The SSLSocket is no longer implemented on top of SSLObject to avoid an extra level of indirection. Owner and session are now handled in the internal constructor. _ssl._SSLSocket now uses the same m... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7f13faa65cccc9b729d674da83335d5dcfdfd193 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width