You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That check is actually unnecessary because of what comes next:
https://code.google.com/p/psutil/source/browse/trunk/psutil/_psposix.py?spec=svn1562&r=1551#22
If something different than a number is passed "if pid < 0:" will
automatically raise TypeError on python 3 and os.kill() will do the same on
both python 2 and 3:
>>> os.kill('x', 0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: an integer is required
>>>
Thanks anyway.
From dbon...@gmail.com on February 21, 2013 22:43:33
Attachment: _psposix.py.patch
Original issue: http://code.google.com/p/psutil/issues/detail?id=352
The text was updated successfully, but these errors were encountered: