R. David Murray added the comment:

The negative return code indicates the child was terminated by a signal, 
exactly as the example error message says.  The signal number is the positive 
value of the return code.  It makes more sense to negate it than it does to 
call abs, since we *know* it is negative.

IMO the example is correct as written.

----------
nosy: +r.david.murray
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to