
At 05:39 PM 1/23/2006 +0100, Ronald Oussoren wrote:
On 23-jan-2006, at 17:31, Phillip J. Eby wrote:
A little experimentation with the socket module shows that I can get the full list of mirror IPs from Python, so I've changed setuptools in SVN to just randomly select one to use, which should fix the sticking problem on Windows (and any other platform where it occurs).
It's not a perfect solution, since of course you can still end up with a bad mirror for some download, but I'm not sure what else to do, short of having some kind of option/configuration to control mirror selection.
You could try several mirrors before giving up. I haven't looked at the sourcecode for setuptools yet, so I don't know if this is feaseable.
It's probably feasible, but a bit of a pain to get set up, and an even bigger pain to test. :) But I've added it to my feature list.