Title: gh-94172: urllib.request avoids deprecated check_hostname by vstinner · Pull Request #94193 · python/cpython · GitHub
Open Graph Title: gh-94172: urllib.request avoids deprecated check_hostname by vstinner · Pull Request #94193 · python/cpython
X Title: gh-94172: urllib.request avoids deprecated check_hostname by vstinner · Pull Request #94193 · python/cpython
Description: The urllib.request no longer uses the deprecated check_hostname parameter of the http.client module. Add http.client._create_https_context() helper to http.client, reused by urllib.request. Remove the now redundant check on check_hostname and verify_mode in http.client: the SSLContext.check_hostname setter already implements the check. Issue: gh-94172
Open Graph Description: The urllib.request no longer uses the deprecated check_hostname parameter of the http.client module. Add http.client._create_https_context() helper to http.client, reused by urllib.request. Remove ...
X Description: The urllib.request no longer uses the deprecated check_hostname parameter of the http.client module. Add http.client._create_https_context() helper to http.client, reused by urllib.request. Remove ...
Opengraph URL: https://github.com/python/cpython/pull/94193
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:cbfae390-bca8-33c2-002f-780f7827bccb |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C0EC:2B9199:11D6BAD:18106D5:696998C7 |
| html-safe-nonce | 1c4a19035b8e118bc9e9bfde2cb1ed9db43870f390acb2b24e89e4fa3822be93 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEVDOjJCOTE5OToxMUQ2QkFEOjE4MTA2RDU6Njk2OTk4QzciLCJ2aXNpdG9yX2lkIjoiODkwMzY4MjEzNTEyOTk1NDUwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 02a826449880b963482db1dac976f24155b1e7112f8220c22c976089c1e8eddc |
| hovercard-subject-tag | pull_request:977972755 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/94193/checks |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | The urllib.request no longer uses the deprecated check_hostname parameter of the http.client module. Add http.client._create_https_context() helper to http.client, reused by urllib.request. Remove ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width