-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/07/10 03:55, P.J. Eby wrote: > Not a bad idea. My main sticking point for adding this to easy_install > is that it doesn't currently maintain any state like this, and there's > no obvious place to put it. Silently rewriting config files would be > evil, and given that distutils has three layers of config files, it's > never really clear which one you'd want to write to anyway. Most > likely, I'll need to just use "try the default or specified one first, > then fall back to randomly-selected mirrors.
You can try all in parallel (threads!), choose the faster and send the request to it. If that fails, try again, discarding that node. If you have discarded all servers, start over again a couple of times. If that fails, report failure to the user and surrender. - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ [email protected] - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:[email protected] _/_/ _/_/ _/_/_/_/_/ . _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQCVAwUBTEe2oJlgi5GaxT1NAQJX/gQAkXPc71I317wpv2VPyrh9sErHWWG27vXb owuAvwaQkZV2WvQBILmyBP9Avu6W2ZPwej+R+CGaK+unnJhUaczinvHozqTNwHUM fTd4Fc6GNJORsQPxupbvMfaVJykbnM6LdoXTdW2y/nu/ck9YxIyalQ2Q00WAoTL0 uBsd0Mc08VQ= =1Yzm -----END PGP SIGNATURE----- _______________________________________________ Catalog-SIG mailing list [email protected] http://mail.python.org/mailman/listinfo/catalog-sig
