jeffrey yasskin ahzkvfwpgmailcom tue mar 4 2008 725 pm trent nelson wrote r61099 added following trunklibtesttest_socketserverpy __name__ __main__ test_main signalalarm3 shutdown shouldnt take 3 seconds actually signalalarm introduced place revision understand intent commit speed runtime test something like 28s 03s quoted commit log fwiw runtime test following patch windows 0125s yep alarm prevent would deadlocks running forever sorry breaking unix patch looks fine want submit shall index test_socketserverpy test_socketserverpy revision 61233 test_socketserverpy working copy 286 289 have_unix_sockets hasattrsocket af_unix have_forking hasattros fork osname os2 def signal_alarmn hasattrsignal alarm signalalarmn def receivesock n timeout20 r w x selectselectsock timeout 997 1027 test socket servers def setupself signalalarm20 kill deadlocks 20 seconds signal_alarm20 kill deadlocks 20 seconds selfport_seed 0 selftest_files 1127 1157 except oserror pass selftest_files signalalarm0 didnt deadlock signal_alarm0 didnt deadlock def pickaddrself proto proto socketaf_inet 2674 2704 __name__ __main__ test_main signalalarm3 shutdown shouldnt take 3 seconds signal_alarm3 shutdown shouldnt take 3 seconds _______________________________________________ pythondev mailing list pythondevpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevjyasskin40gmailcom namasté jeffrey yasskin httpjeffreyyasskininfo _______________________________________________ pythondev mailing list pythondevpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom tue 05 aug 2008 192809 0800 pythondev signalalarm3 trunk test_socketserverpy