Author asvetlov
Recipients asvetlov
Date 2012-04-03.07:23:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333437794.42.0.926195578505.issue14480@psf.upfronthosting.co.za>
In-reply-to
Content
Starting from 3.2 Python supports os.kill for Windows.
It process signal.CTRL_C_EVENT and signal.CTRL_BREAK_EVENT, and kills pid for all other signals.

Posix allows to pass zero signal to check pid for existing.
It will be nice to keep that behavior for Windows also.
The patch should be trivial: just don't call TerminateProcess in Modules/posixmodule.c:win32_kill if sig is zero.
History
Date User Action Args
2012-04-03 07:23:14asvetlovsetrecipients: + asvetlov
2012-04-03 07:23:14asvetlovsetmessageid: <1333437794.42.0.926195578505.issue14480@psf.upfronthosting.co.za>
2012-04-03 07:23:13asvetlovlinkissue14480 messages
2012-04-03 07:23:13asvetlovcreate