text_combined: john j lee qyopoboxcom httppythonorgsf2451 new timeout support 26 makes use new function socketcreate_connection socketcreate_connection provides way disable timeouts relying socketgetdefaulttimeout returning none unfortunate purpose new timeout support allow control timeouts without reliance global state setdefaultsocketcreate_connection always call socksettimeout timeout passed create_connection unless special nonnone value passed indicating global default used specific modules may use special nonnone value required preserve backwardscompatibility facundo doesnt seem agree understand correctly objects use special value none argument value think avoiding minor complication secondary avoiding gratuitously imposing global state users needed much existing code uses setdefaulttimeout legacy code expose socket timeout course code changed immediately otherwise wait long facundo valuable work course often code calls socketsetdefaulttimeoutsome_non_none_value wants default timeout everything isnt always case standard library modules expose timeout feature make assumption example application might want set timeout nonessential network operation another example useful poorlywritten library code might call setdefaulttimeout also istm theres big difference nobody contributed time implement feature one hand deliberately imposing global socket timeout state users facundo indicates tracker discussion 2451 decision made doesnt recall exactly post directed found archive thread sorry nonpythonorg url httpwwwgossamerthreadscomlistspythondev555039dopost_view_threaded555039 discussion issue raised dont see resolution answers objection made issue 2451 anyway apologies advance decision takes account objection want thank facundo adding timeout support modules httplib also want loudly complain detail john _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom wed 06 aug 2008 192855 0000 pythondev httplib c timeouts global state