Re: using filedescriptors in SIGINT signal handler

2005-09-13 Thread Bram Stolk
[EMAIL PROTECTED] wrote: > If you're talking about a Python function registered as a handler by > signal.signal, then there should not be any restrictions on what you do > in that function. > > Here's a small program I wrote: > #-

Re: using filedescriptors in SIGINT signal handler

2005-09-13 Thread jepler
If you're talking about a Python function registered as a handler by signal.signal, then there should not be any restrictions on what you do in that function. Here's a small program I wrote: # import os, signal, time def h(*a