Your IP : 216.73.216.213


Current Path : /opt/alt/python33/lib64/python3.3/test/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/test/__pycache__/win_console_handler.cpython-33.pyo

�
��f�c@sdZddlmZmZddlZddlZddlZddlZeejej�Z	dd�Z
e	e
�Zejj
jZe	ejfe_eje_edkreed�s�ed�ed	�nejd
dejd�Zded<xqndS(uYScript 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(uwintypesuWINFUNCTYPENcCs2|tjkrn|tjkr$n
td�dS(u8Handle a sig event and return 0 to terminate the processu
UNKNOWN EVENTi(usignaluCTRL_C_EVENTuCTRL_BREAK_EVENTuprint(usig((u=/opt/alt/python33/lib64/python3.3/test/win_console_handler.pyu
_ctrl_handlers
u
_ctrl_handleru__main__iu#Unable to add SetConsoleCtrlHandleri����i����(u__doc__uctypesuwintypesuWINFUNCTYPEusignalummapusysuBOOLuDWORDuHandlerRoutineu
_ctrl_handleructrl_handleruwindllukernel32uSetConsoleCtrlHandleruargtypesurestypeu__name__uprintuexituargvum(((u=/opt/alt/python33/lib64/python3.3/test/win_console_handler.pyu<module>	s&