History log of /external/python/cpython2/Lib/test/win_console_handler.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1f504f1d7a852d5eb127b6378ce5e861a3551b3b 08-Oct-2010 Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> Merged revisions 85315 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r85315 | hirokazu.yamamoto | 2010-10-08 17:38:15 +0900 | 1 line

Issue #9978: Wait until subprocess completes initialization. (Win32KillTests in test_os)
........
/external/python/cpython2/Lib/test/win_console_handler.py
a02653b38a142f844e6263b649134563cd6d28b1 29-Sep-2010 Brian Curtin <brian.curtin@gmail.com> Merged revisions 85109 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r85109 | brian.curtin | 2010-09-29 09:51:42 -0500 (Wed, 29 Sep 2010) | 4 lines

Fix #9978. WINFUNCTYPE is from ctypes, not from ctypes.wintypes.
r85073 changed the importing in wintypes to not use *, so the previous
usage here became even more incorrect.
........
/external/python/cpython2/Lib/test/win_console_handler.py
fce1d31d4710c0280e2b646f72174de79a713430 05-Apr-2010 Brian Curtin <brian.curtin@gmail.com> Fix a failing test on an apparently slow Windows buildbot.

On slower Windows machines, waiting 0.1 seconds can sometimes not be
enough for a subprocess to start and be ready to accept signals, causing
the test to fail. One buildbot is also choking on input()/EOFError so
that was changed to not depend on input.
/external/python/cpython2/Lib/test/win_console_handler.py
4564c08b26f3eb036ca758be5ca76af117e69e5b 03-Apr-2010 Benjamin Peterson <benjamin@python.org> set svn:eol-style on new file
/external/python/cpython2/Lib/test/win_console_handler.py
e5aa886b4449c9b2db93591c58511ea3620c9b67 03-Apr-2010 Brian Curtin <brian.curtin@gmail.com> Implement #1220212. Add os.kill support for Windows.

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.
/external/python/cpython2/Lib/test/win_console_handler.py