This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients giampaolo.rodola
Date 2009-02-20.21:51:49
SpamBayes Score 1.4042462e-10
Marked as misclassified No
Message-id <1235166711.41.0.166565157131.issue5333@psf.upfronthosting.co.za>
In-reply-to
Content
On Linux Ubuntu equipped with Python 2.6.1 I get this:

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


IMHO the latter case should raise "No such process" for consistency or,
at least ValueError, but surely not returning None.
History
Date User Action Args
2009-02-20 21:51:51giampaolo.rodolasetrecipients: + giampaolo.rodola
2009-02-20 21:51:51giampaolo.rodolasetmessageid: <1235166711.41.0.166565157131.issue5333@psf.upfronthosting.co.za>
2009-02-20 21:51:49giampaolo.rodolalinkissue5333 messages
2009-02-20 21:51:49giampaolo.rodolacreate