summaryrefslogtreecommitdiff
path: root/lib/python2.7/test/win_console_handler.pyo
blob: 2ed800141537d0309eeaa50eb1286c149668df2b (plain)
ofshex dumpascii
0000 03 f3 0d 0a 30 5c fc 55 63 00 00 00 00 00 00 00 00 05 00 00 00 40 00 00 00 73 0a 01 00 00 64 00 ....0\.Uc............@...s....d.
0020 00 5a 00 00 64 01 00 64 02 00 6c 01 00 6d 02 00 5a 02 00 6d 03 00 5a 03 00 01 64 01 00 64 03 00 .Z..d..d..l..m..Z..m..Z...d..d..
0040 6c 04 00 5a 04 00 64 01 00 64 03 00 6c 01 00 5a 01 00 64 01 00 64 03 00 6c 05 00 5a 05 00 64 01 l..Z..d..d..l..Z..d..d..l..Z..d.
0060 00 64 03 00 6c 06 00 5a 06 00 65 03 00 65 02 00 6a 07 00 65 02 00 6a 08 00 83 02 00 5a 09 00 64 .d..l..Z..e..e..j..e..j.....Z..d
0080 04 00 84 00 00 5a 0a 00 65 09 00 65 0a 00 83 01 00 5a 0b 00 65 01 00 6a 0c 00 6a 0d 00 6a 0e 00 .....Z..e..e.....Z..e..j..j..j..
00a0 5a 0e 00 65 09 00 65 02 00 6a 07 00 66 02 00 65 0e 00 5f 0f 00 65 02 00 6a 07 00 65 0e 00 5f 10 Z..e..e..j..f..e.._..e..j..e.._.
00c0 00 65 11 00 64 05 00 6b 02 00 72 06 01 65 0e 00 65 0b 00 64 06 00 83 02 00 73 d0 00 64 07 00 47 .e..d..k..r..e..e..d.....s..d..G
00e0 48 65 12 00 64 01 00 83 01 00 01 6e 00 00 65 05 00 6a 05 00 64 01 00 64 06 00 65 06 00 6a 13 00 He..d......n..e..j..d..d..e..j..
0100 64 06 00 19 83 03 00 5a 14 00 64 08 00 65 14 00 64 09 00 3c 78 0d 00 65 15 00 72 02 01 71 f9 00 d......Z..d..e..d..<x..e..r..q..
0120 57 6e 00 00 64 03 00 53 28 0a 00 00 00 73 59 01 00 00 53 63 72 69 70 74 20 75 73 65 64 20 74 6f Wn..d..S(....sY...Script.used.to
0140 20 74 65 73 74 20 6f 73 2e 6b 69 6c 6c 20 6f 6e 20 57 69 6e 64 6f 77 73 2c 20 66 6f 72 20 69 73 .test.os.kill.on.Windows,.for.is
0160 73 75 65 20 23 31 32 32 30 32 31 32 0a 0a 54 68 69 73 20 73 63 72 69 70 74 20 69 73 20 73 74 61 sue.#1220212..This.script.is.sta
0180 72 74 65 64 20 61 73 20 61 20 73 75 62 70 72 6f 63 65 73 73 20 69 6e 20 74 65 73 74 5f 6f 73 20 rted.as.a.subprocess.in.test_os.
01a0 61 6e 64 20 69 73 20 75 73 65 64 20 74 6f 20 74 65 73 74 20 74 68 65 0a 43 54 52 4c 5f 43 5f 45 and.is.used.to.test.the.CTRL_C_E
01c0 56 45 4e 54 20 61 6e 64 20 43 54 52 4c 5f 42 52 45 41 4b 5f 45 56 45 4e 54 20 73 69 67 6e 61 6c VENT.and.CTRL_BREAK_EVENT.signal
01e0 73 2c 20 77 68 69 63 68 20 72 65 71 75 69 72 65 73 20 61 20 63 75 73 74 6f 6d 20 68 61 6e 64 6c s,.which.requires.a.custom.handl
0200 65 72 0a 74 6f 20 62 65 20 77 72 69 74 74 65 6e 20 69 6e 74 6f 20 74 68 65 20 6b 69 6c 6c 20 74 er.to.be.written.into.the.kill.t
0220 61 72 67 65 74 2e 0a 0a 53 65 65 20 68 74 74 70 3a 2f 2f 6d 73 64 6e 2e 6d 69 63 72 6f 73 6f 66 arget...See.http://msdn.microsof
0240 74 2e 63 6f 6d 2f 65 6e 2d 75 73 2f 6c 69 62 72 61 72 79 2f 6d 73 36 38 35 30 34 39 25 32 38 76 t.com/en-us/library/ms685049%28v
0260 3d 56 53 2e 38 35 25 32 39 2e 61 73 70 78 20 66 6f 72 20 61 0a 73 69 6d 69 6c 61 72 20 65 78 61 =VS.85%29.aspx.for.a.similar.exa
0280 6d 70 6c 65 20 69 6e 20 43 2e 0a 69 ff ff ff ff 28 02 00 00 00 74 08 00 00 00 77 69 6e 74 79 70 mple.in.C..i....(....t....wintyp
02a0 65 73 74 0b 00 00 00 57 49 4e 46 55 4e 43 54 59 50 45 4e 63 01 00 00 00 01 00 00 00 02 00 00 00 est....WINFUNCTYPENc............
02c0 43 00 00 00 73 2d 00 00 00 7c 00 00 74 00 00 6a 01 00 6b 02 00 72 12 00 6e 17 00 7c 00 00 74 00 C...s-...|..t..j..k..r..n..|..t.
02e0 00 6a 02 00 6b 02 00 72 24 00 6e 05 00 64 01 00 47 48 64 02 00 53 28 03 00 00 00 73 38 00 00 00 .j..k..r$.n..d..GHd..S(....s8...
0300 48 61 6e 64 6c 65 20 61 20 73 69 67 20 65 76 65 6e 74 20 61 6e 64 20 72 65 74 75 72 6e 20 30 20 Handle.a.sig.event.and.return.0.
0320 74 6f 20 74 65 72 6d 69 6e 61 74 65 20 74 68 65 20 70 72 6f 63 65 73 73 73 0d 00 00 00 55 4e 4b to.terminate.the.processs....UNK
0340 4e 4f 57 4e 20 45 56 45 4e 54 69 00 00 00 00 28 03 00 00 00 74 06 00 00 00 73 69 67 6e 61 6c 74 NOWN.EVENTi....(....t....signalt
0360 0c 00 00 00 43 54 52 4c 5f 43 5f 45 56 45 4e 54 74 10 00 00 00 43 54 52 4c 5f 42 52 45 41 4b 5f ....CTRL_C_EVENTt....CTRL_BREAK_
0380 45 56 45 4e 54 28 01 00 00 00 74 03 00 00 00 73 69 67 28 00 00 00 00 28 00 00 00 00 73 5f 00 00 EVENT(....t....sig(....(....s_..
03a0 00 2f 62 75 69 6c 64 62 6f 74 2f 74 6d 70 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c ./buildbot/tmp/buildhost/install
03c0 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f /prebuilt/linux-x86_64/lib/pytho
03e0 6e 32 2e 37 2f 74 65 73 74 2f 77 69 6e 5f 63 6f 6e 73 6f 6c 65 5f 68 61 6e 64 6c 65 72 2e 70 79 n2.7/test/win_console_handler.py
0400 74 0d 00 00 00 5f 63 74 72 6c 5f 68 61 6e 64 6c 65 72 14 00 00 00 73 0c 00 00 00 00 02 0f 01 03 t...._ctrl_handler....s.........
0420 01 0f 01 03 02 05 01 74 08 00 00 00 5f 5f 6d 61 69 6e 5f 5f 69 01 00 00 00 73 23 00 00 00 55 6e .......t....__main__i....s#...Un
0440 61 62 6c 65 20 74 6f 20 61 64 64 20 53 65 74 43 6f 6e 73 6f 6c 65 43 74 72 6c 48 61 6e 64 6c 65 able.to.add.SetConsoleCtrlHandle
0460 72 74 01 00 00 00 31 69 00 00 00 00 28 16 00 00 00 74 07 00 00 00 5f 5f 64 6f 63 5f 5f 74 06 00 rt....1i....(....t....__doc__t..
0480 00 00 63 74 79 70 65 73 52 00 00 00 00 52 01 00 00 00 52 02 00 00 00 74 04 00 00 00 6d 6d 61 70 ..ctypesR....R....R....t....mmap
04a0 74 03 00 00 00 73 79 73 74 04 00 00 00 42 4f 4f 4c 74 05 00 00 00 44 57 4f 52 44 74 0e 00 00 00 t....syst....BOOLt....DWORDt....
04c0 48 61 6e 64 6c 65 72 52 6f 75 74 69 6e 65 52 06 00 00 00 74 0c 00 00 00 63 74 72 6c 5f 68 61 6e HandlerRoutineR....t....ctrl_han
04e0 64 6c 65 72 74 06 00 00 00 77 69 6e 64 6c 6c 74 08 00 00 00 6b 65 72 6e 65 6c 33 32 74 15 00 00 dlert....windllt....kernel32t...
0500 00 53 65 74 43 6f 6e 73 6f 6c 65 43 74 72 6c 48 61 6e 64 6c 65 72 74 08 00 00 00 61 72 67 74 79 .SetConsoleCtrlHandlert....argty
0520 70 65 73 74 07 00 00 00 72 65 73 74 79 70 65 74 08 00 00 00 5f 5f 6e 61 6d 65 5f 5f 74 04 00 00 pest....restypet....__name__t...
0540 00 65 78 69 74 74 04 00 00 00 61 72 67 76 74 01 00 00 00 6d 74 04 00 00 00 54 72 75 65 28 00 00 .exitt....argvt....mt....True(..
0560 00 00 28 00 00 00 00 28 00 00 00 00 73 5f 00 00 00 2f 62 75 69 6c 64 62 6f 74 2f 74 6d 70 2f 62 ..(....(....s_.../buildbot/tmp/b
0580 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 6c 69 6e 75 78 2d uildhost/install/prebuilt/linux-
05a0 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 74 65 73 74 2f 77 69 6e 5f 63 6f x86_64/lib/python2.7/test/win_co
05c0 6e 73 6f 6c 65 5f 68 61 6e 64 6c 65 72 2e 70 79 74 08 00 00 00 3c 6d 6f 64 75 6c 65 3e 09 00 00 nsole_handler.pyt....<module>...
05e0 00 73 26 00 00 00 06 02 16 01 0c 01 0c 01 0c 01 0c 03 15 02 09 0a 0c 03 0f 01 12 01 0c 02 0c 02 .s&.............................
0600 0f 01 05 01 0d 03 1c 01 0a 03 09 01 ............