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 sijinjoseph
Recipients giampaolo.rodola, janssen, jcea, pitrou, sijinjoseph
Date 2011-04-27.20:47:48
SpamBayes Score 4.0801806e-12
Marked as misclassified No
Message-id <1303937269.56.0.923533246133.issue8808@psf.upfronthosting.co.za>
In-reply-to
Content
I am attaching a patch for the default branch that adds a ssl_context parameter to IMAP4_SSL. Also added a couple of tests to test_imaplib to test the existing ctor with certfile and file and also the new one that accepts an SSLContext.

Currently if the ssl_context param is provided then the keyfile and certfile are ignored, I wasn't sure if the ssl_context should be loaded with the certfile if that is provided along with the ssl_context.

If this looks ok, I can add something similar for smtplib as well.
History
Date User Action Args
2011-04-27 20:47:49sijinjosephsetrecipients: + sijinjoseph, jcea, janssen, pitrou, giampaolo.rodola
2011-04-27 20:47:49sijinjosephsetmessageid: <1303937269.56.0.923533246133.issue8808@psf.upfronthosting.co.za>
2011-04-27 20:47:48sijinjosephlinkissue8808 messages
2011-04-27 20:47:48sijinjosephcreate