summaryrefslogtreecommitdiffstats
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-06-24 15:45:28 (GMT)
committerGitHub <noreply@github.com>2022-06-24 15:45:28 (GMT)
commitf0b234e6ed83e810bd9844e744f5e22aa538a356 (patch)
tree7bfb542d0c120c3f48b1e607bd10185ad00718f6 /Python/pylifecycle.c
parente69306f08b9be84ccdd0a1c6601ec229c4e5b377 (diff)
downloadcpython-f0b234e6ed83e810bd9844e744f5e22aa538a356.zip
cpython-f0b234e6ed83e810bd9844e744f5e22aa538a356.tar.gz
cpython-f0b234e6ed83e810bd9844e744f5e22aa538a356.tar.bz2
gh-94172: urllib.request avoids deprecated check_hostname (#94193)
The urllib.request no longer uses the deprecated check_hostname parameter of the http.client module. Add private http.client._create_https_context() helper to http.client, used 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.
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions