[issue11266] asyncore does not handle EINTR in recv, send, connect, accept,

Марк Коренберг report at bugs.python.org
Mon Feb 21 06:31:31 CET 2011


New submission from Марк Коренберг <socketpair at gmail.com>:

in spite of usage of non-blocking IO, syscalls may return EINTR if signal arrive during some syscalls.

It is desirable to re-call syscall after receiving EINTR. Trivial loops should be implemented around (recv, send, connect, accept)

----------
components: Library (Lib)
messages: 128940
nosy: mmarkk
priority: normal
severity: normal
status: open
title: asyncore does not handle EINTR in recv, send, connect, accept,
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3

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


More information about the Python-bugs-list mailing list