hello! In <https://docs.python.org/2/library/smtplib.html#smtplib.SMTP.starttls> I read:: "If keyfile and certfile are provided, these are passed to the socket module’s ssl() function." socket.ssl() exists, though it is not documented (not even in /dev/library/socket) and furthermore, the link on ssl() points to the ssl module, which is just confusing. maker: open an issue. (I'm noising ap and chris because afaik they were working on the latest ssl security stuff)
Remove the reference, you mean? As in just delete the confusing line? Since we want to encourage people to use the context, that sounds reasonable for 3.x at least.
"R. David Murray" <report@bugs.python.org> writes: > Since we want to encourage people to use the context, that sounds > reasonable for 3.x at least. Concerning this specific proposition, I really don't see the point in having .starttls() not simply accepting a SSLContext as argument, as imaplib.IMAP4.starttls is already doing, for example.