Title: bpo-24334: Cleanup SSLSocket by tiran · Pull Request #5252 · python/cpython · GitHub
Open Graph Title: bpo-24334: Cleanup SSLSocket by tiran · Pull Request #5252 · python/cpython
X Title: bpo-24334: Cleanup SSLSocket by tiran · Pull Request #5252 · 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. 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/5252
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:bd99c533-928d-0e20-25a2-e8267efb8746 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A882:2BD77F:DFEF58:130D434:6A4D5B15 |
| html-safe-nonce | 17bfe729faa05c1e582fc7b54481aea14c71bbcde09da3aa5609681fd6274819 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODgyOjJCRDc3RjpERkVGNTg6MTMwRDQzNDo2QTRENUIxNSIsInZpc2l0b3JfaWQiOiIxMzcxODI1MjA5MDk5NTA4NTAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3a6484b9b79b01a6f910100b63d49f6c11a966c6421005166484a150200f00f4 |
| hovercard-subject-tag | pull_request:164140042 |
| 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/5252/files |
| twitter:image | https://avatars.githubusercontent.com/u/444071?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/444071?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 | 2a1443ff9733a3016431263ea73c93d8fe00c195eb4a7670ac30e7848f045441 |
| 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 | f3bdd3157ea1f0fd738d408eceeead721acf1dc3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width