Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #73434 > unrolled thread
| Started by | Robin Becker <robin@reportlab.com> |
|---|---|
| First post | 2014-06-19 15:19 +0100 |
| Last post | 2014-06-19 15:19 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: urllib/urllib2 support for specifying ip address Robin Becker <robin@reportlab.com> - 2014-06-19 15:19 +0100
| From | Robin Becker <robin@reportlab.com> |
|---|---|
| Date | 2014-06-19 15:19 +0100 |
| Subject | Re: urllib/urllib2 support for specifying ip address |
| Message-ID | <mailman.11154.1403187555.18130.python-list@python.org> |
On 19/06/2014 13:03, Chris Angelico wrote: ......... >> I can use python >= 3.3 if required. > > The main reason I ask is in case something's changed. Basically, what > I did was go to my Python 2 installation (which happens to be 2.7.3, > because that's what Debian Wheezy ships with - not sure why it hasn't > been updated beyond that), pull up urllib2.py, and step through > manually, seeing where the hostname gets turned into an IP address. > Hence, this code: ......... in practice this approach worked well with urllib in python27. -- Robin Becker
Back to top | Article view | comp.lang.python
csiph-web