home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 January / Gamestar_80_2006-01_dvd.iso / Dema / Civilization4 / data1.cab / Civ4DemoComponent / Assets / Python / System / traceback.pyc < prev    next >
Unknown  |  2005-11-09  |  10.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Python Compiled Bytecode (document/pythonCompiled) magic Supported
100% file python 2.4 byte-compiled default
99% file data default
100% TrID CPython 2.4 bytecode default
100% siegfried fmt/1110 Python Compiled File (2.4) default
100% detectItEasy Format: Python Compiled Module(2.4b1) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 6d f2 0d 0a 0b 36 9f 42 | 63 00 00 00 00 00 00 00 |m....6.B|c.......|
|00000010| 00 0e 00 00 00 40 00 00 | 00 73 30 01 00 00 64 00 |.....@..|.s0...d.|
|00000020| 00 5a 00 00 64 01 00 6b | 01 00 5a 01 00 64 01 00 |.Z..d..k|..Z..d..|
|00000030| 6b 02 00 5a 02 00 64 01 | 00 6b 03 00 5a 03 00 64 |k..Z..d.|.k..Z..d|
|00000040| 02 00 64 03 00 64 04 00 | 64 05 00 64 06 00 64 07 |..d..d..|d..d..d.|
|00000050| 00 64 08 00 64 09 00 64 | 0a 00 64 0b 00 64 0c 00 |.d..d..d|..d..d..|
|00000060| 64 0d 00 64 0e 00 64 0f | 00 67 0e 00 5a 04 00 64 |d..d..d.|.g..Z..d|
|00000070| 10 00 64 11 00 64 12 00 | 84 02 00 5a 05 00 64 01 |..d..d..|...Z..d.|
|00000080| 00 64 13 00 84 01 00 5a | 07 00 64 14 00 84 00 00 |.d.....Z|..d.....|
|00000090| 5a 08 00 64 01 00 64 01 | 00 64 15 00 84 02 00 5a |Z..d..d.|.d.....Z|
|000000a0| 09 00 64 01 00 64 16 00 | 84 01 00 5a 0a 00 64 01 |..d..d..|...Z..d.|
|000000b0| 00 64 17 00 84 01 00 5a | 0b 00 64 01 00 64 01 00 |.d.....Z|..d..d..|
|000000c0| 64 18 00 84 02 00 5a 0c | 00 64 01 00 64 19 00 84 |d.....Z.|.d..d...|
|000000d0| 01 00 5a 0d 00 64 1a 00 | 84 00 00 5a 0e 00 64 1b |..Z..d..|...Z..d.|
|000000e0| 00 84 00 00 5a 0f 00 64 | 01 00 64 01 00 64 1c 00 |....Z..d|..d..d..|
|000000f0| 84 02 00 5a 10 00 64 01 | 00 64 1d 00 84 01 00 5a |...Z..d.|.d.....Z|
|00000100| 11 00 64 01 00 64 01 00 | 64 1e 00 84 02 00 5a 12 |..d..d..|d.....Z.|
|00000110| 00 64 01 00 64 01 00 64 | 01 00 64 1f 00 84 03 00 |.d..d..d|..d.....|
|00000120| 5a 13 00 64 01 00 64 01 | 00 64 20 00 84 02 00 5a |Z..d..d.|.d ....Z|
|00000130| 14 00 64 01 00 64 01 00 | 64 21 00 84 02 00 5a 15 |..d..d..|d!....Z.|
|00000140| 00 64 22 00 84 00 00 5a | 16 00 64 01 00 53 28 23 |.d"....Z|..d..S(#|
|00000150| 00 00 00 73 40 00 00 00 | 45 78 74 72 61 63 74 2c |...s@...|Extract,|
|00000160| 20 66 6f 72 6d 61 74 20 | 61 6e 64 20 70 72 69 6e | format |and prin|
|00000170| 74 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 62 |t inform|ation ab|
|00000180| 6f 75 74 20 50 79 74 68 | 6f 6e 20 73 74 61 63 6b |out Pyth|on stack|
|00000190| 20 74 72 61 63 65 73 2e | 4e 74 0d 00 00 00 65 78 | traces.|Nt....ex|
|000001a0| 74 72 61 63 74 5f 73 74 | 61 63 6b 74 0a 00 00 00 |tract_st|ackt....|
|000001b0| 65 78 74 72 61 63 74 5f | 74 62 74 10 00 00 00 66 |extract_|tbt....f|
|000001c0| 6f 72 6d 61 74 5f 65 78 | 63 65 70 74 69 6f 6e 74 |ormat_ex|ceptiont|
|000001d0| 15 00 00 00 66 6f 72 6d | 61 74 5f 65 78 63 65 70 |....form|at_excep|
|000001e0| 74 69 6f 6e 5f 6f 6e 6c | 79 74 0b 00 00 00 66 6f |tion_onl|yt....fo|
|000001f0| 72 6d 61 74 5f 6c 69 73 | 74 74 0c 00 00 00 66 6f |rmat_lis|tt....fo|
|00000200| 72 6d 61 74 5f 73 74 61 | 63 6b 74 09 00 00 00 66 |rmat_sta|ckt....f|
|00000210| 6f 72 6d 61 74 5f 74 62 | 74 09 00 00 00 70 72 69 |ormat_tb|t....pri|
|00000220| 6e 74 5f 65 78 63 74 0a | 00 00 00 66 6f 72 6d 61 |nt_exct.|...forma|
|00000230| 74 5f 65 78 63 74 0f 00 | 00 00 70 72 69 6e 74 5f |t_exct..|..print_|
|00000240| 65 78 63 65 70 74 69 6f | 6e 74 0a 00 00 00 70 72 |exceptio|nt....pr|
|00000250| 69 6e 74 5f 6c 61 73 74 | 74 0b 00 00 00 70 72 69 |int_last|t....pri|
|00000260| 6e 74 5f 73 74 61 63 6b | 74 08 00 00 00 70 72 69 |nt_stack|t....pri|
|00000270| 6e 74 5f 74 62 74 09 00 | 00 00 74 62 5f 6c 69 6e |nt_tbt..|..tb_lin|
|00000280| 65 6e 6f 74 00 00 00 00 | 73 01 00 00 00 0a 63 03 |enot....|s.....c.|
|00000290| 00 00 00 03 00 00 00 03 | 00 00 00 43 00 00 00 73 |........|...C...s|
|000002a0| 15 00 00 00 7c 00 00 69 | 01 00 7c 01 00 7c 02 00 |....|..i|..|..|..|
|000002b0| 17 83 01 00 01 64 00 00 | 53 28 01 00 00 00 4e 28 |.....d..|S(....N(|
|000002c0| 04 00 00 00 74 04 00 00 | 00 66 69 6c 65 74 05 00 |....t...|.filet..|
|000002d0| 00 00 77 72 69 74 65 74 | 03 00 00 00 73 74 72 74 |..writet|....strt|
|000002e0| 0a 00 00 00 74 65 72 6d | 69 6e 61 74 6f 72 28 03 |....term|inator(.|
|000002f0| 00 00 00 52 0f 00 00 00 | 52 11 00 00 00 52 12 00 |...R....|R....R..|
|00000300| 00 00 28 00 00 00 00 28 | 00 00 00 00 74 21 00 00 |..(....(|....t!..|
|00000310| 00 41 73 73 65 74 73 2f | 50 79 74 68 6f 6e 2f 53 |.Assets/|Python/S|
|00000320| 79 73 74 65 6d 2f 74 72 | 61 63 65 62 61 63 6b 2e |ystem/tr|aceback.|
|00000330| 70 79 74 06 00 00 00 5f | 70 72 69 6e 74 0c 00 00 |pyt...._|print...|
|00000340| 00 73 02 00 00 00 00 01 | 63 02 00 00 00 06 00 00 |.s......|c.......|
|00000350| 00 07 00 00 00 43 00 00 | 00 73 77 00 00 00 7c 01 |.....C..|.sw...|.|
|00000360| 00 64 03 00 6a 08 00 6f | 0d 00 01 74 02 00 69 03 |.d..j..o|...t..i.|
|00000370| 00 7d 01 00 6e 01 00 01 | 78 56 00 7c 00 00 44 5d |.}..n...|xV.|..D]|
|00000380| 4e 00 5c 04 00 7d 03 00 | 7d 04 00 7d 02 00 7d 05 |N.\..}..|}..}..}.|
|00000390| 00 74 09 00 7c 01 00 64 | 01 00 7c 03 00 7c 04 00 |.t..|..d|..|..|..|
|000003a0| 7c 02 00 66 03 00 16 83 | 02 00 01 7c 05 00 6f 1b ||..f....|...|..o.|
|000003b0| 00 01 74 09 00 7c 01 00 | 64 02 00 7c 05 00 69 0a |..t..|..|d..|..i.|
|000003c0| 00 83 00 00 16 83 02 00 | 01 71 21 00 01 71 21 00 |........|.q!..q!.|
|000003d0| 57 64 03 00 53 28 04 00 | 00 00 73 79 00 00 00 50 |Wd..S(..|..sy...P|
|000003e0| 72 69 6e 74 20 74 68 65 | 20 6c 69 73 74 20 6f 66 |rint the| list of|
|000003f0| 20 74 75 70 6c 65 73 20 | 61 73 20 72 65 74 75 72 | tuples |as retur|
|00000400| 6e 65 64 20 62 79 20 65 | 78 74 72 61 63 74 5f 74 |ned by e|xtract_t|
|00000410| 62 28 29 20 6f 72 0a 20 | 20 20 20 65 78 74 72 61 |b() or. | extra|
|00000420| 63 74 5f 73 74 61 63 6b | 28 29 20 61 73 20 61 20 |ct_stack|() as a |
|00000430| 66 6f 72 6d 61 74 74 65 | 64 20 73 74 61 63 6b 20 |formatte|d stack |
|00000440| 74 72 61 63 65 20 74 6f | 20 74 68 65 20 67 69 76 |trace to| the giv|
|00000450| 65 6e 20 66 69 6c 65 2e | 73 1b 00 00 00 20 20 46 |en file.|s.... F|
|00000460| 69 6c 65 20 22 25 73 22 | 2c 20 6c 69 6e 65 20 25 |ile "%s"|, line %|
|00000470| 64 2c 20 69 6e 20 25 73 | 73 06 00 00 00 20 20 20 |d, in %s|s.... |
|00000480| 20 25 73 4e 28 0b 00 00 | 00 52 0f 00 00 00 74 04 | %sN(...|.R....t.|
|00000490| 00 00 00 4e 6f 6e 65 74 | 03 00 00 00 73 79 73 74 |...Nonet|....syst|
|000004a0| 06 00 00 00 73 74 64 65 | 72 72 74 0e 00 00 00 65 |....stde|rrt....e|
|000004b0| 78 74 72 61 63 74 65 64 | 5f 6c 69 73 74 74 08 00 |xtracted|_listt..|
|000004c0| 00 00 66 69 6c 65 6e 61 | 6d 65 74 06 00 00 00 6c |..filena|met....l|
|000004d0| 69 6e 65 6e 6f 74 04 00 | 00 00 6e 61 6d 65 74 04 |inenot..|..namet.|
|000004e0| 00 00 00 6c 69 6e 65 52 | 14 00 00 00 74 05 00 00 |...lineR|....t...|
|000004f0| 00 73 74 72 69 70 28 06 | 00 00 00 52 18 00 00 00 |.strip(.|...R....|
|00000500| 52 0f 00 00 00 52 1b 00 | 00 00 52 19 00 00 00 52 |R....R..|..R....R|
|00000510| 1a 00 00 00 52 1c 00 00 | 00 28 00 00 00 00 28 00 |....R...|.(....(.|
|00000520| 00 00 00 52 13 00 00 00 | 74 0a 00 00 00 70 72 69 |...R....|t....pri|
|00000530| 6e 74 5f 6c 69 73 74 10 | 00 00 00 73 12 00 00 00 |nt_list.|...s....|
|00000540| 00 02 00 01 0d 01 0d 01 | 07 00 12 01 06 01 14 01 |........|........|
|00000550| 07 01 63 01 00 00 00 07 | 00 00 00 05 00 00 00 43 |..c.....|.......C|
|00000560| 00 00 00 73 66 00 00 00 | 67 00 00 7d 02 00 78 59 |...sf...|g..}..xY|
|00000570| 00 7c 00 00 44 5d 51 00 | 5c 04 00 7d 03 00 7d 05 |.|..D]Q.|\..}..}.|
|00000580| 00 7d 01 00 7d 06 00 64 | 01 00 7c 03 00 7c 05 00 |.}..}..d|..|..|..|
|00000590| 7c 01 00 66 03 00 16 7d | 04 00 7c 06 00 6f 18 00 ||..f...}|..|..o..|
|000005a0| 01 7c 04 00 64 02 00 7c | 06 00 69 07 00 83 00 00 |.|..d..||..i.....|
|000005b0| 16 17 7d 04 00 6e 01 00 | 01 7c 02 00 69 08 00 7c |..}..n..|.|..i..||
|000005c0| 04 00 83 01 00 01 71 0d | 00 57 7c 02 00 53 28 04 |......q.|.W|..S(.|
|000005d0| 00 00 00 73 b2 01 00 00 | 46 6f 72 6d 61 74 20 61 |...s....|Format a|
|000005e0| 20 6c 69 73 74 20 6f 66 | 20 74 72 61 63 65 62 61 | list of| traceba|
|000005f0| 63 6b 20 65 6e 74 72 79 | 20 74 75 70 6c 65 73 20 |ck entry| tuples |
|00000600| 66 6f 72 20 70 72 69 6e | 74 69 6e 67 2e 0a 0a 20 |for prin|ting... |
|00000610| 20 20 20 47 69 76 65 6e | 20 61 20 6c 69 73 74 20 | Given| a list |
|00000620| 6f 66 20 74 75 70 6c 65 | 73 20 61 73 20 72 65 74 |of tuple|s as ret|
|00000630| 75 72 6e 65 64 20 62 79 | 20 65 78 74 72 61 63 74 |urned by| extract|
|00000640| 5f 74 62 28 29 20 6f 72 | 0a 20 20 20 20 65 78 74 |_tb() or|. ext|
|00000650| 72 61 63 74 5f 73 74 61 | 63 6b 28 29 2c 20 72 65 |ract_sta|ck(), re|
|00000660| 74 75 72 6e 20 61 20 6c | 69 73 74 20 6f 66 20 73 |turn a l|ist of s|
|00000670| 74 72 69 6e 67 73 20 72 | 65 61 64 79 20 66 6f 72 |trings r|eady for|
|00000680| 20 70 72 69 6e 74 69 6e | 67 2e 0a 20 20 20 20 45 | printin|g.. E|
|00000690| 61 63 68 20 73 74 72 69 | 6e 67 20 69 6e 20 74 68 |ach stri|ng in th|
|000006a0| 65 20 72 65 73 75 6c 74 | 69 6e 67 20 6c 69 73 74 |e result|ing list|
|000006b0| 20 63 6f 72 72 65 73 70 | 6f 6e 64 73 20 74 6f 20 | corresp|onds to |
|000006c0| 74 68 65 20 69 74 65 6d | 20 77 69 74 68 20 74 68 |the item| with th|
|000006d0| 65 0a 20 20 20 20 73 61 | 6d 65 20 69 6e 64 65 78 |e. sa|me index|
|000006e0| 20 69 6e 20 74 68 65 20 | 61 72 67 75 6d 65 6e 74 | in the |argument|
|000006f0| 20 6c 69 73 74 2e 20 20 | 45 61 63 68 20 73 74 72 | list. |Each str|
|00000700| 69 6e 67 20 65 6e 64 73 | 20 69 6e 20 61 20 6e 65 |ing ends| in a ne|
|00000710| 77 6c 69 6e 65 3b 0a 20 | 20 20 20 74 68 65 20 73 |wline;. | the s|
|00000720| 74 72 69 6e 67 73 20 6d | 61 79 20 63 6f 6e 74 61 |trings m|ay conta|
|00000730| 69 6e 20 69 6e 74 65 72 | 6e 61 6c 20 6e 65 77 6c |in inter|nal newl|
|00000740| 69 6e 65 73 20 61 73 20 | 77 65 6c 6c 2c 20 66 6f |ines as |well, fo|
|00000750| 72 20 74 68 6f 73 65 20 | 69 74 65 6d 73 0a 20 20 |r those |items. |
|00000760| 20 20 77 68 6f 73 65 20 | 73 6f 75 72 63 65 20 74 | whose |source t|
|00000770| 65 78 74 20 6c 69 6e 65 | 20 69 73 20 6e 6f 74 20 |ext line| is not |
|00000780| 4e 6f 6e 65 2e 0a 20 20 | 20 20 73 1c 00 00 00 20 |None.. | s.... |
|00000790| 20 46 69 6c 65 20 22 25 | 73 22 2c 20 6c 69 6e 65 | File "%|s", line|
|000007a0| 20 25 64 2c 20 69 6e 20 | 25 73 0a 73 07 00 00 00 | %d, in |%s.s....|
|000007b0| 20 20 20 20 25 73 0a 4e | 28 09 00 00 00 74 04 00 | %s.N|(....t..|
|000007c0| 00 00 6c 69 73 74 52 18 | 00 00 00 52 19 00 00 00 |..listR.|...R....|
|000007d0| 52 1a 00 00 00 52 1b 00 | 00 00 52 1c 00 00 00 74 |R....R..|..R....t|
|000007e0| 04 00 00 00 69 74 65 6d | 52 1d 00 00 00 74 06 00 |....item|R....t..|
|000007f0| 00 00 61 70 70 65 6e 64 | 28 07 00 00 00 52 18 00 |..append|(....R..|
|00000800| 00 00 52 1b 00 00 00 52 | 1f 00 00 00 52 19 00 00 |..R....R|....R...|
|00000810| 00 52 20 00 00 00 52 1a | 00 00 00 52 1c 00 00 00 |.R ...R.|...R....|
|00000820| 28 00 00 00 00 28 00 00 | 00 00 52 13 00 00 00 52 |(....(..|..R....R|
|00000830| 04 00 00 00 1b 00 00 00 | 73 12 00 00 00 00 09 00 |........|s.......|
|00000840| 01 06 01 07 00 12 01 13 | 01 07 01 18 01 11 01 63 |........|.......c|
|00000850| 03 00 00 00 0a 00 00 00 | 06 00 00 00 43 00 00 00 |........|....C...|
|00000860| 73 1c 01 00 00 7c 02 00 | 64 06 00 6a 08 00 6f 0d |s....|..|d..j..o.|
|00000870| 00 01 74 02 00 69 03 00 | 7d 02 00 6e 01 00 01 7c |..t..i..|}..n...||
|00000880| 01 00 64 06 00 6a 08 00 | 6f 21 00 01 74 05 00 74 |..d..j..|o!..t..t|
|00000890| 02 00 64 01 00 83 02 00 | 6f 0d 00 01 74 02 00 69 |..d.....|o...t..i|
|000008a0| 06 00 7d 01 00 71 48 00 | 01 6e 01 00 01 64 02 00 |..}..qH.|.n...d..|
|000008b0| 7d 06 00 78 c7 00 7c 00 | 00 64 06 00 6a 09 00 6f |}..x..|.|.d..j..o|
|000008c0| b9 00 01 7c 01 00 64 06 | 00 6a 08 00 70 0d 00 01 |...|..d.|.j..p...|
|000008d0| 7c 06 00 7c 01 00 6a 00 | 00 6f 9f 00 01 7c 00 00 ||..|..j.|.o...|..|
|000008e0| 69 09 00 7d 05 00 7c 00 | 00 69 0b 00 7d 07 00 7c |i..}..|.|.i..}..||
|000008f0| 05 00 69 0d 00 7d 03 00 | 7c 03 00 69 0f 00 7d 09 |..i..}..||..i..}.|
|00000900| 00 7c 03 00 69 11 00 7d | 04 00 74 13 00 7c 02 00 |.|..i..}|..t..|..|
|00000910| 64 03 00 7c 09 00 7c 07 | 00 7c 04 00 66 03 00 16 |d..|..|.|.|..f...|
|00000920| 83 02 00 01 74 14 00 69 | 15 00 7c 09 00 83 01 00 |....t..i|..|.....|
|00000930| 01 74 14 00 69 16 00 7c | 09 00 7c 07 00 83 02 00 |.t..i..||..|.....|
|00000940| 7d 08 00 7c 08 00 6f 1b | 00 01 74 13 00 7c 02 00 |}..|..o.|..t..|..|
|00000950| 64 04 00 7c 08 00 69 18 | 00 83 00 00 17 83 02 00 |d..|..i.|........|
|00000960| 01 6e 01 00 01 7c 00 00 | 69 19 00 7d 00 00 7c 06 |.n...|..|i..}..|.|
|00000970| 00 64 05 00 17 7d 06 00 | 71 51 00 01 57 64 06 00 |.d...}..|qQ..Wd..|
|00000980| 53 28 07 00 00 00 73 1f | 01 00 00 50 72 69 6e 74 |S(....s.|...Print|
|00000990| 20 75 70 20 74 6f 20 27 | 6c 69 6d 69 74 27 20 73 | up to '|limit' s|
|000009a0| 74 61 63 6b 20 74 72 61 | 63 65 20 65 6e 74 72 69 |tack tra|ce entri|
|000009b0| 65 73 20 66 72 6f 6d 20 | 74 68 65 20 74 72 61 63 |es from |the trac|
|000009c0| 65 62 61 63 6b 20 27 74 | 62 27 2e 0a 0a 20 20 20 |eback 't|b'... |
|000009d0| 20 49 66 20 27 6c 69 6d | 69 74 27 20 69 73 20 6f | If 'lim|it' is o|
|000009e0| 6d 69 74 74 65 64 20 6f | 72 20 4e 6f 6e 65 2c 20 |mitted o|r None, |
|000009f0| 61 6c 6c 20 65 6e 74 72 | 69 65 73 20 61 72 65 20 |all entr|ies are |
|00000a00| 70 72 69 6e 74 65 64 2e | 20 20 49 66 20 27 66 69 |printed.| If 'fi|
|00000a10| 6c 65 27 0a 20 20 20 20 | 69 73 20 6f 6d 69 74 74 |le'. |is omitt|
|00000a20| 65 64 20 6f 72 20 4e 6f | 6e 65 2c 20 74 68 65 20 |ed or No|ne, the |
|00000a30| 6f 75 74 70 75 74 20 67 | 6f 65 73 20 74 6f 20 73 |output g|oes to s|
|00000a40| 79 73 2e 73 74 64 65 72 | 72 3b 20 6f 74 68 65 72 |ys.stder|r; other|
|00000a50| 77 69 73 65 0a 20 20 20 | 20 27 66 69 6c 65 27 20 |wise. | 'file' |
|00000a60| 73 68 6f 75 6c 64 20 62 | 65 20 61 6e 20 6f 70 65 |should b|e an ope|
|00000a70| 6e 20 66 69 6c 65 20 6f | 72 20 66 69 6c 65 2d 6c |n file o|r file-l|
|00000a80| 69 6b 65 20 6f 62 6a 65 | 63 74 20 77 69 74 68 20 |ike obje|ct with |
|00000a90| 61 20 77 72 69 74 65 28 | 29 0a 20 20 20 20 6d 65 |a write(|). me|
|00000aa0| 74 68 6f 64 2e 0a 20 20 | 20 20 74 0e 00 00 00 74 |thod.. | t....t|
|00000ab0| 72 61 63 65 62 61 63 6b | 6c 69 6d 69 74 69 00 00 |raceback|limiti..|
|00000ac0| 00 00 73 1b 00 00 00 20 | 20 46 69 6c 65 20 22 25 |..s.... | File "%|
|00000ad0| 73 22 2c 20 6c 69 6e 65 | 20 25 64 2c 20 69 6e 20 |s", line| %d, in |
|00000ae0| 25 73 73 04 00 00 00 20 | 20 20 20 69 01 00 00 00 |%ss.... | i....|
|00000af0| 4e 28 1a 00 00 00 52 0f | 00 00 00 52 15 00 00 00 |N(....R.|...R....|
|00000b00| 52 16 00 00 00 52 17 00 | 00 00 74 05 00 00 00 6c |R....R..|..t....l|
|00000b10| 69 6d 69 74 74 07 00 00 | 00 68 61 73 61 74 74 72 |imitt...|.hasattr|
|00000b20| 52 22 00 00 00 74 01 00 | 00 00 6e 74 02 00 00 00 |R"...t..|..nt....|
|00000b30| 74 62 74 08 00 00 00 74 | 62 5f 66 72 61 6d 65 74 |tbt....t|b_framet|
|00000b40| 01 00 00 00 66 52 0d 00 | 00 00 52 1a 00 00 00 74 |....fR..|..R....t|
|00000b50| 06 00 00 00 66 5f 63 6f | 64 65 74 02 00 00 00 63 |....f_co|det....c|
|00000b60| 6f 74 0b 00 00 00 63 6f | 5f 66 69 6c 65 6e 61 6d |ot....co|_filenam|
|00000b70| 65 52 19 00 00 00 74 07 | 00 00 00 63 6f 5f 6e 61 |eR....t.|...co_na|
|00000b80| 6d 65 52 1b 00 00 00 52 | 14 00 00 00 74 09 00 00 |meR....R|....t...|
|00000b90| 00 6c 69 6e 65 63 61 63 | 68 65 74 0a 00 00 00 63 |.linecac|het....c|
|00000ba0| 68 65 63 6b 63 61 63 68 | 65 74 07 00 00 00 67 65 |heckcach|et....ge|
|00000bb0| 74 6c 69 6e 65 52 1c 00 | 00 00 52 1d 00 00 00 74 |tlineR..|..R....t|
|00000bc0| 07 00 00 00 74 62 5f 6e | 65 78 74 28 0a 00 00 00 |....tb_n|ext(....|
|00000bd0| 52 26 00 00 00 52 23 00 | 00 00 52 0f 00 00 00 52 |R&...R#.|..R....R|
|00000be0| 2a 00 00 00 52 1b 00 00 | 00 52 28 00 00 00 52 25 |*...R...|.R(...R%|
|00000bf0| 00 00 00 52 1a 00 00 00 | 52 1c 00 00 00 52 19 00 |...R....|R....R..|
|00000c00| 00 00 28 00 00 00 00 28 | 00 00 00 00 52 13 00 00 |..(....(|....R...|
|00000c10| 00 52 0c 00 00 00 2e 00 | 00 00 73 2c 00 00 00 00 |.R......|..s,....|
|00000c20| 07 00 01 0d 01 0d 01 0d | 01 10 01 11 01 06 01 03 |........|........|
|00000c30| 00 27 01 09 01 09 01 09 | 01 09 01 09 01 06 01 14 |.'......|........|
|00000c40| 01 0d 01 12 01 07 00 1b | 01 09 01 63 02 00 00 00 |........|...c....|
|00000c50| 02 00 00 00 04 00 00 00 | 43 00 00 00 73 13 00 00 |........|C...s...|
|00000c60| 00 74 00 00 74 01 00 7c | 00 00 7c 01 00 83 02 00 |.t..t..||..|.....|
|00000c70| 83 01 00 53 28 02 00 00 | 00 73 36 00 00 00 41 20 |...S(...|.s6...A |
|00000c80| 73 68 6f 72 74 68 61 6e | 64 20 66 6f 72 20 27 66 |shorthan|d for 'f|
|00000c90| 6f 72 6d 61 74 5f 6c 69 | 73 74 28 65 78 74 72 61 |ormat_li|st(extra|
|00000ca0| 63 74 5f 73 74 61 63 6b | 28 66 2c 20 6c 69 6d 69 |ct_stack|(f, limi|
|00000cb0| 74 29 29 2e 4e 28 04 00 | 00 00 52 04 00 00 00 52 |t)).N(..|..R....R|
|00000cc0| 01 00 00 00 52 26 00 00 | 00 52 23 00 00 00 28 02 |....R&..|.R#...(.|
|00000cd0| 00 00 00 52 26 00 00 00 | 52 23 00 00 00 28 00 00 |...R&...|R#...(..|
|00000ce0| 00 00 28 00 00 00 00 52 | 13 00 00 00 52 06 00 00 |..(....R|....R...|
|00000cf0| 00 4a 00 00 00 73 04 00 | 00 00 00 01 00 01 63 02 |.J...s..|......c.|
|00000d00| 00 00 00 0a 00 00 00 05 | 00 00 00 43 00 00 00 73 |........|...C...s|
|00000d10| 02 01 00 00 7c 01 00 64 | 04 00 6a 08 00 6f 21 00 |....|..d|..j..o!.|
|00000d20| 01 74 02 00 74 03 00 64 | 01 00 83 02 00 6f 0d 00 |.t..t..d|.....o..|
|00000d30| 01 74 03 00 69 04 00 7d | 01 00 71 2e 00 01 6e 01 |.t..i..}|..q...n.|
|00000d40| 00 01 67 00 00 7d 05 00 | 64 02 00 7d 06 00 78 c1 |..g..}..|d..}..x.|
|00000d50| 00 7c 00 00 64 04 00 6a | 09 00 6f b3 00 01 7c 01 |.|..d..j|..o...|.|
|00000d60| 00 64 04 00 6a 08 00 70 | 0d 00 01 7c 06 00 7c 01 |.d..j..p|...|..|.|
|00000d70| 00 6a 00 00 6f 99 00 01 | 7c 00 00 69 08 00 7d 04 |.j..o...||..i..}.|
|00000d80| 00 7c 00 00 69 0a 00 7d | 07 00 7c 04 00 69 0c 00 |.|..i..}|..|..i..|
|00000d90| 7d 02 00 7c 02 00 69 0e | 00 7d 09 00 7c 02 00 69 |}..|..i.|.}..|..i|
|00000da0| 10 00 7d 03 00 74 12 00 | 69 13 00 7c 09 00 83 01 |..}..t..|i..|....|
|00000db0| 00 01 74 12 00 69 14 00 | 7c 09 00 7c 07 00 83 02 |..t..i..||..|....|
|00000dc0| 00 7d 08 00 7c 08 00 6f | 10 00 01 7c 08 00 69 16 |.}..|..o|...|..i.|
|00000dd0| 00 83 00 00 7d 08 00 6e | 07 00 01 64 04 00 7d 08 |....}..n|...d..}.|
|00000de0| 00 7c 05 00 69 17 00 7c | 09 00 7c 07 00 7c 03 00 |.|..i..||..|..|..|
|00000df0| 7c 08 00 66 04 00 83 01 | 00 01 7c 00 00 69 18 00 ||..f....|..|..i..|
|00000e00| 7d 00 00 7c 06 00 64 03 | 00 17 7d 06 00 71 3d 00 |}..|..d.|..}..q=.|
|00000e10| 01 57 7c 05 00 53 28 05 | 00 00 00 73 ed 01 00 00 |.W|..S(.|...s....|
|00000e20| 52 65 74 75 72 6e 20 6c | 69 73 74 20 6f 66 20 75 |Return l|ist of u|
|00000e30| 70 20 74 6f 20 6c 69 6d | 69 74 20 70 72 65 2d 70 |p to lim|it pre-p|
|00000e40| 72 6f 63 65 73 73 65 64 | 20 65 6e 74 72 69 65 73 |rocessed| entries|
|00000e50| 20 66 72 6f 6d 20 74 72 | 61 63 65 62 61 63 6b 2e | from tr|aceback.|
|00000e60| 0a 0a 20 20 20 20 54 68 | 69 73 20 69 73 20 75 73 |.. Th|is is us|
|00000e70| 65 66 75 6c 20 66 6f 72 | 20 61 6c 74 65 72 6e 61 |eful for| alterna|
|00000e80| 74 65 20 66 6f 72 6d 61 | 74 74 69 6e 67 20 6f 66 |te forma|tting of|
|00000e90| 20 73 74 61 63 6b 20 74 | 72 61 63 65 73 2e 20 20 | stack t|races. |
|00000ea0| 49 66 0a 20 20 20 20 27 | 6c 69 6d 69 74 27 20 69 |If. '|limit' i|
|00000eb0| 73 20 6f 6d 69 74 74 65 | 64 20 6f 72 20 4e 6f 6e |s omitte|d or Non|
|00000ec0| 65 2c 20 61 6c 6c 20 65 | 6e 74 72 69 65 73 20 61 |e, all e|ntries a|
|00000ed0| 72 65 20 65 78 74 72 61 | 63 74 65 64 2e 20 20 41 |re extra|cted. A|
|00000ee0| 0a 20 20 20 20 70 72 65 | 2d 70 72 6f 63 65 73 73 |. pre|-process|
|00000ef0| 65 64 20 73 74 61 63 6b | 20 74 72 61 63 65 20 65 |ed stack| trace e|
|00000f00| 6e 74 72 79 20 69 73 20 | 61 20 71 75 61 64 72 75 |ntry is |a quadru|
|00000f10| 70 6c 65 20 28 66 69 6c | 65 6e 61 6d 65 2c 20 6c |ple (fil|ename, l|
|00000f20| 69 6e 65 0a 20 20 20 20 | 6e 75 6d 62 65 72 2c 20 |ine. |number, |
|00000f30| 66 75 6e 63 74 69 6f 6e | 20 6e 61 6d 65 2c 20 74 |function| name, t|
|00000f40| 65 78 74 29 20 72 65 70 | 72 65 73 65 6e 74 69 6e |ext) rep|resentin|
|00000f50| 67 20 74 68 65 20 69 6e | 66 6f 72 6d 61 74 69 6f |g the in|formatio|
|00000f60| 6e 20 74 68 61 74 20 69 | 73 0a 20 20 20 20 75 73 |n that i|s. us|
|00000f70| 75 61 6c 6c 79 20 70 72 | 69 6e 74 65 64 20 66 6f |ually pr|inted fo|
|00000f80| 72 20 61 20 73 74 61 63 | 6b 20 74 72 61 63 65 2e |r a stac|k trace.|
|00000f90| 20 20 54 68 65 20 74 65 | 78 74 20 69 73 20 61 20 | The te|xt is a |
|00000fa0| 73 74 72 69 6e 67 20 77 | 69 74 68 0a 20 20 20 20 |string w|ith. |
|00000fb0| 6c 65 61 64 69 6e 67 20 | 61 6e 64 20 74 72 61 69 |leading |and trai|
|00000fc0| 6c 69 6e 67 20 77 68 69 | 74 65 73 70 61 63 65 20 |ling whi|tespace |
|00000fd0| 73 74 72 69 70 70 65 64 | 3b 20 69 66 20 74 68 65 |stripped|; if the|
|00000fe0| 20 73 6f 75 72 63 65 20 | 69 73 20 6e 6f 74 0a 20 | source |is not. |
|00000ff0| 20 20 20 61 76 61 69 6c | 61 62 6c 65 20 69 74 20 | avail|able it |
|00001000| 69 73 20 4e 6f 6e 65 2e | 0a 20 20 20 20 52 22 00 |is None.|. R".|
|00001010| 00 00 69 00 00 00 00 69 | 01 00 00 00 4e 28 19 00 |..i....i|....N(..|
|00001020| 00 00 52 23 00 00 00 52 | 15 00 00 00 52 24 00 00 |..R#...R|....R$..|
|00001030| 00 52 16 00 00 00 52 22 | 00 00 00 52 1f 00 00 00 |.R....R"|...R....|
|00001040| 52 25 00 00 00 52 26 00 | 00 00 52 27 00 00 00 52 |R%...R&.|..R'...R|
|00001050| 28 00 00 00 52 0d 00 00 | 00 52 1a 00 00 00 52 29 |(...R...|.R....R)|
|00001060| 00 00 00 52 2a 00 00 00 | 52 2b 00 00 00 52 19 00 |...R*...|R+...R..|
|00001070| 00 00 52 2c 00 00 00 52 | 1b 00 00 00 52 2d 00 00 |..R,...R|....R-..|
|00001080| 00 52 2e 00 00 00 52 2f | 00 00 00 52 1c 00 00 00 |.R....R/|...R....|
|00001090| 52 1d 00 00 00 52 21 00 | 00 00 52 30 00 00 00 28 |R....R!.|..R0...(|
|000010a0| 0a 00 00 00 52 26 00 00 | 00 52 23 00 00 00 52 2a |....R&..|.R#...R*|
|000010b0| 00 00 00 52 1b 00 00 00 | 52 28 00 00 00 52 1f 00 |...R....|R(...R..|
|000010c0| 00 00 52 25 00 00 00 52 | 1a 00 00 00 52 1c 00 00 |..R%...R|....R...|
|000010d0| 00 52 19 00 00 00 28 00 | 00 00 00 28 00 00 00 00 |.R....(.|...(....|
|000010e0| 52 13 00 00 00 52 01 00 | 00 00 4e 00 00 00 73 2c |R....R..|..N...s,|
|000010f0| 00 00 00 00 0a 00 01 0d | 01 10 01 11 01 06 01 06 |........|........|
|00001100| 01 03 00 27 01 09 01 09 | 01 09 01 09 01 09 01 0d |...'....|........|
|00001110| 01 12 01 07 00 10 01 06 | 01 19 01 09 01 0f 01 63 |........|.......c|
|00001120| 05 00 00 00 07 00 00 00 | 05 00 00 00 43 00 00 00 |........|....C...|
|00001130| 73 8e 00 00 00 7c 04 00 | 64 05 00 6a 08 00 6f 0d |s....|..|d..j..o.|
|00001140| 00 01 74 02 00 69 03 00 | 7d 04 00 6e 01 00 01 7c |..t..i..|}..n...||
|00001150| 02 00 6f 21 00 01 74 05 | 00 7c 04 00 64 01 00 83 |..o!..t.|.|..d...|
|00001160| 02 00 01 74 06 00 7c 02 | 00 7c 03 00 7c 04 00 83 |...t..|.|.|..|...|
|00001170| 03 00 01 6e 01 00 01 74 | 08 00 7c 00 00 7c 01 00 |...n...t|..|..|..|
|00001180| 83 02 00 7d 05 00 78 22 | 00 7c 05 00 64 02 00 20 |...}..x"|.|..d.. |
|00001190| 44 5d 16 00 7d 06 00 74 | 05 00 7c 04 00 7c 06 00 |D]..}..t|..|..|..|
|000011a0| 64 03 00 83 03 00 01 71 | 5c 00 57 74 05 00 7c 04 |d......q|\.Wt..|.|
|000011b0| 00 7c 05 00 64 02 00 19 | 64 04 00 83 03 00 01 64 |.|..d...|d......d|
|000011c0| 05 00 53 28 06 00 00 00 | 73 f9 01 00 00 50 72 69 |..S(....|s....Pri|
|000011d0| 6e 74 20 65 78 63 65 70 | 74 69 6f 6e 20 75 70 20 |nt excep|tion up |
|000011e0| 74 6f 20 27 6c 69 6d 69 | 74 27 20 73 74 61 63 6b |to 'limi|t' stack|
|000011f0| 20 74 72 61 63 65 20 65 | 6e 74 72 69 65 73 20 66 | trace e|ntries f|
|00001200| 72 6f 6d 20 27 74 62 27 | 20 74 6f 20 27 66 69 6c |rom 'tb'| to 'fil|
|00001210| 65 27 2e 0a 0a 20 20 20 | 20 54 68 69 73 20 64 69 |e'... | This di|
|00001220| 66 66 65 72 73 20 66 72 | 6f 6d 20 70 72 69 6e 74 |ffers fr|om print|
|00001230| 5f 74 62 28 29 20 69 6e | 20 74 68 65 20 66 6f 6c |_tb() in| the fol|
|00001240| 6c 6f 77 69 6e 67 20 77 | 61 79 73 3a 20 28 31 29 |lowing w|ays: (1)|
|00001250| 20 69 66 0a 20 20 20 20 | 74 72 61 63 65 62 61 63 | if. |tracebac|
|00001260| 6b 20 69 73 20 6e 6f 74 | 20 4e 6f 6e 65 2c 20 69 |k is not| None, i|
|00001270| 74 20 70 72 69 6e 74 73 | 20 61 20 68 65 61 64 65 |t prints| a heade|
|00001280| 72 20 22 54 72 61 63 65 | 62 61 63 6b 20 28 6d 6f |r "Trace|back (mo|
|00001290| 73 74 20 72 65 63 65 6e | 74 0a 20 20 20 20 63 61 |st recen|t. ca|
|000012a0| 6c 6c 20 6c 61 73 74 29 | 3a 22 3b 20 28 32 29 20 |ll last)|:"; (2) |
|000012b0| 69 74 20 70 72 69 6e 74 | 73 20 74 68 65 20 65 78 |it print|s the ex|
|000012c0| 63 65 70 74 69 6f 6e 20 | 74 79 70 65 20 61 6e 64 |ception |type and|
|000012d0| 20 76 61 6c 75 65 20 61 | 66 74 65 72 20 74 68 65 | value a|fter the|
|000012e0| 0a 20 20 20 20 73 74 61 | 63 6b 20 74 72 61 63 65 |. sta|ck trace|
|000012f0| 3b 20 28 33 29 20 69 66 | 20 74 79 70 65 20 69 73 |; (3) if| type is|
|00001300| 20 53 79 6e 74 61 78 45 | 72 72 6f 72 20 61 6e 64 | SyntaxE|rror and|
|00001310| 20 76 61 6c 75 65 20 68 | 61 73 20 74 68 65 0a 20 | value h|as the. |
|00001320| 20 20 20 61 70 70 72 6f | 70 72 69 61 74 65 20 66 | appro|priate f|
|00001330| 6f 72 6d 61 74 2c 20 69 | 74 20 70 72 69 6e 74 73 |ormat, i|t prints|
|00001340| 20 74 68 65 20 6c 69 6e | 65 20 77 68 65 72 65 20 | the lin|e where |
|00001350| 74 68 65 20 73 79 6e 74 | 61 78 20 65 72 72 6f 72 |the synt|ax error|
|00001360| 0a 20 20 20 20 6f 63 63 | 75 72 72 65 64 20 77 69 |. occ|urred wi|
|00001370| 74 68 20 61 20 63 61 72 | 65 74 20 6f 6e 20 74 68 |th a car|et on th|
|00001380| 65 20 6e 65 78 74 20 6c | 69 6e 65 20 69 6e 64 69 |e next l|ine indi|
|00001390| 63 61 74 69 6e 67 20 74 | 68 65 20 61 70 70 72 6f |cating t|he appro|
|000013a0| 78 69 6d 61 74 65 0a 20 | 20 20 20 70 6f 73 69 74 |ximate. | posit|
|000013b0| 69 6f 6e 20 6f 66 20 74 | 68 65 20 65 72 72 6f 72 |ion of t|he error|
|000013c0| 2e 0a 20 20 20 20 73 22 | 00 00 00 54 72 61 63 65 |.. s"|...Trace|
|000013d0| 62 61 63 6b 20 28 6d 6f | 73 74 20 72 65 63 65 6e |back (mo|st recen|
|000013e0| 74 20 63 61 6c 6c 20 6c | 61 73 74 29 3a 69 ff ff |t call l|ast):i..|
|000013f0| ff ff 74 01 00 00 00 20 | 52 0e 00 00 00 4e 28 0d |..t.... |R....N(.|
|00001400| 00 00 00 52 0f 00 00 00 | 52 15 00 00 00 52 16 00 |...R....|R....R..|
|00001410| 00 00 52 17 00 00 00 52 | 26 00 00 00 52 14 00 00 |..R....R|&...R...|
|00001420| 00 52 0c 00 00 00 52 23 | 00 00 00 52 03 00 00 00 |.R....R#|...R....|
|00001430| 74 05 00 00 00 65 74 79 | 70 65 74 05 00 00 00 76 |t....ety|pet....v|
|00001440| 61 6c 75 65 74 05 00 00 | 00 6c 69 6e 65 73 52 1c |aluet...|.linesR.|
|00001450| 00 00 00 28 07 00 00 00 | 52 32 00 00 00 52 33 00 |...(....|R2...R3.|
|00001460| 00 00 52 26 00 00 00 52 | 23 00 00 00 52 0f 00 00 |..R&...R|#...R...|
|00001470| 00 52 34 00 00 00 52 1c | 00 00 00 28 00 00 00 00 |.R4...R.|...(....|
|00001480| 28 00 00 00 00 52 13 00 | 00 00 52 09 00 00 00 6e |(....R..|..R....n|
|00001490| 00 00 00 73 16 00 00 00 | 00 0a 00 01 0d 01 0d 01 |...s....|........|
|000014a0| 07 01 0d 01 14 01 0f 01 | 0b 00 06 01 14 01 63 04 |........|......c.|
|000014b0| 00 00 00 05 00 00 00 04 | 00 00 00 43 00 00 00 73 |........|...C...s|
|000014c0| 44 00 00 00 7c 02 00 6f | 20 00 01 64 01 00 67 01 |D...|..o| ..d..g.|
|000014d0| 00 7d 04 00 7c 04 00 74 | 02 00 7c 02 00 7c 03 00 |.}..|..t|..|..|..|
|000014e0| 83 02 00 17 7d 04 00 6e | 07 00 01 67 00 00 7d 04 |....}..n|...g..}.|
|000014f0| 00 7c 04 00 74 04 00 7c | 00 00 7c 01 00 83 02 00 |.|..t..||..|.....|
|00001500| 17 7d 04 00 7c 04 00 53 | 28 03 00 00 00 73 7a 01 |.}..|..S|(....sz.|
|00001510| 00 00 46 6f 72 6d 61 74 | 20 61 20 73 74 61 63 6b |..Format| a stack|
|00001520| 20 74 72 61 63 65 20 61 | 6e 64 20 74 68 65 20 65 | trace a|nd the e|
|00001530| 78 63 65 70 74 69 6f 6e | 20 69 6e 66 6f 72 6d 61 |xception| informa|
|00001540| 74 69 6f 6e 2e 0a 0a 20 | 20 20 20 54 68 65 20 61 |tion... | The a|
|00001550| 72 67 75 6d 65 6e 74 73 | 20 68 61 76 65 20 74 68 |rguments| have th|
|00001560| 65 20 73 61 6d 65 20 6d | 65 61 6e 69 6e 67 20 61 |e same m|eaning a|
|00001570| 73 20 74 68 65 20 63 6f | 72 72 65 73 70 6f 6e 64 |s the co|rrespond|
|00001580| 69 6e 67 20 61 72 67 75 | 6d 65 6e 74 73 0a 20 20 |ing argu|ments. |
|00001590| 20 20 74 6f 20 70 72 69 | 6e 74 5f 65 78 63 65 70 | to pri|nt_excep|
|000015a0| 74 69 6f 6e 28 29 2e 20 | 20 54 68 65 20 72 65 74 |tion(). | The ret|
|000015b0| 75 72 6e 20 76 61 6c 75 | 65 20 69 73 20 61 20 6c |urn valu|e is a l|
|000015c0| 69 73 74 20 6f 66 20 73 | 74 72 69 6e 67 73 2c 20 |ist of s|trings, |
|000015d0| 65 61 63 68 0a 20 20 20 | 20 65 6e 64 69 6e 67 20 |each. | ending |
|000015e0| 69 6e 20 61 20 6e 65 77 | 6c 69 6e 65 20 61 6e 64 |in a new|line and|
|000015f0| 20 73 6f 6d 65 20 63 6f | 6e 74 61 69 6e 69 6e 67 | some co|ntaining|
|00001600| 20 69 6e 74 65 72 6e 61 | 6c 20 6e 65 77 6c 69 6e | interna|l newlin|
|00001610| 65 73 2e 20 20 57 68 65 | 6e 0a 20 20 20 20 74 68 |es. Whe|n. th|
|00001620| 65 73 65 20 6c 69 6e 65 | 73 20 61 72 65 20 63 6f |ese line|s are co|
|00001630| 6e 63 61 74 65 6e 61 74 | 65 64 20 61 6e 64 20 70 |ncatenat|ed and p|
|00001640| 72 69 6e 74 65 64 2c 20 | 65 78 61 63 74 6c 79 20 |rinted, |exactly |
|00001650| 74 68 65 20 73 61 6d 65 | 20 74 65 78 74 20 69 73 |the same| text is|
|00001660| 0a 20 20 20 20 70 72 69 | 6e 74 65 64 20 61 73 20 |. pri|nted as |
|00001670| 64 6f 65 73 20 70 72 69 | 6e 74 5f 65 78 63 65 70 |does pri|nt_excep|
|00001680| 74 69 6f 6e 28 29 2e 0a | 20 20 20 20 73 23 00 00 |tion()..| s#..|
|00001690| 00 54 72 61 63 65 62 61 | 63 6b 20 28 6d 6f 73 74 |.Traceba|ck (most|
|000016a0| 20 72 65 63 65 6e 74 20 | 63 61 6c 6c 20 6c 61 73 | recent |call las|
|000016b0| 74 29 3a 0a 4e 28 07 00 | 00 00 52 26 00 00 00 52 |t):.N(..|..R&...R|
|000016c0| 1f 00 00 00 52 06 00 00 | 00 52 23 00 00 00 52 03 |....R...|.R#...R.|
|000016d0| 00 00 00 52 32 00 00 00 | 52 33 00 00 00 28 05 00 |...R2...|R3...(..|
|000016e0| 00 00 52 32 00 00 00 52 | 33 00 00 00 52 26 00 00 |..R2...R|3...R&..|
|000016f0| 00 52 23 00 00 00 52 1f | 00 00 00 28 00 00 00 00 |.R#...R.|...(....|
|00001700| 28 00 00 00 00 52 13 00 | 00 00 52 02 00 00 00 83 |(....R..|..R.....|
|00001710| 00 00 00 73 0e 00 00 00 | 00 08 00 01 07 01 09 01 |...s....|........|
|00001720| 17 02 06 01 13 01 63 02 | 00 00 00 0c 00 00 00 04 |......c.|........|
|00001730| 00 00 00 43 00 00 00 73 | d8 01 00 00 67 00 00 7d |...C...s|....g..}|
|00001740| 03 00 74 01 00 7c 00 00 | 83 01 00 74 03 00 69 04 |..t..|..|...t..i.|
|00001750| 00 6a 02 00 6f 0d 00 01 | 7c 00 00 69 05 00 7d 08 |.j..o...||..i..}.|
|00001760| 00 6e 07 00 01 7c 00 00 | 7d 08 00 7c 01 00 64 0c |.n...|..|}..|..d.|
|00001770| 00 6a 08 00 6f 1b 00 01 | 7c 03 00 69 09 00 74 0a |.j..o...||..i..t.|
|00001780| 00 7c 08 00 83 01 00 64 | 01 00 17 83 01 00 01 6e |.|.....d|.......n|
|00001790| 7e 01 01 7c 00 00 74 0b | 00 6a 08 00 6f 25 01 01 |~..|..t.|.j..o%..|
|000017a0| 79 1c 00 7c 01 00 5c 02 | 00 7d 06 00 5c 04 00 7d |y..|..\.|.}..\..}|
|000017b0| 05 00 7d 0b 00 7d 09 00 | 7d 0a 00 57 6e 07 00 01 |..}..}..|}..Wn...|
|000017c0| 01 01 71 89 01 58 7c 05 | 00 70 0a 00 01 64 02 00 |..q..X|.|.p...d..|
|000017d0| 7d 05 00 6e 01 00 01 7c | 03 00 69 09 00 64 03 00 |}..n...||..i..d..|
|000017e0| 7c 05 00 7c 0b 00 66 02 | 00 16 83 01 00 01 7c 0a ||..|..f.|......|.|
|000017f0| 00 64 0c 00 6a 09 00 6f | c6 00 01 64 04 00 7d 02 |.d..j..o|...d..}.|
|00001800| 00 78 33 00 7c 02 00 74 | 12 00 7c 0a 00 83 01 00 |.x3.|..t|..|.....|
|00001810| 6a 00 00 6f 1f 00 01 7c | 0a 00 7c 02 00 19 69 13 |j..o...||..|...i.|
|00001820| 00 83 00 00 6f 0e 00 01 | 7c 02 00 64 05 00 17 7d |....o...||..d...}|
|00001830| 02 00 71 c8 00 01 57 7c | 03 00 69 09 00 64 06 00 |..q...W||..i..d..|
|00001840| 7c 0a 00 69 14 00 83 00 | 00 16 83 01 00 01 7c 09 ||..i....|......|.|
|00001850| 00 64 0c 00 6a 09 00 6f | 5c 00 01 64 07 00 7d 07 |.d..j..o|\..d..}.|
|00001860| 00 78 3e 00 7c 0a 00 7c | 02 00 7c 09 00 64 05 00 |.x>.|..||..|..d..|
|00001870| 18 21 44 5d 2b 00 7d 04 | 00 7c 04 00 69 13 00 83 |.!D]+.}.|.|..i...|
|00001880| 00 00 6f 0e 00 01 7c 07 | 00 7c 04 00 17 7d 07 00 |..o...|.|.|...}..|
|00001890| 71 37 01 01 7c 07 00 64 | 08 00 17 7d 07 00 71 37 |q7..|..d|...}..q7|
|000018a0| 01 57 7c 03 00 69 09 00 | 64 09 00 7c 07 00 16 83 |.W|..i..|d..|....|
|000018b0| 01 00 01 6e 01 00 01 7c | 06 00 7d 01 00 71 89 01 |...n...||..}..q..|
|000018c0| 01 6e 01 00 01 74 17 00 | 7c 01 00 83 01 00 7d 07 |.n...t..||.....}.|
|000018d0| 00 7c 07 00 6f 21 00 01 | 7c 03 00 69 09 00 64 0a |.|..o!..||..i..d.|
|000018e0| 00 74 0a 00 7c 08 00 83 | 01 00 7c 07 00 66 02 00 |.t..|...|..|..f..|
|000018f0| 16 83 01 00 01 6e 18 00 | 01 7c 03 00 69 09 00 64 |.....n..|.|..i..d|
|00001900| 0b 00 74 0a 00 7c 08 00 | 83 01 00 16 83 01 00 01 |..t..|..|........|
|00001910| 7c 03 00 53 28 0d 00 00 | 00 73 0b 02 00 00 46 6f ||..S(...|.s....Fo|
|00001920| 72 6d 61 74 20 74 68 65 | 20 65 78 63 65 70 74 69 |rmat the| excepti|
|00001930| 6f 6e 20 70 61 72 74 20 | 6f 66 20 61 20 74 72 61 |on part |of a tra|
|00001940| 63 65 62 61 63 6b 2e 0a | 0a 20 20 20 20 54 68 65 |ceback..|. The|
|00001950| 20 61 72 67 75 6d 65 6e | 74 73 20 61 72 65 20 74 | argumen|ts are t|
|00001960| 68 65 20 65 78 63 65 70 | 74 69 6f 6e 20 74 79 70 |he excep|tion typ|
|00001970| 65 20 61 6e 64 20 76 61 | 6c 75 65 20 73 75 63 68 |e and va|lue such|
|00001980| 20 61 73 20 67 69 76 65 | 6e 20 62 79 0a 20 20 20 | as give|n by. |
|00001990| 20 73 79 73 2e 6c 61 73 | 74 5f 74 79 70 65 20 61 | sys.las|t_type a|
|000019a0| 6e 64 20 73 79 73 2e 6c | 61 73 74 5f 76 61 6c 75 |nd sys.l|ast_valu|
|000019b0| 65 2e 20 54 68 65 20 72 | 65 74 75 72 6e 20 76 61 |e. The r|eturn va|
|000019c0| 6c 75 65 20 69 73 20 61 | 20 6c 69 73 74 20 6f 66 |lue is a| list of|
|000019d0| 0a 20 20 20 20 73 74 72 | 69 6e 67 73 2c 20 65 61 |. str|ings, ea|
|000019e0| 63 68 20 65 6e 64 69 6e | 67 20 69 6e 20 61 20 6e |ch endin|g in a n|
|000019f0| 65 77 6c 69 6e 65 2e 20 | 20 4e 6f 72 6d 61 6c 6c |ewline. | Normall|
|00001a00| 79 2c 20 74 68 65 20 6c | 69 73 74 20 63 6f 6e 74 |y, the l|ist cont|
|00001a10| 61 69 6e 73 20 61 0a 20 | 20 20 20 73 69 6e 67 6c |ains a. | singl|
|00001a20| 65 20 73 74 72 69 6e 67 | 3b 20 68 6f 77 65 76 65 |e string|; howeve|
|00001a30| 72 2c 20 66 6f 72 20 53 | 79 6e 74 61 78 45 72 72 |r, for S|yntaxErr|
|00001a40| 6f 72 20 65 78 63 65 70 | 74 69 6f 6e 73 2c 20 69 |or excep|tions, i|
|00001a50| 74 20 63 6f 6e 74 61 69 | 6e 73 0a 20 20 20 20 73 |t contai|ns. s|
|00001a60| 65 76 65 72 61 6c 20 6c | 69 6e 65 73 20 74 68 61 |everal l|ines tha|
|00001a70| 74 20 28 77 68 65 6e 20 | 70 72 69 6e 74 65 64 29 |t (when |printed)|
|00001a80| 20 64 69 73 70 6c 61 79 | 20 64 65 74 61 69 6c 65 | display| detaile|
|00001a90| 64 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 0a 20 20 |d inform|ation. |
|00001aa0| 20 20 61 62 6f 75 74 20 | 77 68 65 72 65 20 74 68 | about |where th|
|00001ab0| 65 20 73 79 6e 74 61 78 | 20 65 72 72 6f 72 20 6f |e syntax| error o|
|00001ac0| 63 63 75 72 72 65 64 2e | 20 20 54 68 65 20 6d 65 |ccurred.| The me|
|00001ad0| 73 73 61 67 65 20 69 6e | 64 69 63 61 74 69 6e 67 |ssage in|dicating|
|00001ae0| 0a 20 20 20 20 77 68 69 | 63 68 20 65 78 63 65 70 |. whi|ch excep|
|00001af0| 74 69 6f 6e 20 6f 63 63 | 75 72 72 65 64 20 69 73 |tion occ|urred is|
|00001b00| 20 74 68 65 20 61 6c 77 | 61 79 73 20 6c 61 73 74 | the alw|ays last|
|00001b10| 20 73 74 72 69 6e 67 20 | 69 6e 20 74 68 65 20 6c | string |in the l|
|00001b20| 69 73 74 2e 0a 20 20 20 | 20 73 01 00 00 00 0a 73 |ist.. | s.....s|
|00001b30| 08 00 00 00 3c 73 74 72 | 69 6e 67 3e 73 15 00 00 |....<str|ing>s...|
|00001b40| 00 20 20 46 69 6c 65 20 | 22 25 73 22 2c 20 6c 69 |. File |"%s", li|
|00001b50| 6e 65 20 25 64 0a 69 00 | 00 00 00 69 01 00 00 00 |ne %d.i.|...i....|
|00001b60| 73 07 00 00 00 20 20 20 | 20 25 73 0a 73 04 00 00 |s.... | %s.s...|
|00001b70| 00 20 20 20 20 52 31 00 | 00 00 73 04 00 00 00 25 |. R1.|..s....%|
|00001b80| 73 5e 0a 73 07 00 00 00 | 25 73 3a 20 25 73 0a 73 |s^.s....|%s: %s.s|
|00001b90| 03 00 00 00 25 73 0a 4e | 28 18 00 00 00 52 1f 00 |....%s.N|(....R..|
|00001ba0| 00 00 74 04 00 00 00 74 | 79 70 65 52 32 00 00 00 |..t....t|ypeR2...|
|00001bb0| 74 05 00 00 00 74 79 70 | 65 73 74 09 00 00 00 43 |t....typ|est....C|
|00001bc0| 6c 61 73 73 54 79 70 65 | 74 08 00 00 00 5f 5f 6e |lassType|t....__n|
|00001bd0| 61 6d 65 5f 5f 74 05 00 | 00 00 73 74 79 70 65 52 |ame__t..|..stypeR|
|00001be0| 33 00 00 00 52 15 00 00 | 00 52 21 00 00 00 52 11 |3...R...|.R!...R.|
|00001bf0| 00 00 00 74 0b 00 00 00 | 53 79 6e 74 61 78 45 72 |...t....|SyntaxEr|
|00001c00| 72 6f 72 74 03 00 00 00 | 6d 73 67 52 19 00 00 00 |rort....|msgR....|
|00001c10| 52 1a 00 00 00 74 06 00 | 00 00 6f 66 66 73 65 74 |R....t..|..offset|
|00001c20| 52 1c 00 00 00 74 01 00 | 00 00 69 74 03 00 00 00 |R....t..|..it....|
|00001c30| 6c 65 6e 74 07 00 00 00 | 69 73 73 70 61 63 65 52 |lent....|isspaceR|
|00001c40| 1d 00 00 00 74 01 00 00 | 00 73 74 01 00 00 00 63 |....t...|.st....c|
|00001c50| 74 09 00 00 00 5f 73 6f | 6d 65 5f 73 74 72 28 0c |t...._so|me_str(.|
|00001c60| 00 00 00 52 32 00 00 00 | 52 33 00 00 00 52 3d 00 |...R2...|R3...R=.|
|00001c70| 00 00 52 1f 00 00 00 52 | 41 00 00 00 52 19 00 00 |..R....R|A...R...|
|00001c80| 00 52 3b 00 00 00 52 40 | 00 00 00 52 39 00 00 00 |.R;...R@|...R9...|
|00001c90| 52 3c 00 00 00 52 1c 00 | 00 00 52 1a 00 00 00 28 |R<...R..|..R....(|
|00001ca0| 00 00 00 00 28 00 00 00 | 00 52 13 00 00 00 52 03 |....(...|.R....R.|
|00001cb0| 00 00 00 94 00 00 00 73 | 46 00 00 00 00 0a 00 01 |.......s|F.......|
|00001cc0| 06 01 16 01 0d 02 06 01 | 0d 01 1b 02 0d 01 03 01 |........|........|
|00001cd0| 1c 01 03 01 04 02 07 00 | 0a 01 17 02 0d 01 06 01 |........|........|
|00001ce0| 03 00 24 01 0f 01 17 01 | 0d 01 06 01 12 00 06 01 |..$.....|........|
|00001cf0| 0d 01 0e 02 0e 01 15 01 | 0e 01 0c 01 07 01 21 02 |........|......!.|
|00001d00| 17 01 63 01 00 00 00 01 | 00 00 00 03 00 00 00 43 |..c.....|.......C|
|00001d10| 00 00 00 73 2d 00 00 00 | 79 0e 00 74 00 00 7c 00 |...s-...|y..t..|.|
|00001d20| 00 83 01 00 53 57 6e 18 | 00 01 01 01 64 01 00 74 |....SWn.|....d..t|
|00001d30| 02 00 7c 00 00 83 01 00 | 69 03 00 16 53 6e 01 00 |..|.....|i...Sn..|
|00001d40| 58 64 00 00 53 28 02 00 | 00 00 4e 73 17 00 00 00 |Xd..S(..|..Ns....|
|00001d50| 3c 75 6e 70 72 69 6e 74 | 61 62 6c 65 20 25 73 20 |<unprint|able %s |
|00001d60| 6f 62 6a 65 63 74 3e 28 | 04 00 00 00 52 11 00 00 |object>(|....R...|
|00001d70| 00 52 33 00 00 00 52 35 | 00 00 00 52 38 00 00 00 |.R3...R5|...R8...|
|00001d80| 28 01 00 00 00 52 33 00 | 00 00 28 00 00 00 00 28 |(....R3.|..(....(|
|00001d90| 00 00 00 00 52 13 00 00 | 00 52 42 00 00 00 c5 00 |....R...|.RB.....|
|00001da0| 00 00 73 08 00 00 00 00 | 01 03 01 0e 01 03 01 63 |..s.....|.......c|
|00001db0| 02 00 00 00 05 00 00 00 | 06 00 00 00 43 00 00 00 |........|....C...|
|00001dc0| 73 5f 00 00 00 7c 01 00 | 64 01 00 6a 08 00 6f 0d |s_...|..|d..j..o.|
|00001dd0| 00 01 74 02 00 69 03 00 | 7d 01 00 6e 01 00 01 7a |..t..i..|}..n...z|
|00001de0| 2f 00 74 02 00 69 04 00 | 83 00 00 5c 03 00 7d 03 |/.t..i..|...\..}.|
|00001df0| 00 7d 02 00 7d 04 00 74 | 08 00 7c 03 00 7c 02 00 |.}..}..t|..|..|..|
|00001e00| 7c 04 00 7c 00 00 7c 01 | 00 83 05 00 01 57 64 01 ||..|..|.|.....Wd.|
|00001e10| 00 64 01 00 04 7d 03 00 | 04 7d 02 00 7d 04 00 58 |.d...}..|.}..}..X|
|00001e20| 64 01 00 53 28 02 00 00 | 00 73 be 00 00 00 53 68 |d..S(...|.s....Sh|
|00001e30| 6f 72 74 68 61 6e 64 20 | 66 6f 72 20 27 70 72 69 |orthand |for 'pri|
|00001e40| 6e 74 5f 65 78 63 65 70 | 74 69 6f 6e 28 73 79 73 |nt_excep|tion(sys|
|00001e50| 2e 65 78 63 5f 74 79 70 | 65 2c 20 73 79 73 2e 65 |.exc_typ|e, sys.e|
|00001e60| 78 63 5f 76 61 6c 75 65 | 2c 20 73 79 73 2e 65 78 |xc_value|, sys.ex|
|00001e70| 63 5f 74 72 61 63 65 62 | 61 63 6b 2c 20 6c 69 6d |c_traceb|ack, lim|
|00001e80| 69 74 2c 20 66 69 6c 65 | 29 27 2e 0a 20 20 20 20 |it, file|)'.. |
|00001e90| 28 49 6e 20 66 61 63 74 | 2c 20 69 74 20 75 73 65 |(In fact|, it use|
|00001ea0| 73 20 73 79 73 2e 65 78 | 63 5f 69 6e 66 6f 28 29 |s sys.ex|c_info()|
|00001eb0| 20 74 6f 20 72 65 74 72 | 69 65 76 65 20 74 68 65 | to retr|ieve the|
|00001ec0| 20 73 61 6d 65 20 69 6e | 66 6f 72 6d 61 74 69 6f | same in|formatio|
|00001ed0| 6e 0a 20 20 20 20 69 6e | 20 61 20 74 68 72 65 61 |n. in| a threa|
|00001ee0| 64 2d 73 61 66 65 20 77 | 61 79 2e 29 4e 28 0a 00 |d-safe w|ay.)N(..|
|00001ef0| 00 00 52 0f 00 00 00 52 | 15 00 00 00 52 16 00 00 |..R....R|....R...|
|00001f00| 00 52 17 00 00 00 74 08 | 00 00 00 65 78 63 5f 69 |.R....t.|...exc_i|
|00001f10| 6e 66 6f 52 32 00 00 00 | 52 33 00 00 00 52 26 00 |nfoR2...|R3...R&.|
|00001f20| 00 00 52 09 00 00 00 52 | 23 00 00 00 28 05 00 00 |..R....R|#...(...|
|00001f30| 00 52 23 00 00 00 52 0f | 00 00 00 52 33 00 00 00 |.R#...R.|...R3...|
|00001f40| 52 32 00 00 00 52 26 00 | 00 00 28 00 00 00 00 28 |R2...R&.|..(....(|
|00001f50| 00 00 00 00 52 13 00 00 | 00 52 07 00 00 00 cc 00 |....R...|.R......|
|00001f60| 00 00 73 10 00 00 00 00 | 03 00 01 0d 01 0d 01 03 |..s.....|........|
|00001f70| 01 15 01 1a 01 00 01 63 | 01 00 00 00 04 00 00 00 |.......c|........|
|00001f80| 06 00 00 00 43 00 00 00 | 73 4b 00 00 00 7a 35 00 |....C...|sK...z5.|
|00001f90| 74 00 00 69 01 00 83 00 | 00 5c 03 00 7d 02 00 7d |t..i....|.\..}..}|
|00001fa0| 01 00 7d 03 00 64 01 00 | 69 05 00 74 06 00 7c 02 |..}..d..|i..t..|.|
|00001fb0| 00 7c 01 00 7c 03 00 7c | 00 00 83 04 00 83 01 00 |.|..|..||........|
|00001fc0| 53 57 64 02 00 64 02 00 | 04 7d 02 00 04 7d 01 00 |SWd..d..|.}...}..|
|00001fd0| 7d 03 00 58 64 02 00 53 | 28 03 00 00 00 73 25 00 |}..Xd..S|(....s%.|
|00001fe0| 00 00 4c 69 6b 65 20 70 | 72 69 6e 74 5f 65 78 63 |..Like p|rint_exc|
|00001ff0| 28 29 20 62 75 74 20 72 | 65 74 75 72 6e 20 61 20 |() but r|eturn a |
|00002000| 73 74 72 69 6e 67 2e 52 | 0e 00 00 00 4e 28 09 00 |string.R|....N(..|
|00002010| 00 00 52 16 00 00 00 52 | 43 00 00 00 52 32 00 00 |..R....R|C...R2..|
|00002020| 00 52 33 00 00 00 52 26 | 00 00 00 74 04 00 00 00 |.R3...R&|...t....|
|00002030| 6a 6f 69 6e 52 02 00 00 | 00 52 23 00 00 00 52 15 |joinR...|.R#...R.|
|00002040| 00 00 00 28 04 00 00 00 | 52 23 00 00 00 52 33 00 |...(....|R#...R3.|
|00002050| 00 00 52 32 00 00 00 52 | 26 00 00 00 28 00 00 00 |..R2...R|&...(...|
|00002060| 00 28 00 00 00 00 52 13 | 00 00 00 52 08 00 00 00 |.(....R.|...R....|
|00002070| d9 00 00 00 73 0c 00 00 | 00 00 01 00 01 03 01 15 |....s...|........|
|00002080| 01 20 01 00 01 63 02 00 | 00 00 02 00 00 00 06 00 |. ...c..|........|
|00002090| 00 00 43 00 00 00 73 3d | 00 00 00 7c 01 00 64 01 |..C...s=|...|..d.|
|000020a0| 00 6a 08 00 6f 0d 00 01 | 74 02 00 69 03 00 7d 01 |.j..o...|t..i..}.|
|000020b0| 00 6e 01 00 01 74 04 00 | 74 02 00 69 05 00 74 02 |.n...t..|t..i..t.|
|000020c0| 00 69 06 00 74 02 00 69 | 07 00 7c 00 00 7c 01 00 |.i..t..i|..|..|..|
|000020d0| 83 05 00 01 64 01 00 53 | 28 02 00 00 00 73 6e 00 |....d..S|(....sn.|
|000020e0| 00 00 54 68 69 73 20 69 | 73 20 61 20 73 68 6f 72 |..This i|s a shor|
|000020f0| 74 68 61 6e 64 20 66 6f | 72 20 27 70 72 69 6e 74 |thand fo|r 'print|
|00002100| 5f 65 78 63 65 70 74 69 | 6f 6e 28 73 79 73 2e 6c |_excepti|on(sys.l|
|00002110| 61 73 74 5f 74 79 70 65 | 2c 0a 20 20 20 20 73 79 |ast_type|,. sy|
|00002120| 73 2e 6c 61 73 74 5f 76 | 61 6c 75 65 2c 20 73 79 |s.last_v|alue, sy|
|00002130| 73 2e 6c 61 73 74 5f 74 | 72 61 63 65 62 61 63 6b |s.last_t|raceback|
|00002140| 2c 20 6c 69 6d 69 74 2c | 20 66 69 6c 65 29 27 2e |, limit,| file)'.|
|00002150| 4e 28 09 00 00 00 52 0f | 00 00 00 52 15 00 00 00 |N(....R.|...R....|
|00002160| 52 16 00 00 00 52 17 00 | 00 00 52 09 00 00 00 74 |R....R..|..R....t|
|00002170| 09 00 00 00 6c 61 73 74 | 5f 74 79 70 65 74 0a 00 |....last|_typet..|
|00002180| 00 00 6c 61 73 74 5f 76 | 61 6c 75 65 74 0e 00 00 |..last_v|aluet...|
|00002190| 00 6c 61 73 74 5f 74 72 | 61 63 65 62 61 63 6b 52 |.last_tr|acebackR|
|000021a0| 23 00 00 00 28 02 00 00 | 00 52 23 00 00 00 52 0f |#...(...|.R#...R.|
|000021b0| 00 00 00 28 00 00 00 00 | 28 00 00 00 00 52 13 00 |...(....|(....R..|
|000021c0| 00 00 52 0a 00 00 00 e2 | 00 00 00 73 0a 00 00 00 |..R.....|...s....|
|000021d0| 00 02 00 01 0d 01 0d 01 | 15 01 63 03 00 00 00 03 |........|..c.....|
|000021e0| 00 00 00 05 00 00 00 43 | 00 00 00 73 61 00 00 00 |.......C|...sa...|
|000021f0| 7c 00 00 64 02 00 6a 08 | 00 6f 3a 00 01 79 0a 00 ||..d..j.|.o:..y..|
|00002200| 74 02 00 82 01 00 57 71 | 47 00 04 74 02 00 6a 0a |t.....Wq|G..t..j.|
|00002210| 00 6f 1d 00 01 01 01 01 | 74 03 00 69 04 00 83 00 |.o......|t..i....|
|00002220| 00 64 01 00 19 69 05 00 | 69 06 00 7d 00 00 71 47 |.d...i..|i..}..qG|
|00002230| 00 01 58 6e 01 00 01 74 | 07 00 74 08 00 7c 00 00 |..Xn...t|..t..|..|
|00002240| 7c 01 00 83 02 00 7c 02 | 00 83 02 00 01 64 02 00 ||.....|.|.....d..|
|00002250| 53 28 03 00 00 00 73 f7 | 00 00 00 50 72 69 6e 74 |S(....s.|...Print|
|00002260| 20 61 20 73 74 61 63 6b | 20 74 72 61 63 65 20 66 | a stack| trace f|
|00002270| 72 6f 6d 20 69 74 73 20 | 69 6e 76 6f 63 61 74 69 |rom its |invocati|
|00002280| 6f 6e 20 70 6f 69 6e 74 | 2e 0a 0a 20 20 20 20 54 |on point|... T|
|00002290| 68 65 20 6f 70 74 69 6f | 6e 61 6c 20 27 66 27 20 |he optio|nal 'f' |
|000022a0| 61 72 67 75 6d 65 6e 74 | 20 63 61 6e 20 62 65 20 |argument| can be |
|000022b0| 75 73 65 64 20 74 6f 20 | 73 70 65 63 69 66 79 20 |used to |specify |
|000022c0| 61 6e 20 61 6c 74 65 72 | 6e 61 74 65 0a 20 20 20 |an alter|nate. |
|000022d0| 20 73 74 61 63 6b 20 66 | 72 61 6d 65 20 61 74 20 | stack f|rame at |
|000022e0| 77 68 69 63 68 20 74 6f | 20 73 74 61 72 74 2e 20 |which to| start. |
|000022f0| 54 68 65 20 6f 70 74 69 | 6f 6e 61 6c 20 27 6c 69 |The opti|onal 'li|
|00002300| 6d 69 74 27 20 61 6e 64 | 20 27 66 69 6c 65 27 0a |mit' and| 'file'.|
|00002310| 20 20 20 20 61 72 67 75 | 6d 65 6e 74 73 20 68 61 | argu|ments ha|
|00002320| 76 65 20 74 68 65 20 73 | 61 6d 65 20 6d 65 61 6e |ve the s|ame mean|
|00002330| 69 6e 67 20 61 73 20 66 | 6f 72 20 70 72 69 6e 74 |ing as f|or print|
|00002340| 5f 65 78 63 65 70 74 69 | 6f 6e 28 29 2e 0a 20 20 |_excepti|on().. |
|00002350| 20 20 69 02 00 00 00 4e | 28 0b 00 00 00 52 28 00 | i....N|(....R(.|
|00002360| 00 00 52 15 00 00 00 74 | 11 00 00 00 5a 65 72 6f |..R....t|....Zero|
|00002370| 44 69 76 69 73 69 6f 6e | 45 72 72 6f 72 52 16 00 |Division|ErrorR..|
|00002380| 00 00 52 43 00 00 00 52 | 27 00 00 00 74 06 00 00 |..RC...R|'...t...|
|00002390| 00 66 5f 62 61 63 6b 52 | 1e 00 00 00 52 00 00 00 |.f_backR|....R...|
|000023a0| 00 52 23 00 00 00 52 0f | 00 00 00 28 03 00 00 00 |.R#...R.|...(....|
|000023b0| 52 28 00 00 00 52 23 00 | 00 00 52 0f 00 00 00 28 |R(...R#.|..R....(|
|000023c0| 00 00 00 00 28 00 00 00 | 00 52 13 00 00 00 52 0b |....(...|.R....R.|
|000023d0| 00 00 00 eb 00 00 00 73 | 0e 00 00 00 00 06 00 01 |.......s|........|
|000023e0| 0d 01 03 01 0a 01 0e 01 | 1f 01 63 02 00 00 00 02 |........|..c.....|
|000023f0| 00 00 00 05 00 00 00 43 | 00 00 00 73 5a 00 00 00 |.......C|...sZ...|
|00002400| 7c 00 00 64 02 00 6a 08 | 00 6f 3a 00 01 79 0a 00 ||..d..j.|.o:..y..|
|00002410| 74 02 00 82 01 00 57 71 | 47 00 04 74 02 00 6a 0a |t.....Wq|G..t..j.|
|00002420| 00 6f 1d 00 01 01 01 01 | 74 03 00 69 04 00 83 00 |.o......|t..i....|
|00002430| 00 64 01 00 19 69 05 00 | 69 06 00 7d 00 00 71 47 |.d...i..|i..}..qG|
|00002440| 00 01 58 6e 01 00 01 74 | 07 00 74 08 00 7c 00 00 |..Xn...t|..t..|..|
|00002450| 7c 01 00 83 02 00 83 01 | 00 53 28 03 00 00 00 73 ||.......|.S(....s|
|00002460| 35 00 00 00 53 68 6f 72 | 74 68 61 6e 64 20 66 6f |5...Shor|thand fo|
|00002470| 72 20 27 66 6f 72 6d 61 | 74 5f 6c 69 73 74 28 65 |r 'forma|t_list(e|
|00002480| 78 74 72 61 63 74 5f 73 | 74 61 63 6b 28 66 2c 20 |xtract_s|tack(f, |
|00002490| 6c 69 6d 69 74 29 29 27 | 2e 69 02 00 00 00 4e 28 |limit))'|.i....N(|
|000024a0| 0a 00 00 00 52 28 00 00 | 00 52 15 00 00 00 52 48 |....R(..|.R....RH|
|000024b0| 00 00 00 52 16 00 00 00 | 52 43 00 00 00 52 27 00 |...R....|RC...R'.|
|000024c0| 00 00 52 49 00 00 00 52 | 04 00 00 00 52 00 00 00 |..RI...R|....R...|
|000024d0| 00 52 23 00 00 00 28 02 | 00 00 00 52 28 00 00 00 |.R#...(.|...R(...|
|000024e0| 52 23 00 00 00 28 00 00 | 00 00 28 00 00 00 00 52 |R#...(..|..(....R|
|000024f0| 13 00 00 00 52 05 00 00 | 00 f9 00 00 00 73 0e 00 |....R...|.....s..|
|00002500| 00 00 00 01 00 01 0d 01 | 03 01 0a 01 0e 01 1f 01 |........|........|
|00002510| 63 02 00 00 00 09 00 00 | 00 05 00 00 00 43 00 00 |c.......|.....C..|
|00002520| 00 73 4a 01 00 00 7c 00 | 00 64 05 00 6a 08 00 6f |.sJ...|.|.d..j..o|
|00002530| 3a 00 01 79 0a 00 74 02 | 00 82 01 00 57 71 47 00 |:..y..t.|....WqG.|
|00002540| 04 74 02 00 6a 0a 00 6f | 1d 00 01 01 01 01 74 03 |.t..j..o|......t.|
|00002550| 00 69 04 00 83 00 00 64 | 01 00 19 69 05 00 69 06 |.i.....d|...i..i.|
|00002560| 00 7d 00 00 71 47 00 01 | 58 6e 01 00 01 7c 01 00 |.}..qG..|Xn...|..|
|00002570| 64 05 00 6a 08 00 6f 21 | 00 01 74 08 00 74 03 00 |d..j..o!|..t..t..|
|00002580| 64 02 00 83 02 00 6f 0d | 00 01 74 03 00 69 09 00 |d.....o.|..t..i..|
|00002590| 7d 01 00 71 75 00 01 6e | 01 00 01 67 00 00 7d 04 |}..qu..n|...g..}.|
|000025a0| 00 64 03 00 7d 05 00 78 | b8 00 7c 00 00 64 05 00 |.d..}..x|..|..d..|
|000025b0| 6a 09 00 6f aa 00 01 7c | 01 00 64 05 00 6a 08 00 |j..o...||..d..j..|
|000025c0| 70 0d 00 01 7c 05 00 7c | 01 00 6a 00 00 6f 90 00 |p...|..||..j..o..|
|000025d0| 01 7c 00 00 69 0c 00 7d | 06 00 7c 00 00 69 0e 00 |.|..i..}|..|..i..|
|000025e0| 7d 02 00 7c 02 00 69 10 | 00 7d 08 00 7c 02 00 69 |}..|..i.|.}..|..i|
|000025f0| 12 00 7d 03 00 74 14 00 | 69 15 00 7c 08 00 83 01 |..}..t..|i..|....|
|00002600| 00 01 74 14 00 69 16 00 | 7c 08 00 7c 06 00 83 02 |..t..i..||..|....|
|00002610| 00 7d 07 00 7c 07 00 6f | 10 00 01 7c 07 00 69 18 |.}..|..o|...|..i.|
|00002620| 00 83 00 00 7d 07 00 6e | 07 00 01 64 05 00 7d 07 |....}..n|...d..}.|
|00002630| 00 7c 04 00 69 19 00 7c | 08 00 7c 06 00 7c 03 00 |.|..i..||..|..|..|
|00002640| 7c 07 00 66 04 00 83 01 | 00 01 7c 00 00 69 06 00 ||..f....|..|..i..|
|00002650| 7d 00 00 7c 05 00 64 04 | 00 17 7d 05 00 71 84 00 |}..|..d.|..}..q..|
|00002660| 01 57 7c 04 00 69 1a 00 | 83 00 00 01 7c 04 00 53 |.W|..i..|....|..S|
|00002670| 28 06 00 00 00 73 73 01 | 00 00 45 78 74 72 61 63 |(....ss.|..Extrac|
|00002680| 74 20 74 68 65 20 72 61 | 77 20 74 72 61 63 65 62 |t the ra|w traceb|
|00002690| 61 63 6b 20 66 72 6f 6d | 20 74 68 65 20 63 75 72 |ack from| the cur|
|000026a0| 72 65 6e 74 20 73 74 61 | 63 6b 20 66 72 61 6d 65 |rent sta|ck frame|
|000026b0| 2e 0a 0a 20 20 20 20 54 | 68 65 20 72 65 74 75 72 |... T|he retur|
|000026c0| 6e 20 76 61 6c 75 65 20 | 68 61 73 20 74 68 65 20 |n value |has the |
|000026d0| 73 61 6d 65 20 66 6f 72 | 6d 61 74 20 61 73 20 66 |same for|mat as f|
|000026e0| 6f 72 20 65 78 74 72 61 | 63 74 5f 74 62 28 29 2e |or extra|ct_tb().|
|000026f0| 20 20 54 68 65 0a 20 20 | 20 20 6f 70 74 69 6f 6e | The. | option|
|00002700| 61 6c 20 27 66 27 20 61 | 6e 64 20 27 6c 69 6d 69 |al 'f' a|nd 'limi|
|00002710| 74 27 20 61 72 67 75 6d | 65 6e 74 73 20 68 61 76 |t' argum|ents hav|
|00002720| 65 20 74 68 65 20 73 61 | 6d 65 20 6d 65 61 6e 69 |e the sa|me meani|
|00002730| 6e 67 20 61 73 20 66 6f | 72 0a 20 20 20 20 70 72 |ng as fo|r. pr|
|00002740| 69 6e 74 5f 73 74 61 63 | 6b 28 29 2e 20 20 45 61 |int_stac|k(). Ea|
|00002750| 63 68 20 69 74 65 6d 20 | 69 6e 20 74 68 65 20 6c |ch item |in the l|
|00002760| 69 73 74 20 69 73 20 61 | 20 71 75 61 64 72 75 70 |ist is a| quadrup|
|00002770| 6c 65 20 28 66 69 6c 65 | 6e 61 6d 65 2c 0a 20 20 |le (file|name,. |
|00002780| 20 20 6c 69 6e 65 20 6e | 75 6d 62 65 72 2c 20 66 | line n|umber, f|
|00002790| 75 6e 63 74 69 6f 6e 20 | 6e 61 6d 65 2c 20 74 65 |unction |name, te|
|000027a0| 78 74 29 2c 20 61 6e 64 | 20 74 68 65 20 65 6e 74 |xt), and| the ent|
|000027b0| 72 69 65 73 20 61 72 65 | 20 69 6e 20 6f 72 64 65 |ries are| in orde|
|000027c0| 72 0a 20 20 20 20 66 72 | 6f 6d 20 6f 6c 64 65 73 |r. fr|om oldes|
|000027d0| 74 20 74 6f 20 6e 65 77 | 65 73 74 20 73 74 61 63 |t to new|est stac|
|000027e0| 6b 20 66 72 61 6d 65 2e | 0a 20 20 20 20 69 02 00 |k frame.|. i..|
|000027f0| 00 00 52 22 00 00 00 69 | 00 00 00 00 69 01 00 00 |..R"...i|....i...|
|00002800| 00 4e 28 1b 00 00 00 52 | 28 00 00 00 52 15 00 00 |.N(....R|(...R...|
|00002810| 00 52 48 00 00 00 52 16 | 00 00 00 52 43 00 00 00 |.RH...R.|...RC...|
|00002820| 52 27 00 00 00 52 49 00 | 00 00 52 23 00 00 00 52 |R'...RI.|..R#...R|
|00002830| 24 00 00 00 52 22 00 00 | 00 52 1f 00 00 00 52 25 |$...R"..|.R....R%|
|00002840| 00 00 00 74 08 00 00 00 | 66 5f 6c 69 6e 65 6e 6f |...t....|f_lineno|
|00002850| 52 1a 00 00 00 52 29 00 | 00 00 52 2a 00 00 00 52 |R....R).|..R*...R|
|00002860| 2b 00 00 00 52 19 00 00 | 00 52 2c 00 00 00 52 1b |+...R...|.R,...R.|
|00002870| 00 00 00 52 2d 00 00 00 | 52 2e 00 00 00 52 2f 00 |...R-...|R....R/.|
|00002880| 00 00 52 1c 00 00 00 52 | 1d 00 00 00 52 21 00 00 |..R....R|....R!..|
|00002890| 00 74 07 00 00 00 72 65 | 76 65 72 73 65 28 09 00 |.t....re|verse(..|
|000028a0| 00 00 52 28 00 00 00 52 | 23 00 00 00 52 2a 00 00 |..R(...R|#...R*..|
|000028b0| 00 52 1b 00 00 00 52 1f | 00 00 00 52 25 00 00 00 |.R....R.|...R%...|
|000028c0| 52 1a 00 00 00 52 1c 00 | 00 00 52 19 00 00 00 28 |R....R..|..R....(|
|000028d0| 00 00 00 00 28 00 00 00 | 00 52 13 00 00 00 52 00 |....(...|.R....R.|
|000028e0| 00 00 00 02 01 00 00 73 | 36 00 00 00 00 08 00 01 |.......s|6.......|
|000028f0| 0d 01 03 01 0a 01 0e 01 | 1f 01 0d 01 10 01 11 01 |........|........|
|00002900| 06 01 06 01 03 00 27 01 | 09 01 09 01 09 01 09 01 |......'.|........|
|00002910| 0d 01 12 01 07 00 10 01 | 06 01 19 01 09 01 0f 01 |........|........|
|00002920| 0a 01 63 01 00 00 00 01 | 00 00 00 01 00 00 00 43 |..c.....|.......C|
|00002930| 00 00 00 73 07 00 00 00 | 7c 00 00 69 01 00 53 28 |...s....||..i..S(|
|00002940| 02 00 00 00 73 52 00 00 | 00 43 61 6c 63 75 6c 61 |....sR..|.Calcula|
|00002950| 74 65 20 63 6f 72 72 65 | 63 74 20 6c 69 6e 65 20 |te corre|ct line |
|00002960| 6e 75 6d 62 65 72 20 6f | 66 20 74 72 61 63 65 62 |number o|f traceb|
|00002970| 61 63 6b 20 67 69 76 65 | 6e 20 69 6e 20 74 62 2e |ack give|n in tb.|
|00002980| 0a 0a 20 20 20 20 4f 62 | 73 6f 6c 65 74 65 20 69 |.. Ob|solete i|
|00002990| 6e 20 32 2e 33 2e 0a 20 | 20 20 20 4e 28 02 00 00 |n 2.3.. | N(...|
|000029a0| 00 52 26 00 00 00 52 0d | 00 00 00 28 01 00 00 00 |.R&...R.|...(....|
|000029b0| 52 26 00 00 00 28 00 00 | 00 00 28 00 00 00 00 52 |R&...(..|..(....R|
|000029c0| 13 00 00 00 52 0d 00 00 | 00 24 01 00 00 73 04 00 |....R...|.$...s..|
|000029d0| 00 00 00 04 00 01 28 17 | 00 00 00 74 07 00 00 00 |......(.|...t....|
|000029e0| 5f 5f 64 6f 63 5f 5f 52 | 2d 00 00 00 52 16 00 00 |__doc__R|-...R...|
|000029f0| 00 52 36 00 00 00 74 07 | 00 00 00 5f 5f 61 6c 6c |.R6...t.|...__all|
|00002a00| 5f 5f 52 14 00 00 00 52 | 15 00 00 00 52 1e 00 00 |__R....R|....R...|
|00002a10| 00 52 04 00 00 00 52 0c | 00 00 00 52 06 00 00 00 |.R....R.|...R....|
|00002a20| 52 01 00 00 00 52 09 00 | 00 00 52 02 00 00 00 52 |R....R..|..R....R|
|00002a30| 03 00 00 00 52 42 00 00 | 00 52 07 00 00 00 52 08 |....RB..|.R....R.|
|00002a40| 00 00 00 52 0a 00 00 00 | 52 0b 00 00 00 52 05 00 |...R....|R....R..|
|00002a50| 00 00 52 00 00 00 00 52 | 0d 00 00 00 28 15 00 00 |..R....R|....(...|
|00002a60| 00 52 0b 00 00 00 52 09 | 00 00 00 52 0a 00 00 00 |.R....R.|...R....|
|00002a70| 52 14 00 00 00 52 1e 00 | 00 00 52 0d 00 00 00 52 |R....R..|..R....R|
|00002a80| 4d 00 00 00 52 05 00 00 | 00 52 03 00 00 00 52 01 |M...R...|.R....R.|
|00002a90| 00 00 00 52 00 00 00 00 | 52 06 00 00 00 52 0c 00 |...R....|R....R..|
|00002aa0| 00 00 52 16 00 00 00 52 | 36 00 00 00 52 02 00 00 |..R....R|6...R...|
|00002ab0| 00 52 08 00 00 00 52 07 | 00 00 00 52 42 00 00 00 |.R....R.|...RB...|
|00002ac0| 52 04 00 00 00 52 2d 00 | 00 00 28 00 00 00 00 28 |R....R-.|..(....(|
|00002ad0| 00 00 00 00 52 13 00 00 | 00 74 01 00 00 00 3f 01 |....R...|.t....?.|
|00002ae0| 00 00 00 73 2a 00 00 00 | 06 02 09 01 09 01 09 02 |...s*...|........|
|00002af0| 30 05 0f 04 0c 0b 09 13 | 0f 1c 0c 04 0c 20 0f 15 |0.......|..... ..|
|00002b00| 0c 11 09 31 09 07 0f 0d | 0c 09 0f 09 12 0e 0f 09 |...1....|........|
|00002b10| 0f 22 | |." | |
+--------+-------------------------+-------------------------+--------+--------+