| Server IP : 118.27.122.248 / Your IP : 216.73.216.36 Web Server : Apache System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64 User : c9415830 ( 11735) PHP Version : 8.4.17 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python27/lib64/python2.7/test/ |
Upload File : |
� �q2_c @ s d Z d d l m Z m Z d d l Z d d l Z d d l Z d d l Z e e j e j � Z d � Z e e � Z e j j j Z e e j f e _ e j e _ e d k re e d � s� d GHe d � n e j d d e j d � Z d e d <x e rq� Wn d S( sY Script 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����( t wintypest WINFUNCTYPENc C s- | t j k r n | t j k r$ n d GHd S( s8 Handle a sig event and return 0 to terminate the processs UNKNOWN EVENTi ( t signalt CTRL_C_EVENTt CTRL_BREAK_EVENT( t sig( ( s= /opt/alt/python27/lib64/python2.7/test/win_console_handler.pyt _ctrl_handler s t __main__i s# Unable to add SetConsoleCtrlHandlert 1i ( t __doc__t ctypesR R R t mmapt syst BOOLt DWORDt HandlerRoutineR t ctrl_handlert windllt kernel32t SetConsoleCtrlHandlert argtypest restypet __name__t exitt argvt mt True( ( ( s= /opt/alt/python27/lib64/python2.7/test/win_console_handler.pyt <module> s&