HEX
Server: Apache
System: Linux beluga.o2switch.net 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: sc3naki1272 (1113)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: //usr/lib64/python2.7/test/win_console_handler.pyc
�
zfc@s
dZddlmZmZddlZddlZddlZddlZeejej�Z	d�Z
e	e
�Zejj
jZe	ejfe_eje_edkreed�s�dGHed�nejddejd�Zded	<x
erq�WndS(
sYScript used to test os.kill on Windows, for issue #1220212

This script is started as a subprocess in test_os and is used to test the
CTRL_C_EVENT and CTRL_BREAK_EVENT signals, which requires a custom handler
to be written into the kill target.

See http://msdn.microsoft.com/en-us/library/ms685049%28v=VS.85%29.aspx for a
similar example in C.
i����(twintypestWINFUNCTYPENcCs-|tjkrn|tjkr$ndGHdS(s8Handle a sig event and return 0 to terminate the processs
UNKNOWN EVENTi(tsignaltCTRL_C_EVENTtCTRL_BREAK_EVENT(tsig((s0/usr/lib64/python2.7/test/win_console_handler.pyt
_ctrl_handlerst__main__is#Unable to add SetConsoleCtrlHandlert1i(t__doc__tctypesRRRtmmaptsystBOOLtDWORDtHandlerRoutineRtctrl_handlertwindlltkernel32tSetConsoleCtrlHandlertargtypestrestypet__name__texittargvtmtTrue(((s0/usr/lib64/python2.7/test/win_console_handler.pyt<module>	s&