This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author webstarnantes
Recipients christian.heimes, gvanrossum, methane, pablogsal, vstinner, webstarnantes, yselivanov
Date 2021-02-20.09:54:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613814870.65.0.111369094309.issue37146@roundup.psfhosted.org>
In-reply-to
Content
dans cette version pour securité maximale 

SSLContext.wrap_socket()
import socket
import ssl

hostname = 'www.python.org'
context = ssl.create_default_context()

with socket.create_connection((hostname, 443)) as sock:
    with context.wrap_socket(sock, server_hostname=hostname) as ssock:
        print(ssock.version())


https://backlinkstrong.com/
History
Date User Action Args
2021-02-20 09:54:30webstarnantessetrecipients: + webstarnantes, gvanrossum, vstinner, christian.heimes, methane, yselivanov, pablogsal
2021-02-20 09:54:30webstarnantessetmessageid: <1613814870.65.0.111369094309.issue37146@roundup.psfhosted.org>
2021-02-20 09:54:30webstarnanteslinkissue37146 messages
2021-02-20 09:54:30webstarnantescreate