Jerzy Kozera <jerzy.koz...@gmail.com> added the comment:

I forgot to mention my patch is 3.3-only, sorry - it depends on changes from 
#12555 (http://hg.python.org/cpython/rev/41a1de81ef2b#l18.21 to be precise). To 
support 3.2 and 2.7:
 (1) select.error must be caught as in the original patch,
 (2) e.args[0] must be used - select.error doesn't have 'errno' attribute.
Should I prepare the patch for 3.2 and 2.7?

Regarding not updating the timeout, it was already mentioned above. Though as 
an afterthought, it might be worrying that if the process is receiving repeated 
signals with interval between them less than timeout, we might fall into 
infinite loop of select() when it should timeout, but that is probably very 
obscure case.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7978>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to