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 <>
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.
Date User Action Args
2011-04-27 20:47:49sijinjosephsetrecipients: + sijinjoseph, jcea, janssen, pitrou, giampaolo.rodola
2011-04-27 20:47:49sijinjosephsetmessageid: <>
2011-04-27 20:47:48sijinjosephlinkissue8808 messages
2011-04-27 20:47:48sijinjosephcreate