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 r.david.murray
Recipients asvetlov, brian.curtin, r.david.murray
Date 2012-04-03.14:35:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333463712.64.0.0926108233243.issue14480@psf.upfronthosting.co.za>
In-reply-to
Content
Hmm.  I would think it would be a good idea to have os.kill do posix emulation where that makes sense, it makes cross-platform usage easier.  That's what 'kill' with no signal does, right (kills the process, just like the posix default)?

The posix spec says "If sig is 0 (the null signal), error checking is performed but no signal is actually sent. The null signal can be used to check the validity of pid." So *signal* zero doesn't have any special meaning on posix, either, but it does have a special meaning to the kill command.

It seems like it would be nice to add support for that to the windows version, but I'm a little confused.  First you say that signal 0 has no special meaning, and then you say that it does (signal.CTRL_C_EVENT).  Which is it?
History
Date User Action Args
2012-04-03 14:35:12r.david.murraysetrecipients: + r.david.murray, brian.curtin, asvetlov
2012-04-03 14:35:12r.david.murraysetmessageid: <1333463712.64.0.0926108233243.issue14480@psf.upfronthosting.co.za>
2012-04-03 14:35:12r.david.murraylinkissue14480 messages
2012-04-03 14:35:11r.david.murraycreate