Re: interrupted system call w/ Queue.get

2011-03-22 Thread Philip Winston
On Feb 18, 10:23 am, Jean-Paul Calderone wrote: > The exception is caused by a syscall returning EINTR.  A syscall will > return EINTR when a signal arrives and interrupts whatever that > syscall > was trying to do.  Typically a signal won't interrupt the syscall > unless you've installed a signal

interrupted system call w/ Queue.get

2011-02-17 Thread Philip Winston
We have a multiprocess Python program that uses Queue to communicate between processes. Recently we've seen some errors while blocked waiting on Queue.get: IOError: [Errno 4] Interrupted system call What causes the exception? Is it necessary to catch this exception and manually retry the Queue