Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #73435

Re: urllib/urllib2 support for specifying ip address

References <53A2ABBB.3080907@chamonix.reportlab.co.uk> <CAPTjJmosrF1pKKEiLdPg_XOwmZMNMtgH13YipSxJWg-VZ9kAkg@mail.gmail.com> <53A2CECB.6060605@chamonix.reportlab.co.uk> <CAPTjJmq+e9FCu90hmfRbUW3+r5rrtcSdqsFpANaqa_f4gGhEHA@mail.gmail.com> <53A2F159.8070809@chamonix.reportlab.co.uk>
Date 2014-06-20 00:23 +1000
Subject Re: urllib/urllib2 support for specifying ip address
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.11155.1403187820.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Fri, Jun 20, 2014 at 12:19 AM, Robin Becker <robin@reportlab.com> wrote:
> in practice [monkeypatching socket] worked well with urllib in python27.

Excellent! That's empirical evidence of success, then.

Like with all monkey-patching, you need to keep it as visible as
possible, but if your driver script is only a page or two of code, it
should be pretty clear what's going on.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: urllib/urllib2 support for specifying ip address Chris Angelico <rosuav@gmail.com> - 2014-06-20 00:23 +1000

csiph-web