Robin Becker wrote: > if I leave out the signal.signal(signal.SIGALRM,signal.SIG_IGN) then the > timeout function gets called anyway. Yes, it needs some more stuff around it to make it useful. Probably you also want the signal handler to raise an exception and catch it somewhere rather than exiting the process. -- Greg