Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
package_index: fix bug not catching some network timeouts #846
There are already so many exceptions catched, like socket errors (e.g. failure in name resolution) or HTTP errors. Depending on when a timeout occurs, it is either catched (URLError during the SSL handshake) or not (socket.error while getting a HTTP response).
When used by buildout, this fixes random failures when running in newest mode (which is the default case), or when the requested version is available in the download-cache.