Webstar Website <webstarnan...@gmail.com> added the comment:

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/

----------
assignee:  -> christian.heimes
components: +SSL -Interpreter Core
nosy: +christian.heimes, webstarnantes
title: opcode cache for LOAD_GLOBAL emits false alarm in memory leak hunting -> 
SSl Securité version 3.9.2
type:  -> security
versions: +Python 3.9 -Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37146>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to