[New-bugs-announce] [issue7978] SocketServer doesn't handle syscall interruption

Vetoshkin Nikita report at bugs.python.org
Sun Feb 21 20:14:55 CET 2010

New submission from Vetoshkin Nikita <nikita.vetoshkin at gmail.com>:

SocketServer's handle_request function uses "select" call to handle io, but sending POSIX signal will result in 'Interrupted system call' exception raised. After that Paste (http://pythonpaste.org/) http server will crash.
I suppose EINTR must be handled properly (i.e. syscall must be restarted silently) on SocketServer's side. That must be pretty easy task.

components: Library (Lib)
messages: 99676
nosy: nvetoshkin
severity: normal
status: open
title: SocketServer doesn't handle syscall interruption
type: crash
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list