[issue7978] SocketServer doesn't handle syscall interruption

Vetoshkin Nikita report at bugs.python.org
Mon Apr 5 07:37:00 CEST 2010


Vetoshkin Nikita <nikita.vetoshkin at gmail.com> added the comment:

> What kind of signals can be received in real-life?

We use SIGUSR1 to reopen log files after rotation. sighandler works just fine, but after that Paste crashes.

I suppose that implementing silent syscall restart at select.select() level is a bad idea (explanation is given already), but some helper like untilConcludes in socket module might be useful.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7978>
_______________________________________


More information about the Python-bugs-list mailing list