Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adding unittest.removeHandler function / decorator for removing the ↵ | Michael Foord | 2010-04-25 | 1 | -0/+21 |
| | | | | signal.SIGINT signal handler. With tests and docs. | ||||
* | Issue #8263: On freebsd6 the unittest 'break' test stops regrtest; skip it. | R. David Murray | 2010-04-17 | 1 | -0/+2 |
| | | | | | This is presumably related to issue 3864, and appears to be due to a platform bug on freebsd6. | ||||
* | Implement #1220212. Add os.kill support for Windows. | Brian Curtin | 2010-04-02 | 1 | -0/+2 |
| | | | | | | | | | | | | | | os.kill takes one of two newly added signals, CTRL_C_EVENT and CTRL_BREAK_EVENT, or any integer value. The events are a special case which work with subprocess console applications which implement a special console control handler. Any other value but those two will cause os.kill to use TerminateProcess, outright killing the process. This change adds win_console_handler.py, which is a script to implement SetConsoleCtrlHandler and applicable handler function, using ctypes. subprocess also gets another attribute which is a necessary flag to creationflags in Popen in order to send the CTRL events. | ||||
* | Addition of -b command line option to unittest for buffering stdout and ↵ | Michael Foord | 2010-04-02 | 1 | -4/+6 |
| | | | | stderr during test runs. | ||||
* | Addition of -c command line option to unittest, to handle ctrl-c during a ↵ | Michael Foord | 2010-03-26 | 1 | -0/+225 |
test run more elegantly |