New submission from Antoine Pitrou <pit...@free.fr>: Here is an excerpt from the os.kill implementation under Windows (in win32_kill(), posixmodule.c):
if (sig == CTRL_C_EVENT || sig == CTRL_BREAK_EVENT) { if (GenerateConsoleCtrlEvent(sig, pid) == 0) { err = GetLastError(); PyErr_SetFromWindowsErr(err); } else Py_RETURN_NONE; } It seems there is a missing return in the first branch, when GenerateConsoleCtrlEvent() fails. ---------- components: Windows messages: 157419 nosy: asvetlov, brian.curtin, pitrou, tim.golden priority: normal severity: normal status: open title: missing return in win32_kill? type: behavior versions: Python 2.7, Python 3.2, Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14484> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com