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 christian.heimes
Recipients Lukasa, alex, christian.heimes, dstufft, giampaolo.rodola, janssen, vstinner
Date 2016-09-08.19:50:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473364226.03.0.860523603002.issue28022@psf.upfronthosting.co.za>
In-reply-to
Content
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):
History
Date User Action Args
2016-09-08 19:50:26christian.heimessetrecipients: + christian.heimes, janssen, vstinner, giampaolo.rodola, alex, dstufft, Lukasa
2016-09-08 19:50:26christian.heimessetmessageid: <1473364226.03.0.860523603002.issue28022@psf.upfronthosting.co.za>
2016-09-08 19:50:26christian.heimeslinkissue28022 messages
2016-09-08 19:50:25christian.heimescreate