Message275127
Another deprecation: I like to deprecate all arguments from SSLSocket.__init__() and require users to go through SSLContext.wrap_socket(). It's going to make the implementation much simpler. The argument list is just crazy:
class SSLSocket(socket):
def __init__(self, sock=None, keyfile=None, certfile=None,
server_side=False, cert_reqs=CERT_NONE,
ssl_version=PROTOCOL_TLS, ca_certs=None,
do_handshake_on_connect=True,
family=AF_INET, type=SOCK_STREAM, proto=0, fileno=None,
suppress_ragged_eofs=True, npn_protocols=None, ciphers=None,
server_hostname=None,
_context=None): |
|
Date |
User |
Action |
Args |
2016-09-08 19:50:26 | christian.heimes | set | recipients:
+ christian.heimes, janssen, vstinner, giampaolo.rodola, alex, dstufft, Lukasa |
2016-09-08 19:50:26 | christian.heimes | set | messageid: <1473364226.03.0.860523603002.issue28022@psf.upfronthosting.co.za> |
2016-09-08 19:50:26 | christian.heimes | link | issue28022 messages |
2016-09-08 19:50:25 | christian.heimes | create | |
|