New submission from Andrew Svetlov <andrew.svet...@gmail.com>:

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.

----------
components: Library (Lib), Windows
keywords: easy
messages: 157398
nosy: asvetlov
priority: normal
severity: normal
status: open
title: os.kill on Windows should accept zero as signal
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14480>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to