Don't attempt to treat OSError, IOError or socket.error as response objects (this relates to an old urllib2 bug -- these exceptions should never really have been raised by urllib2.OpenerDirector.open in the first place)
Don't attempt to treat OSError, IOError or socket.error as response objects (this relates to an old urllib2 bug -- these exceptions should never really have been raised by urllib2.OpenerDirector.open in the first place)

python-mechanize/mechanize,python-mechanize/mechanize