Message157398
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. |
|
Date |
User |
Action |
Args |
2012-04-03 07:23:14 | asvetlov | set | recipients:
+ asvetlov |
2012-04-03 07:23:14 | asvetlov | set | messageid: <1333437794.42.0.926195578505.issue14480@psf.upfronthosting.co.za> |
2012-04-03 07:23:13 | asvetlov | link | issue14480 messages |
2012-04-03 07:23:13 | asvetlov | create | |
|