[issue5333] os.kill() inconsistency

Giampaolo Rodola' report at bugs.python.org
Fri Feb 20 22:52:27 CET 2009


Giampaolo Rodola' <billiejoex at users.sourceforge.net> added the comment:

Oddly, by passing -2 as PID no such process is raised:

>>> os.kill(-2, 0)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
OSError: [Errno 3] No such process
>>>

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


More information about the Python-bugs-list mailing list