Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #71114
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!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.028 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'instance.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '.........': 0.16; 'cleaner': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.18; 'code.': 0.18; '3.0': 0.19; 'possible,': 0.19; 'header:User-Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'wonder': 0.29; 'lines': 0.31; 'class': 0.32; 'but': 0.35; 'add': 0.35; 'there': 0.35; 'subject:data': 0.36; 'done': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'ian': 0.60; 'worry': 0.60; 'director': 0.61; 'first': 0.61; 'received:109': 0.72; 'special': 0.74; '3.4': 0.84; 'opener': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Robin Becker <robin@reportlab.com> |
| Subject | Re: data: protocol |
| Date | Thu, 08 May 2014 17:52:10 +0100 |
| References | <mailman.9731.1399459361.18130.python-list@python.org> <536afe13$0$11109$c3e8da3@news.astraweb.com> <536B5D99.1020509@chamonix.reportlab.co.uk> <CALwzidnL6ct6-P=cTWTkCeEmGTb+UKRn+13_rU+DPydAupuvgg@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | 109.174.168.73 |
| User-Agent | Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
| In-Reply-To | <CALwzidnL6ct6-P=cTWTkCeEmGTb+UKRn+13_rU+DPydAupuvgg@mail.gmail.com> |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.9788.1399567943.18130.python-list@python.org> (permalink) |
| Lines | 16 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1399567943 news.xs4all.nl 2960 [2001:888:2000:d::a6]:60226 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:71114 |
Show key headers only | View raw
On 08/05/2014 16:07, Ian Kelly wrote: ........ > The DataHandler class in 3.4 is all of 14 lines of code. My first which makes me wonder why the old URLopener is still there and why all this wasn't done before 3.0 appeared. > instinct would be to backport that and add it to some OpenerDirector > instance. > Using a director would be possible, but it's not much cleaner than special casing the function and I don't have to worry about which opener to use; I use the one provided by the user -- Robin Becker
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
data: protocol Robin Becker <robin@reportlab.com> - 2014-05-07 11:42 +0100
Re: data: protocol Steven D'Aprano <steve@pearwood.info> - 2014-05-08 03:46 +0000
Re: data: protocol Robin Becker <robin@reportlab.com> - 2014-05-08 11:34 +0100
Re: data: protocol Ian Kelly <ian.g.kelly@gmail.com> - 2014-05-08 09:07 -0600
Re: data: protocol Robin Becker <robin@reportlab.com> - 2014-05-08 17:52 +0100
csiph-web