Author giampaolo.rodola
Recipients giampaolo.rodola, janssen, pitrou
Date 2010-05-24.18:48:23
SpamBayes Score 0.00790782
Marked as misclassified No
Message-id <1274726906.11.0.0574287272309.issue8806@psf.upfronthosting.co.za>
In-reply-to
Content
I'm assigning this one to me.
Btw, before writing anything I think it would be better to decide what to do first, possibly by adopting the same approach everywhere (smtplib, imaplib, poplib, urllib and http.client).

My proposal: 

- the user should still be able to use keyfile and certfile if desired, they're quicker to use and backward compatibility must be maintained.

- SSL context can be provided by passing a new "context" argument to the constructor.

- if context arg is passed FTP_TLS.ssl_version should be ignored and SSLContext.protocol used instead

- keyfile/certfile and context arguments should be mutually exclusive (ValueError)


Makes sense?
History
Date User Action Args
2010-05-24 18:48:26giampaolo.rodolasetrecipients: + giampaolo.rodola, janssen, pitrou
2010-05-24 18:48:26giampaolo.rodolasetmessageid: <1274726906.11.0.0574287272309.issue8806@psf.upfronthosting.co.za>
2010-05-24 18:48:24giampaolo.rodolalinkissue8806 messages
2010-05-24 18:48:24giampaolo.rodolacreate