Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #40280
| From | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| Subject | Re: IMAP4_SSL and OpenSSL compatibility |
| Date | 2013-03-01 19:03 +0000 |
| References | <20130225224327.GA10266@fama.tangosoft.com> <loom.20130226T130328-127@post.gmane.org> <20130226175741.207720rbieqlm6x1@webmail.in-berlin.de> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2745.1362164643.2939.python-list@python.org> (permalink) |
W. Martin Borgert <debacle <at> debian.org> writes:
> >
> > There is already the ssl_context option for that:
> > http://docs.python.org/3.3/library/imaplib.html#imaplib.IMAP4_SSL
>
> Many thanks! Two more questions:
>
> 1. Is there any plan to backport this Python >= 3.3 feature to
> Python 2?
No, we don't backport new features to maintenance releases.
> 2. Would the following lines be correct for Python 3.3?
>
> >>> import imaplib
> >>> IMAP4_SSL("192.168.1.1.", ssl_context =
> SSLContext(ssl.PROTOCOL_SSLv3))
It should be, yes.
Regards
Antoine.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: IMAP4_SSL and OpenSSL compatibility Antoine Pitrou <solipsis@pitrou.net> - 2013-03-01 19:03 +0000
csiph-web