[issue25559] signal.siginterrupt description has typo

New submission from Tom Meagher: "if flag is False, system calls will be restarted when interrupted by signal signalnum, otherwise system calls will be interrupted." This sentence doesn't make any sense as written. I assume there should be a "not" in there somewhere, but I'm unclear if signal calls are not interrupted when the flag is false, or not interrupted when they are true. ---------- assignee: docs@python components: Documentation messages: 254121 nosy: Tom Meagher, docs@python priority: normal severity: normal status: open title: signal.siginterrupt description has typo type: enhancement _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue25559> _______________________________________

R. David Murray added the comment: The first phase says "restarted when interrupted", the second phrase says "interrupted". So the difference is whether the system call is restarted or left in interrupted state (ie: the signal will propagate, which is confirmed by the second paragraph). I can't see a way to phrase it any more clearly, can you? ---------- nosy: +r.david.murray _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue25559> _______________________________________

STINNER Victor added the comment: For more information on how Python handles signals, you can also read the PEP 475 (which changed how Python 3.5 handles signals ;-)) ---------- nosy: +haypo _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue25559> _______________________________________
participants (3)
-
R. David Murray
-
STINNER Victor
-
Tom Meagher