[issue8808] imaplib should support SSL contexts

2011-05-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you! I've tweaked the patch slightly (mostly cosmetics (*)) and committed it to 3.3. I've left out the poplib doc changes, they could be committed separately. (*) 80-line character limit, calling logout() on the test server -- resolution: -> f

[issue8808] imaplib should support SSL contexts

2011-05-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset aba7d1f2d2a9 by Antoine Pitrou in branch 'default': Issue #8808: The IMAP4_SSL constructor now allows passing an SSLContext http://hg.python.org/cpython/rev/aba7d1f2d2a9 -- nosy: +python-dev ___ Python t

[issue8808] imaplib should support SSL contexts

2011-05-02 Thread Sijin Joseph
Sijin Joseph added the comment: Thanks Antoine. I've attached an updated patch. >> - the keyfile / certfile pair and the context parameter should be mutually exclusive (see e.g. the POP3_SSL constructor in Lib/poplib.py) [Sijin] - Yes, Thanks, I don't know why I didn't check POP3 impl before

[issue8808] imaplib should support SSL contexts

2011-05-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the patch. Comments: - the keyfile / certfile pair and the context parameter should be mutually exclusive (see e.g. the POP3_SSL constructor in Lib/poplib.py) - I don't think the remote test server used in test_imaplib supports client certificates,

[issue8808] imaplib should support SSL contexts

2011-04-27 Thread Sijin Joseph
Sijin Joseph added the comment: 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_con

[issue8808] imaplib should support SSL contexts

2011-04-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Is anyone working on this? I don't think so, you could try if you are interested. -- ___ Python tracker ___ _

[issue8808] imaplib should support SSL contexts

2011-04-25 Thread Sijin Joseph
Sijin Joseph added the comment: Is anyone working on this? -- nosy: +sijinjoseph ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue8808] imaplib should support SSL contexts

2011-04-24 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue8808] imaplib should support SSL contexts

2011-01-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> needs patch versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mai

[issue8808] imaplib should support SSL contexts

2010-05-24 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +janssen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8808] imaplib should support SSL contexts

2010-05-24 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue8808] imaplib should support SSL contexts

2010-05-24 Thread Antoine Pitrou
New submission from Antoine Pitrou : 3.2 introduces SSL contexts, which allow bundling SSL configuration options, certificates and private keys into a single (potentially long-lived) structure. http://docs.python.org/dev/py3k/library/ssl.html#ssl.SSLContext The IMAP4_SSL constructor should allo