Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #40280
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:skip:c 10': 0.07; 'python': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'from:addr:pitrou.net': 0.16; 'from:addr:solipsis': 0.16; 'from:name:antoine pitrou': 0.16; 'message-id:@post.gmane.org': 0.16; 'received:213.41.240': 0.16; 'received:213.41.240.54': 0.16; 'received:80.91.229.3': 0.16; 'received:charlus.yi.org': 0.16; 'received:plane.gmane.org': 0.16; 'received:yi.org': 0.16; 'martin': 0.16; '>>>': 0.18; 'import': 0.21; 'questions:': 0.22; 'feature': 0.24; 'header:User-Agent:1': 0.26; 'thanks!': 0.26; 'correct': 0.28; 'header:X-Complaints-To:1': 0.28; 'lines': 0.28; 'writes:': 0.29; 'yes.': 0.29; 'no,': 0.29; 'url:python': 0.32; 'skip:s 30': 0.33; 'to:addr:python-list': 0.33; 'there': 0.35; 'received:org': 0.36; 'url:org': 0.36; 'url:library': 0.36; 'should': 0.36; 'charset:us-ascii': 0.36; 'option': 0.37; 'two': 0.37; 'url:docs': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'more': 0.63; 'maintenance': 0.65; 'subjectcharset:utf-8': 0.72; 'subject::': 0.83; 'antoine.': 0.84; 'releases.': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Antoine Pitrou <solipsis@pitrou.net> |
| Subject | Re: IMAP4_SSL and OpenSSL compatibility |
| Date | Fri, 1 Mar 2013 19:03:42 +0000 (UTC) |
| References | <20130225224327.GA10266@fama.tangosoft.com> <loom.20130226T130328-127@post.gmane.org> <20130226175741.207720rbieqlm6x1@webmail.in-berlin.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | sea.gmane.org |
| User-Agent | Loom/3.14 (http://gmane.org/) |
| X-Loom-IP | 213.41.240.54 (Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2745.1362164643.2939.python-list@python.org> (permalink) |
| Lines | 25 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1362164643 news.xs4all.nl 6888 [2001:888:2000:d::a6]:51302 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:40280 |
Show key headers only | View raw
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