[issue8956] Incorrect ValueError message for subprocess.Popen.send_signal() on Windows

2010-09-06 Thread Brian Curtin
Brian Curtin added the comment: Fixed in r84559 (py3k) and r84560 (release27-maint). -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker _

[issue8956] Incorrect ValueError message for subprocess.Popen.send_signal() on Windows

2010-06-09 Thread Brian Curtin
Brian Curtin added the comment: Good catch, I forgot to update that message when adding the other signal support. Would you rather see something more generic like "Unsupported signal" rather than start listing all of the signals? Another alternative is to allow any signal through including i

[issue8956] Incorrect ValueError message for subprocess.Popen.send_signal() on Windows

2010-06-09 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : def send_signal(self, sig): """Send a signal to the process """ if sig == signal.SIGTERM: self.terminate() elif sig == signal.CTRL_C_EVENT: os.kill(self.pid, signal.CTRL_C_EVENT