Re: [Python-Dev] Issue #7978, unexpected EINTR-related exceptions

2010-04-12 Thread Martin (gzlist)
On 08/04/2010, Victor Stinner wrote: > Le jeudi 08 avril 2010 08:11:09, Yaniv Aknin a écrit : >> Issue #7978 (http://bugs.python.org/issue7978) describes a bug in >> SocketServer where a received signal in SocketServer's select() call >> will raise an uncaught exception due to EINTR. The proposed

Re: [Python-Dev] Issue #7978, unexpected EINTR-related exceptions

2010-04-08 Thread Victor Stinner
Le jeudi 08 avril 2010 08:11:09, Yaniv Aknin a écrit : > Issue #7978 (http://bugs.python.org/issue7978) describes a bug in > SocketServer where a received signal in SocketServer's select() call > will raise an uncaught exception due to EINTR. The proposed solution > was to wrap SocketServer's selec

[Python-Dev] Issue #7978, unexpected EINTR-related exceptions

2010-04-07 Thread Yaniv Aknin
Issue #7978 (http://bugs.python.org/issue7978) describes a bug in SocketServer where a received signal in SocketServer's select() call will raise an uncaught exception due to EINTR. The proposed solution was to wrap SocketServer's select() with something like twisted's untilConcludes function, whic