title: Mechanize Browser Timeout Not Working
body: <p>I am having an issue with <code>mechanize</code>'s <code>timeout</code> feature. On most pages it works perfectly, if the URL fails to load in a reasonable amount of time it raises an error: <code>urllib2.URLError: &lt;urlopen error timed out&gt;</code>. However, on certain pages the timer does not work and the program becomes unresponsive even to a keyboard interrupt. Here is an example page where that occurs:</p>
  
  <pre><code>import mechanize
  
  url = 'https://web.archive.org/web/20141104183547/http://www.dallasnews.com/'
  
  br = mechanize.Browser()
  br.set_handle_robots(False)
  br.addheaders = [('User-agent', 'Firefox')]
  html = br.open(url, timeout=0.01).read() #hangs on this page, timeout set extremely low to trigger timeout on all pages for debugging
  </code></pre>
  
  <p>First, does this script hang for other people for this particular URL? Second, what could be going wrong/how do I debug?</p>