python (3.12.0)

(root)/
lib/
python3.12/
test/
__pycache__/
win_console_handler.cpython-312.pyc

ΑedZddlmZmZddlZddlZddlZddlZeejejZ	dZ
e	e
ZejjjZe	ejfe_eje_edk(rBeedsededej
ddej(dZded<		y)	aYScript 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.
)wintypesWINFUNCTYPENcn|tjk(r	y|tjk(r	ytdy)z8Handle a sig event and return 0 to terminate the processz
UNKNOWN EVENTr)signalCTRL_C_EVENTCTRL_BREAK_EVENTprint)sigs L/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/test/win_console_handler.py
_ctrl_handlerrs=
f!!!

	

''	'
	o__main__z#Unable to add SetConsoleCtrlHandler)__doc__ctypesrrrmmapsysBOOLDWORDHandlerRoutinerctrl_handlerwindllkernel32SetConsoleCtrlHandlerargtypesrestype__name__r	exitargvmr
r<module>r#s)


X]]HNN;
m,

..DD"0(--!@ (

z q1
34R			"a!%AAaDr