title: Python urllib2 URLError exception?
body: <p>I installed Python 2.6.2 earlier on a Windows XP machine and run the following code:</p>
  
  <pre><code>import urllib2
  import urllib
  
  page = urllib2.Request('http://www.python.org/fish.html')
  urllib2.urlopen( page )
  </code></pre>
  
  <p>I get the following error.</p>
  
  <pre><code>Traceback (most recent call last):&lt;br&gt;
    File "C:\Python26\test3.py", line 6, in &lt;module&gt;&lt;br&gt;
      urllib2.urlopen( page )&lt;br&gt;
    File "C:\Python26\lib\urllib2.py", line 124, in urlopen&lt;br&gt;
      return _opener.open(url, data, timeout)&lt;br&gt;
    File "C:\Python26\lib\urllib2.py", line 383, in open&lt;br&gt;
      response = self._open(req, data)&lt;br&gt;
    File "C:\Python26\lib\urllib2.py", line 401, in _open&lt;br&gt;
      '_open', req)&lt;br&gt;
    File "C:\Python26\lib\urllib2.py", line 361, in _call_chain&lt;br&gt;
      result = func(*args)&lt;br&gt;
    File "C:\Python26\lib\urllib2.py", line 1130, in http_open&lt;br&gt;
      return self.do_open(httplib.HTTPConnection, req)&lt;br&gt;
    File "C:\Python26\lib\urllib2.py", line 1105, in do_open&lt;br&gt;
      raise URLError(err)&lt;br&gt;
  URLError: &lt;urlopen error [Errno 11001] getaddrinfo failed&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;
  </code></pre>