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 pmolina
Recipients pmolina
Date 2009-07-23.18:28:33
SpamBayes Score 1.3187238e-07
Marked as misclassified No
Message-id <>
I couldn't find anything like os.pid_exists() in Python 2.5/2.6, neither
in (this *could* be a dupe)

Do we have something like that?

Right now I'm doing this:

    os.kill(int(pid), 0)
    return True
except OSError:
    return False

I'd love to do the same without catching an exception (they're
expensive!), maybe in C?

Date User Action Args
2009-07-23 18:28:35pmolinasetrecipients: + pmolina
2009-07-23 18:28:35pmolinasetmessageid: <>
2009-07-23 18:28:34pmolinalinkissue6554 messages
2009-07-23 18:28:33pmolinacreate