Message157398
| 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: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 |
|