Author pitrou
Recipients asvetlov, brian.curtin, pitrou, tim.golden
Date 2012-04-03.14:10:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333462226.23.0.725280599354.issue14484@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-04-03 14:10:26pitrousetrecipients: + pitrou, tim.golden, brian.curtin, asvetlov
2012-04-03 14:10:26pitrousetmessageid: <1333462226.23.0.725280599354.issue14484@psf.upfronthosting.co.za>
2012-04-03 14:10:25pitroulinkissue14484 messages
2012-04-03 14:10:25pitroucreate