home *** CD-ROM | disk | FTP | other *** search
Unknown | 2009-07-20 | 10.7 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.
Confidence | Program | Detection | Match Type | Support
|
---|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 6d f2 0d 0a f6 e1 52 4a | 63 00 00 00 00 00 00 00 |m.....RJ|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 0e 00 00 |..(....(|....t...|
|00000310| 00 2e 2f 74 72 61 63 65 | 62 61 63 6b 2e 70 79 74 |../trace|back.pyt|
|00000320| 06 00 00 00 5f 70 72 69 | 6e 74 0c 00 00 00 73 02 |...._pri|nt....s.|
|00000330| 00 00 00 00 01 63 02 00 | 00 00 06 00 00 00 07 00 |.....c..|........|
|00000340| 00 00 43 00 00 00 73 77 | 00 00 00 7c 01 00 64 03 |..C...sw|...|..d.|
|00000350| 00 6a 08 00 6f 0d 00 01 | 74 02 00 69 03 00 7d 01 |.j..o...|t..i..}.|
|00000360| 00 6e 01 00 01 78 56 00 | 7c 00 00 44 5d 4e 00 5c |.n...xV.||..D]N.\|
|00000370| 04 00 7d 03 00 7d 04 00 | 7d 02 00 7d 05 00 74 09 |..}..}..|}..}..t.|
|00000380| 00 7c 01 00 64 01 00 7c | 03 00 7c 04 00 7c 02 00 |.|..d..||..|..|..|
|00000390| 66 03 00 16 83 02 00 01 | 7c 05 00 6f 1b 00 01 74 |f.......||..o...t|
|000003a0| 09 00 7c 01 00 64 02 00 | 7c 05 00 69 0a 00 83 00 |..|..d..||..i....|
|000003b0| 00 16 83 02 00 01 71 21 | 00 01 71 21 00 57 64 03 |......q!|..q!.Wd.|
|000003c0| 00 53 28 04 00 00 00 73 | 79 00 00 00 50 72 69 6e |.S(....s|y...Prin|
|000003d0| 74 20 74 68 65 20 6c 69 | 73 74 20 6f 66 20 74 75 |t the li|st of tu|
|000003e0| 70 6c 65 73 20 61 73 20 | 72 65 74 75 72 6e 65 64 |ples as |returned|
|000003f0| 20 62 79 20 65 78 74 72 | 61 63 74 5f 74 62 28 29 | by extr|act_tb()|
|00000400| 20 6f 72 0a 20 20 20 20 | 65 78 74 72 61 63 74 5f | or. |extract_|
|00000410| 73 74 61 63 6b 28 29 20 | 61 73 20 61 20 66 6f 72 |stack() |as a for|
|00000420| 6d 61 74 74 65 64 20 73 | 74 61 63 6b 20 74 72 61 |matted s|tack tra|
|00000430| 63 65 20 74 6f 20 74 68 | 65 20 67 69 76 65 6e 20 |ce to th|e given |
|00000440| 66 69 6c 65 2e 73 1b 00 | 00 00 20 20 46 69 6c 65 |file.s..|.. File|
|00000450| 20 22 25 73 22 2c 20 6c | 69 6e 65 20 25 64 2c 20 | "%s", l|ine %d, |
|00000460| 69 6e 20 25 73 73 06 00 | 00 00 20 20 20 20 25 73 |in %ss..|.. %s|
|00000470| 4e 28 0b 00 00 00 52 0f | 00 00 00 74 04 00 00 00 |N(....R.|...t....|
|00000480| 4e 6f 6e 65 74 03 00 00 | 00 73 79 73 74 06 00 00 |Nonet...|.syst...|
|00000490| 00 73 74 64 65 72 72 74 | 0e 00 00 00 65 78 74 72 |.stderrt|....extr|
|000004a0| 61 63 74 65 64 5f 6c 69 | 73 74 74 08 00 00 00 66 |acted_li|stt....f|
|000004b0| 69 6c 65 6e 61 6d 65 74 | 06 00 00 00 6c 69 6e 65 |ilenamet|....line|
|000004c0| 6e 6f 74 04 00 00 00 6e | 61 6d 65 74 04 00 00 00 |not....n|amet....|
|000004d0| 6c 69 6e 65 52 14 00 00 | 00 74 05 00 00 00 73 74 |lineR...|.t....st|
|000004e0| 72 69 70 28 06 00 00 00 | 52 18 00 00 00 52 0f 00 |rip(....|R....R..|
|000004f0| 00 00 52 1b 00 00 00 52 | 19 00 00 00 52 1a 00 00 |..R....R|....R...|
|00000500| 00 52 1c 00 00 00 28 00 | 00 00 00 28 00 00 00 00 |.R....(.|...(....|
|00000510| 52 13 00 00 00 74 0a 00 | 00 00 70 72 69 6e 74 5f |R....t..|..print_|
|00000520| 6c 69 73 74 10 00 00 00 | 73 12 00 00 00 00 02 00 |list....|s.......|
|00000530| 01 0d 01 0d 01 07 00 12 | 01 06 01 14 01 07 01 63 |........|.......c|
|00000540| 01 00 00 00 07 00 00 00 | 05 00 00 00 43 00 00 00 |........|....C...|
|00000550| 73 66 00 00 00 67 00 00 | 7d 02 00 78 59 00 7c 00 |sf...g..|}..xY.|.|
|00000560| 00 44 5d 51 00 5c 04 00 | 7d 03 00 7d 05 00 7d 01 |.D]Q.\..|}..}..}.|
|00000570| 00 7d 06 00 64 01 00 7c | 03 00 7c 05 00 7c 01 00 |.}..d..||..|..|..|
|00000580| 66 03 00 16 7d 04 00 7c | 06 00 6f 18 00 01 7c 04 |f...}..||..o...|.|
|00000590| 00 64 02 00 7c 06 00 69 | 07 00 83 00 00 16 17 7d |.d..|..i|.......}|
|000005a0| 04 00 6e 01 00 01 7c 02 | 00 69 08 00 7c 04 00 83 |..n...|.|.i..|...|
|000005b0| 01 00 01 71 0d 00 57 7c | 02 00 53 28 04 00 00 00 |...q..W||..S(....|
|000005c0| 73 b2 01 00 00 46 6f 72 | 6d 61 74 20 61 20 6c 69 |s....For|mat a li|
|000005d0| 73 74 20 6f 66 20 74 72 | 61 63 65 62 61 63 6b 20 |st of tr|aceback |
|000005e0| 65 6e 74 72 79 20 74 75 | 70 6c 65 73 20 66 6f 72 |entry tu|ples for|
|000005f0| 20 70 72 69 6e 74 69 6e | 67 2e 0a 0a 20 20 20 20 | printin|g... |
|00000600| 47 69 76 65 6e 20 61 20 | 6c 69 73 74 20 6f 66 20 |Given a |list of |
|00000610| 74 75 70 6c 65 73 20 61 | 73 20 72 65 74 75 72 6e |tuples a|s return|
|00000620| 65 64 20 62 79 20 65 78 | 74 72 61 63 74 5f 74 62 |ed by ex|tract_tb|
|00000630| 28 29 20 6f 72 0a 20 20 | 20 20 65 78 74 72 61 63 |() or. | extrac|
|00000640| 74 5f 73 74 61 63 6b 28 | 29 2c 20 72 65 74 75 72 |t_stack(|), retur|
|00000650| 6e 20 61 20 6c 69 73 74 | 20 6f 66 20 73 74 72 69 |n a list| of stri|
|00000660| 6e 67 73 20 72 65 61 64 | 79 20 66 6f 72 20 70 72 |ngs read|y for pr|
|00000670| 69 6e 74 69 6e 67 2e 0a | 20 20 20 20 45 61 63 68 |inting..| Each|
|00000680| 20 73 74 72 69 6e 67 20 | 69 6e 20 74 68 65 20 72 | string |in the r|
|00000690| 65 73 75 6c 74 69 6e 67 | 20 6c 69 73 74 20 63 6f |esulting| list co|
|000006a0| 72 72 65 73 70 6f 6e 64 | 73 20 74 6f 20 74 68 65 |rrespond|s to the|
|000006b0| 20 69 74 65 6d 20 77 69 | 74 68 20 74 68 65 0a 20 | item wi|th the. |
|000006c0| 20 20 20 73 61 6d 65 20 | 69 6e 64 65 78 20 69 6e | same |index in|
|000006d0| 20 74 68 65 20 61 72 67 | 75 6d 65 6e 74 20 6c 69 | the arg|ument li|
|000006e0| 73 74 2e 20 20 45 61 63 | 68 20 73 74 72 69 6e 67 |st. Eac|h string|
|000006f0| 20 65 6e 64 73 20 69 6e | 20 61 20 6e 65 77 6c 69 | ends in| a newli|
|00000700| 6e 65 3b 0a 20 20 20 20 | 74 68 65 20 73 74 72 69 |ne;. |the stri|
|00000710| 6e 67 73 20 6d 61 79 20 | 63 6f 6e 74 61 69 6e 20 |ngs may |contain |
|00000720| 69 6e 74 65 72 6e 61 6c | 20 6e 65 77 6c 69 6e 65 |internal| newline|
|00000730| 73 20 61 73 20 77 65 6c | 6c 2c 20 66 6f 72 20 74 |s as wel|l, for t|
|00000740| 68 6f 73 65 20 69 74 65 | 6d 73 0a 20 20 20 20 77 |hose ite|ms. w|
|00000750| 68 6f 73 65 20 73 6f 75 | 72 63 65 20 74 65 78 74 |hose sou|rce text|
|00000760| 20 6c 69 6e 65 20 69 73 | 20 6e 6f 74 20 4e 6f 6e | line is| not Non|
|00000770| 65 2e 0a 20 20 20 20 73 | 1c 00 00 00 20 20 46 69 |e.. s|.... Fi|
|00000780| 6c 65 20 22 25 73 22 2c | 20 6c 69 6e 65 20 25 64 |le "%s",| line %d|
|00000790| 2c 20 69 6e 20 25 73 0a | 73 07 00 00 00 20 20 20 |, in %s.|s.... |
|000007a0| 20 25 73 0a 4e 28 09 00 | 00 00 74 04 00 00 00 6c | %s.N(..|..t....l|
|000007b0| 69 73 74 52 18 00 00 00 | 52 19 00 00 00 52 1a 00 |istR....|R....R..|
|000007c0| 00 00 52 1b 00 00 00 52 | 1c 00 00 00 74 04 00 00 |..R....R|....t...|
|000007d0| 00 69 74 65 6d 52 1d 00 | 00 00 74 06 00 00 00 61 |.itemR..|..t....a|
|000007e0| 70 70 65 6e 64 28 07 00 | 00 00 52 18 00 00 00 52 |ppend(..|..R....R|
|000007f0| 1b 00 00 00 52 1f 00 00 | 00 52 19 00 00 00 52 20 |....R...|.R....R |
|00000800| 00 00 00 52 1a 00 00 00 | 52 1c 00 00 00 28 00 00 |...R....|R....(..|
|00000810| 00 00 28 00 00 00 00 52 | 13 00 00 00 52 04 00 00 |..(....R|....R...|
|00000820| 00 1b 00 00 00 73 12 00 | 00 00 00 09 00 01 06 01 |.....s..|........|
|00000830| 07 00 12 01 13 01 07 01 | 18 01 11 01 63 03 00 00 |........|....c...|
|00000840| 00 0a 00 00 00 06 00 00 | 00 43 00 00 00 73 1c 01 |........|.C...s..|
|00000850| 00 00 7c 02 00 64 06 00 | 6a 08 00 6f 0d 00 01 74 |..|..d..|j..o...t|
|00000860| 02 00 69 03 00 7d 02 00 | 6e 01 00 01 7c 01 00 64 |..i..}..|n...|..d|
|00000870| 06 00 6a 08 00 6f 21 00 | 01 74 05 00 74 02 00 64 |..j..o!.|.t..t..d|
|00000880| 01 00 83 02 00 6f 0d 00 | 01 74 02 00 69 06 00 7d |.....o..|.t..i..}|
|00000890| 01 00 71 48 00 01 6e 01 | 00 01 64 02 00 7d 06 00 |..qH..n.|..d..}..|
|000008a0| 78 c7 00 7c 00 00 64 06 | 00 6a 09 00 6f b9 00 01 |x..|..d.|.j..o...|
|000008b0| 7c 01 00 64 06 00 6a 08 | 00 70 0d 00 01 7c 06 00 ||..d..j.|.p...|..|
|000008c0| 7c 01 00 6a 00 00 6f 9f | 00 01 7c 00 00 69 09 00 ||..j..o.|..|..i..|
|000008d0| 7d 05 00 7c 00 00 69 0b | 00 7d 07 00 7c 05 00 69 |}..|..i.|.}..|..i|
|000008e0| 0d 00 7d 03 00 7c 03 00 | 69 0f 00 7d 09 00 7c 03 |..}..|..|i..}..|.|
|000008f0| 00 69 11 00 7d 04 00 74 | 13 00 7c 02 00 64 03 00 |.i..}..t|..|..d..|
|00000900| 7c 09 00 7c 07 00 7c 04 | 00 66 03 00 16 83 02 00 ||..|..|.|.f......|
|00000910| 01 74 14 00 69 15 00 7c | 09 00 83 01 00 01 74 14 |.t..i..||......t.|
|00000920| 00 69 16 00 7c 09 00 7c | 07 00 83 02 00 7d 08 00 |.i..|..||.....}..|
|00000930| 7c 08 00 6f 1b 00 01 74 | 13 00 7c 02 00 64 04 00 ||..o...t|..|..d..|
|00000940| 7c 08 00 69 18 00 83 00 | 00 17 83 02 00 01 6e 01 ||..i....|......n.|
|00000950| 00 01 7c 00 00 69 19 00 | 7d 00 00 7c 06 00 64 05 |..|..i..|}..|..d.|
|00000960| 00 17 7d 06 00 71 51 00 | 01 57 64 06 00 53 28 07 |..}..qQ.|.Wd..S(.|
|00000970| 00 00 00 73 1f 01 00 00 | 50 72 69 6e 74 20 75 70 |...s....|Print up|
|00000980| 20 74 6f 20 27 6c 69 6d | 69 74 27 20 73 74 61 63 | to 'lim|it' stac|
|00000990| 6b 20 74 72 61 63 65 20 | 65 6e 74 72 69 65 73 20 |k trace |entries |
|000009a0| 66 72 6f 6d 20 74 68 65 | 20 74 72 61 63 65 62 61 |from the| traceba|
|000009b0| 63 6b 20 27 74 62 27 2e | 0a 0a 20 20 20 20 49 66 |ck 'tb'.|.. If|
|000009c0| 20 27 6c 69 6d 69 74 27 | 20 69 73 20 6f 6d 69 74 | 'limit'| is omit|
|000009d0| 74 65 64 20 6f 72 20 4e | 6f 6e 65 2c 20 61 6c 6c |ted or N|one, all|
|000009e0| 20 65 6e 74 72 69 65 73 | 20 61 72 65 20 70 72 69 | entries| are pri|
|000009f0| 6e 74 65 64 2e 20 20 49 | 66 20 27 66 69 6c 65 27 |nted. I|f 'file'|
|00000a00| 0a 20 20 20 20 69 73 20 | 6f 6d 69 74 74 65 64 20 |. is |omitted |
|00000a10| 6f 72 20 4e 6f 6e 65 2c | 20 74 68 65 20 6f 75 74 |or None,| the out|
|00000a20| 70 75 74 20 67 6f 65 73 | 20 74 6f 20 73 79 73 2e |put goes| to sys.|
|00000a30| 73 74 64 65 72 72 3b 20 | 6f 74 68 65 72 77 69 73 |stderr; |otherwis|
|00000a40| 65 0a 20 20 20 20 27 66 | 69 6c 65 27 20 73 68 6f |e. 'f|ile' sho|
|00000a50| 75 6c 64 20 62 65 20 61 | 6e 20 6f 70 65 6e 20 66 |uld be a|n open f|
|00000a60| 69 6c 65 20 6f 72 20 66 | 69 6c 65 2d 6c 69 6b 65 |ile or f|ile-like|
|00000a70| 20 6f 62 6a 65 63 74 20 | 77 69 74 68 20 61 20 77 | object |with a w|
|00000a80| 72 69 74 65 28 29 0a 20 | 20 20 20 6d 65 74 68 6f |rite(). | metho|
|00000a90| 64 2e 0a 20 20 20 20 74 | 0e 00 00 00 74 72 61 63 |d.. t|....trac|
|00000aa0| 65 62 61 63 6b 6c 69 6d | 69 74 69 00 00 00 00 73 |ebacklim|iti....s|
|00000ab0| 1b 00 00 00 20 20 46 69 | 6c 65 20 22 25 73 22 2c |.... Fi|le "%s",|
|00000ac0| 20 6c 69 6e 65 20 25 64 | 2c 20 69 6e 20 25 73 73 | line %d|, in %ss|
|00000ad0| 04 00 00 00 20 20 20 20 | 69 01 00 00 00 4e 28 1a |.... |i....N(.|
|00000ae0| 00 00 00 52 0f 00 00 00 | 52 15 00 00 00 52 16 00 |...R....|R....R..|
|00000af0| 00 00 52 17 00 00 00 74 | 05 00 00 00 6c 69 6d 69 |..R....t|....limi|
|00000b00| 74 74 07 00 00 00 68 61 | 73 61 74 74 72 52 22 00 |tt....ha|sattrR".|
|00000b10| 00 00 74 01 00 00 00 6e | 74 02 00 00 00 74 62 74 |..t....n|t....tbt|
|00000b20| 08 00 00 00 74 62 5f 66 | 72 61 6d 65 74 01 00 00 |....tb_f|ramet...|
|00000b30| 00 66 52 0d 00 00 00 52 | 1a 00 00 00 74 06 00 00 |.fR....R|....t...|
|00000b40| 00 66 5f 63 6f 64 65 74 | 02 00 00 00 63 6f 74 0b |.f_codet|....cot.|
|00000b50| 00 00 00 63 6f 5f 66 69 | 6c 65 6e 61 6d 65 52 19 |...co_fi|lenameR.|
|00000b60| 00 00 00 74 07 00 00 00 | 63 6f 5f 6e 61 6d 65 52 |...t....|co_nameR|
|00000b70| 1b 00 00 00 52 14 00 00 | 00 74 09 00 00 00 6c 69 |....R...|.t....li|
|00000b80| 6e 65 63 61 63 68 65 74 | 0a 00 00 00 63 68 65 63 |necachet|....chec|
|00000b90| 6b 63 61 63 68 65 74 07 | 00 00 00 67 65 74 6c 69 |kcachet.|...getli|
|00000ba0| 6e 65 52 1c 00 00 00 52 | 1d 00 00 00 74 07 00 00 |neR....R|....t...|
|00000bb0| 00 74 62 5f 6e 65 78 74 | 28 0a 00 00 00 52 26 00 |.tb_next|(....R&.|
|00000bc0| 00 00 52 23 00 00 00 52 | 0f 00 00 00 52 2a 00 00 |..R#...R|....R*..|
|00000bd0| 00 52 1b 00 00 00 52 28 | 00 00 00 52 25 00 00 00 |.R....R(|...R%...|
|00000be0| 52 1a 00 00 00 52 1c 00 | 00 00 52 19 00 00 00 28 |R....R..|..R....(|
|00000bf0| 00 00 00 00 28 00 00 00 | 00 52 13 00 00 00 52 0c |....(...|.R....R.|
|00000c00| 00 00 00 2e 00 00 00 73 | 2c 00 00 00 00 07 00 01 |.......s|,.......|
|00000c10| 0d 01 0d 01 0d 01 10 01 | 11 01 06 01 03 00 27 01 |........|......'.|
|00000c20| 09 01 09 01 09 01 09 01 | 09 01 06 01 14 01 0d 01 |........|........|
|00000c30| 12 01 07 00 1b 01 09 01 | 63 02 00 00 00 02 00 00 |........|c.......|
|00000c40| 00 04 00 00 00 43 00 00 | 00 73 13 00 00 00 74 00 |.....C..|.s....t.|
|00000c50| 00 74 01 00 7c 00 00 7c | 01 00 83 02 00 83 01 00 |.t..|..||........|
|00000c60| 53 28 02 00 00 00 73 36 | 00 00 00 41 20 73 68 6f |S(....s6|...A sho|
|00000c70| 72 74 68 61 6e 64 20 66 | 6f 72 20 27 66 6f 72 6d |rthand f|or 'form|
|00000c80| 61 74 5f 6c 69 73 74 28 | 65 78 74 72 61 63 74 5f |at_list(|extract_|
|00000c90| 73 74 61 63 6b 28 66 2c | 20 6c 69 6d 69 74 29 29 |stack(f,| limit))|
|00000ca0| 2e 4e 28 04 00 00 00 52 | 04 00 00 00 52 01 00 00 |.N(....R|....R...|
|00000cb0| 00 52 26 00 00 00 52 23 | 00 00 00 28 02 00 00 00 |.R&...R#|...(....|
|00000cc0| 52 26 00 00 00 52 23 00 | 00 00 28 00 00 00 00 28 |R&...R#.|..(....(|
|00000cd0| 00 00 00 00 52 13 00 00 | 00 52 06 00 00 00 4a 00 |....R...|.R....J.|
|00000ce0| 00 00 73 04 00 00 00 00 | 01 00 01 63 02 00 00 00 |..s.....|...c....|
|00000cf0| 0a 00 00 00 05 00 00 00 | 43 00 00 00 73 02 01 00 |........|C...s...|
|00000d00| 00 7c 01 00 64 04 00 6a | 08 00 6f 21 00 01 74 02 |.|..d..j|..o!..t.|
|00000d10| 00 74 03 00 64 01 00 83 | 02 00 6f 0d 00 01 74 03 |.t..d...|..o...t.|
|00000d20| 00 69 04 00 7d 01 00 71 | 2e 00 01 6e 01 00 01 67 |.i..}..q|...n...g|
|00000d30| 00 00 7d 05 00 64 02 00 | 7d 06 00 78 c1 00 7c 00 |..}..d..|}..x..|.|
|00000d40| 00 64 04 00 6a 09 00 6f | b3 00 01 7c 01 00 64 04 |.d..j..o|...|..d.|
|00000d50| 00 6a 08 00 70 0d 00 01 | 7c 06 00 7c 01 00 6a 00 |.j..p...||..|..j.|
|00000d60| 00 6f 99 00 01 7c 00 00 | 69 08 00 7d 04 00 7c 00 |.o...|..|i..}..|.|
|00000d70| 00 69 0a 00 7d 07 00 7c | 04 00 69 0c 00 7d 02 00 |.i..}..||..i..}..|
|00000d80| 7c 02 00 69 0e 00 7d 09 | 00 7c 02 00 69 10 00 7d ||..i..}.|.|..i..}|
|00000d90| 03 00 74 12 00 69 13 00 | 7c 09 00 83 01 00 01 74 |..t..i..||......t|
|00000da0| 12 00 69 14 00 7c 09 00 | 7c 07 00 83 02 00 7d 08 |..i..|..||.....}.|
|00000db0| 00 7c 08 00 6f 10 00 01 | 7c 08 00 69 16 00 83 00 |.|..o...||..i....|
|00000dc0| 00 7d 08 00 6e 07 00 01 | 64 04 00 7d 08 00 7c 05 |.}..n...|d..}..|.|
|00000dd0| 00 69 17 00 7c 09 00 7c | 07 00 7c 03 00 7c 08 00 |.i..|..||..|..|..|
|00000de0| 66 04 00 83 01 00 01 7c | 00 00 69 18 00 7d 00 00 |f......||..i..}..|
|00000df0| 7c 06 00 64 03 00 17 7d | 06 00 71 3d 00 01 57 7c ||..d...}|..q=..W||
|00000e00| 05 00 53 28 05 00 00 00 | 73 ed 01 00 00 52 65 74 |..S(....|s....Ret|
|00000e10| 75 72 6e 20 6c 69 73 74 | 20 6f 66 20 75 70 20 74 |urn list| of up t|
|00000e20| 6f 20 6c 69 6d 69 74 20 | 70 72 65 2d 70 72 6f 63 |o limit |pre-proc|
|00000e30| 65 73 73 65 64 20 65 6e | 74 72 69 65 73 20 66 72 |essed en|tries fr|
|00000e40| 6f 6d 20 74 72 61 63 65 | 62 61 63 6b 2e 0a 0a 20 |om trace|back... |
|00000e50| 20 20 20 54 68 69 73 20 | 69 73 20 75 73 65 66 75 | This |is usefu|
|00000e60| 6c 20 66 6f 72 20 61 6c | 74 65 72 6e 61 74 65 20 |l for al|ternate |
|00000e70| 66 6f 72 6d 61 74 74 69 | 6e 67 20 6f 66 20 73 74 |formatti|ng of st|
|00000e80| 61 63 6b 20 74 72 61 63 | 65 73 2e 20 20 49 66 0a |ack trac|es. If.|
|00000e90| 20 20 20 20 27 6c 69 6d | 69 74 27 20 69 73 20 6f | 'lim|it' is o|
|00000ea0| 6d 69 74 74 65 64 20 6f | 72 20 4e 6f 6e 65 2c 20 |mitted o|r None, |
|00000eb0| 61 6c 6c 20 65 6e 74 72 | 69 65 73 20 61 72 65 20 |all entr|ies are |
|00000ec0| 65 78 74 72 61 63 74 65 | 64 2e 20 20 41 0a 20 20 |extracte|d. A. |
|00000ed0| 20 20 70 72 65 2d 70 72 | 6f 63 65 73 73 65 64 20 | pre-pr|ocessed |
|00000ee0| 73 74 61 63 6b 20 74 72 | 61 63 65 20 65 6e 74 72 |stack tr|ace entr|
|00000ef0| 79 20 69 73 20 61 20 71 | 75 61 64 72 75 70 6c 65 |y is a q|uadruple|
|00000f00| 20 28 66 69 6c 65 6e 61 | 6d 65 2c 20 6c 69 6e 65 | (filena|me, line|
|00000f10| 0a 20 20 20 20 6e 75 6d | 62 65 72 2c 20 66 75 6e |. num|ber, fun|
|00000f20| 63 74 69 6f 6e 20 6e 61 | 6d 65 2c 20 74 65 78 74 |ction na|me, text|
|00000f30| 29 20 72 65 70 72 65 73 | 65 6e 74 69 6e 67 20 74 |) repres|enting t|
|00000f40| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 74 |he infor|mation t|
|00000f50| 68 61 74 20 69 73 0a 20 | 20 20 20 75 73 75 61 6c |hat is. | usual|
|00000f60| 6c 79 20 70 72 69 6e 74 | 65 64 20 66 6f 72 20 61 |ly print|ed for a|
|00000f70| 20 73 74 61 63 6b 20 74 | 72 61 63 65 2e 20 20 54 | stack t|race. T|
|00000f80| 68 65 20 74 65 78 74 20 | 69 73 20 61 20 73 74 72 |he text |is a str|
|00000f90| 69 6e 67 20 77 69 74 68 | 0a 20 20 20 20 6c 65 61 |ing with|. lea|
|00000fa0| 64 69 6e 67 20 61 6e 64 | 20 74 72 61 69 6c 69 6e |ding and| trailin|
|00000fb0| 67 20 77 68 69 74 65 73 | 70 61 63 65 20 73 74 72 |g whites|pace str|
|00000fc0| 69 70 70 65 64 3b 20 69 | 66 20 74 68 65 20 73 6f |ipped; i|f the so|
|00000fd0| 75 72 63 65 20 69 73 20 | 6e 6f 74 0a 20 20 20 20 |urce is |not. |
|00000fe0| 61 76 61 69 6c 61 62 6c | 65 20 69 74 20 69 73 20 |availabl|e it is |
|00000ff0| 4e 6f 6e 65 2e 0a 20 20 | 20 20 52 22 00 00 00 69 |None.. | R"...i|
|00001000| 00 00 00 00 69 01 00 00 | 00 4e 28 19 00 00 00 52 |....i...|.N(....R|
|00001010| 23 00 00 00 52 15 00 00 | 00 52 24 00 00 00 52 16 |#...R...|.R$...R.|
|00001020| 00 00 00 52 22 00 00 00 | 52 1f 00 00 00 52 25 00 |...R"...|R....R%.|
|00001030| 00 00 52 26 00 00 00 52 | 27 00 00 00 52 28 00 00 |..R&...R|'...R(..|
|00001040| 00 52 0d 00 00 00 52 1a | 00 00 00 52 29 00 00 00 |.R....R.|...R)...|
|00001050| 52 2a 00 00 00 52 2b 00 | 00 00 52 19 00 00 00 52 |R*...R+.|..R....R|
|00001060| 2c 00 00 00 52 1b 00 00 | 00 52 2d 00 00 00 52 2e |,...R...|.R-...R.|
|00001070| 00 00 00 52 2f 00 00 00 | 52 1c 00 00 00 52 1d 00 |...R/...|R....R..|
|00001080| 00 00 52 21 00 00 00 52 | 30 00 00 00 28 0a 00 00 |..R!...R|0...(...|
|00001090| 00 52 26 00 00 00 52 23 | 00 00 00 52 2a 00 00 00 |.R&...R#|...R*...|
|000010a0| 52 1b 00 00 00 52 28 00 | 00 00 52 1f 00 00 00 52 |R....R(.|..R....R|
|000010b0| 25 00 00 00 52 1a 00 00 | 00 52 1c 00 00 00 52 19 |%...R...|.R....R.|
|000010c0| 00 00 00 28 00 00 00 00 | 28 00 00 00 00 52 13 00 |...(....|(....R..|
|000010d0| 00 00 52 01 00 00 00 4e | 00 00 00 73 2c 00 00 00 |..R....N|...s,...|
|000010e0| 00 0a 00 01 0d 01 10 01 | 11 01 06 01 06 01 03 00 |........|........|
|000010f0| 27 01 09 01 09 01 09 01 | 09 01 09 01 0d 01 12 01 |'.......|........|
|00001100| 07 00 10 01 06 01 19 01 | 09 01 0f 01 63 05 00 00 |........|....c...|
|00001110| 00 07 00 00 00 05 00 00 | 00 43 00 00 00 73 8e 00 |........|.C...s..|
|00001120| 00 00 7c 04 00 64 05 00 | 6a 08 00 6f 0d 00 01 74 |..|..d..|j..o...t|
|00001130| 02 00 69 03 00 7d 04 00 | 6e 01 00 01 7c 02 00 6f |..i..}..|n...|..o|
|00001140| 21 00 01 74 05 00 7c 04 | 00 64 01 00 83 02 00 01 |!..t..|.|.d......|
|00001150| 74 06 00 7c 02 00 7c 03 | 00 7c 04 00 83 03 00 01 |t..|..|.|.|......|
|00001160| 6e 01 00 01 74 08 00 7c | 00 00 7c 01 00 83 02 00 |n...t..||..|.....|
|00001170| 7d 05 00 78 22 00 7c 05 | 00 64 02 00 20 44 5d 16 |}..x".|.|.d.. D].|
|00001180| 00 7d 06 00 74 05 00 7c | 04 00 7c 06 00 64 03 00 |.}..t..||..|..d..|
|00001190| 83 03 00 01 71 5c 00 57 | 74 05 00 7c 04 00 7c 05 |....q\.W|t..|..|.|
|000011a0| 00 64 02 00 19 64 04 00 | 83 03 00 01 64 05 00 53 |.d...d..|....d..S|
|000011b0| 28 06 00 00 00 73 f9 01 | 00 00 50 72 69 6e 74 20 |(....s..|..Print |
|000011c0| 65 78 63 65 70 74 69 6f | 6e 20 75 70 20 74 6f 20 |exceptio|n up to |
|000011d0| 27 6c 69 6d 69 74 27 20 | 73 74 61 63 6b 20 74 72 |'limit' |stack tr|
|000011e0| 61 63 65 20 65 6e 74 72 | 69 65 73 20 66 72 6f 6d |ace entr|ies from|
|000011f0| 20 27 74 62 27 20 74 6f | 20 27 66 69 6c 65 27 2e | 'tb' to| 'file'.|
|00001200| 0a 0a 20 20 20 20 54 68 | 69 73 20 64 69 66 66 65 |.. Th|is diffe|
|00001210| 72 73 20 66 72 6f 6d 20 | 70 72 69 6e 74 5f 74 62 |rs from |print_tb|
|00001220| 28 29 20 69 6e 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |() in th|e follow|
|00001230| 69 6e 67 20 77 61 79 73 | 3a 20 28 31 29 20 69 66 |ing ways|: (1) if|
|00001240| 0a 20 20 20 20 74 72 61 | 63 65 62 61 63 6b 20 69 |. tra|ceback i|
|00001250| 73 20 6e 6f 74 20 4e 6f | 6e 65 2c 20 69 74 20 70 |s not No|ne, it p|
|00001260| 72 69 6e 74 73 20 61 20 | 68 65 61 64 65 72 20 22 |rints a |header "|
|00001270| 54 72 61 63 65 62 61 63 | 6b 20 28 6d 6f 73 74 20 |Tracebac|k (most |
|00001280| 72 65 63 65 6e 74 0a 20 | 20 20 20 63 61 6c 6c 20 |recent. | call |
|00001290| 6c 61 73 74 29 3a 22 3b | 20 28 32 29 20 69 74 20 |last):";| (2) it |
|000012a0| 70 72 69 6e 74 73 20 74 | 68 65 20 65 78 63 65 70 |prints t|he excep|
|000012b0| 74 69 6f 6e 20 74 79 70 | 65 20 61 6e 64 20 76 61 |tion typ|e and va|
|000012c0| 6c 75 65 20 61 66 74 65 | 72 20 74 68 65 0a 20 20 |lue afte|r the. |
|000012d0| 20 20 73 74 61 63 6b 20 | 74 72 61 63 65 3b 20 28 | stack |trace; (|
|000012e0| 33 29 20 69 66 20 74 79 | 70 65 20 69 73 20 53 79 |3) if ty|pe is Sy|
|000012f0| 6e 74 61 78 45 72 72 6f | 72 20 61 6e 64 20 76 61 |ntaxErro|r and va|
|00001300| 6c 75 65 20 68 61 73 20 | 74 68 65 0a 20 20 20 20 |lue has |the. |
|00001310| 61 70 70 72 6f 70 72 69 | 61 74 65 20 66 6f 72 6d |appropri|ate form|
|00001320| 61 74 2c 20 69 74 20 70 | 72 69 6e 74 73 20 74 68 |at, it p|rints th|
|00001330| 65 20 6c 69 6e 65 20 77 | 68 65 72 65 20 74 68 65 |e line w|here the|
|00001340| 20 73 79 6e 74 61 78 20 | 65 72 72 6f 72 0a 20 20 | syntax |error. |
|00001350| 20 20 6f 63 63 75 72 72 | 65 64 20 77 69 74 68 20 | occurr|ed with |
|00001360| 61 20 63 61 72 65 74 20 | 6f 6e 20 74 68 65 20 6e |a caret |on the n|
|00001370| 65 78 74 20 6c 69 6e 65 | 20 69 6e 64 69 63 61 74 |ext line| indicat|
|00001380| 69 6e 67 20 74 68 65 20 | 61 70 70 72 6f 78 69 6d |ing the |approxim|
|00001390| 61 74 65 0a 20 20 20 20 | 70 6f 73 69 74 69 6f 6e |ate. |position|
|000013a0| 20 6f 66 20 74 68 65 20 | 65 72 72 6f 72 2e 0a 20 | of the |error.. |
|000013b0| 20 20 20 73 22 00 00 00 | 54 72 61 63 65 62 61 63 | s"...|Tracebac|
|000013c0| 6b 20 28 6d 6f 73 74 20 | 72 65 63 65 6e 74 20 63 |k (most |recent c|
|000013d0| 61 6c 6c 20 6c 61 73 74 | 29 3a 69 ff ff ff ff 74 |all last|):i....t|
|000013e0| 01 00 00 00 20 52 0e 00 | 00 00 4e 28 0d 00 00 00 |.... R..|..N(....|
|000013f0| 52 0f 00 00 00 52 15 00 | 00 00 52 16 00 00 00 52 |R....R..|..R....R|
|00001400| 17 00 00 00 52 26 00 00 | 00 52 14 00 00 00 52 0c |....R&..|.R....R.|
|00001410| 00 00 00 52 23 00 00 00 | 52 03 00 00 00 74 05 00 |...R#...|R....t..|
|00001420| 00 00 65 74 79 70 65 74 | 05 00 00 00 76 61 6c 75 |..etypet|....valu|
|00001430| 65 74 05 00 00 00 6c 69 | 6e 65 73 52 1c 00 00 00 |et....li|nesR....|
|00001440| 28 07 00 00 00 52 32 00 | 00 00 52 33 00 00 00 52 |(....R2.|..R3...R|
|00001450| 26 00 00 00 52 23 00 00 | 00 52 0f 00 00 00 52 34 |&...R#..|.R....R4|
|00001460| 00 00 00 52 1c 00 00 00 | 28 00 00 00 00 28 00 00 |...R....|(....(..|
|00001470| 00 00 52 13 00 00 00 52 | 09 00 00 00 6e 00 00 00 |..R....R|....n...|
|00001480| 73 16 00 00 00 00 0a 00 | 01 0d 01 0d 01 07 01 0d |s.......|........|
|00001490| 01 14 01 0f 01 0b 00 06 | 01 14 01 63 04 00 00 00 |........|...c....|
|000014a0| 05 00 00 00 04 00 00 00 | 43 00 00 00 73 44 00 00 |........|C...sD..|
|000014b0| 00 7c 02 00 6f 20 00 01 | 64 01 00 67 01 00 7d 04 |.|..o ..|d..g..}.|
|000014c0| 00 7c 04 00 74 02 00 7c | 02 00 7c 03 00 83 02 00 |.|..t..||..|.....|
|000014d0| 17 7d 04 00 6e 07 00 01 | 67 00 00 7d 04 00 7c 04 |.}..n...|g..}..|.|
|000014e0| 00 74 04 00 7c 00 00 7c | 01 00 83 02 00 17 7d 04 |.t..|..||......}.|
|000014f0| 00 7c 04 00 53 28 03 00 | 00 00 73 7a 01 00 00 46 |.|..S(..|..sz...F|
|00001500| 6f 72 6d 61 74 20 61 20 | 73 74 61 63 6b 20 74 72 |ormat a |stack tr|
|00001510| 61 63 65 20 61 6e 64 20 | 74 68 65 20 65 78 63 65 |ace and |the exce|
|00001520| 70 74 69 6f 6e 20 69 6e | 66 6f 72 6d 61 74 69 6f |ption in|formatio|
|00001530| 6e 2e 0a 0a 20 20 20 20 | 54 68 65 20 61 72 67 75 |n... |The argu|
|00001540| 6d 65 6e 74 73 20 68 61 | 76 65 20 74 68 65 20 73 |ments ha|ve the s|
|00001550| 61 6d 65 20 6d 65 61 6e | 69 6e 67 20 61 73 20 74 |ame mean|ing as t|
|00001560| 68 65 20 63 6f 72 72 65 | 73 70 6f 6e 64 69 6e 67 |he corre|sponding|
|00001570| 20 61 72 67 75 6d 65 6e | 74 73 0a 20 20 20 20 74 | argumen|ts. t|
|00001580| 6f 20 70 72 69 6e 74 5f | 65 78 63 65 70 74 69 6f |o print_|exceptio|
|00001590| 6e 28 29 2e 20 20 54 68 | 65 20 72 65 74 75 72 6e |n(). Th|e return|
|000015a0| 20 76 61 6c 75 65 20 69 | 73 20 61 20 6c 69 73 74 | value i|s a list|
|000015b0| 20 6f 66 20 73 74 72 69 | 6e 67 73 2c 20 65 61 63 | of stri|ngs, eac|
|000015c0| 68 0a 20 20 20 20 65 6e | 64 69 6e 67 20 69 6e 20 |h. en|ding in |
|000015d0| 61 20 6e 65 77 6c 69 6e | 65 20 61 6e 64 20 73 6f |a newlin|e and so|
|000015e0| 6d 65 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 69 6e |me conta|ining in|
|000015f0| 74 65 72 6e 61 6c 20 6e | 65 77 6c 69 6e 65 73 2e |ternal n|ewlines.|
|00001600| 20 20 57 68 65 6e 0a 20 | 20 20 20 74 68 65 73 65 | When. | these|
|00001610| 20 6c 69 6e 65 73 20 61 | 72 65 20 63 6f 6e 63 61 | lines a|re conca|
|00001620| 74 65 6e 61 74 65 64 20 | 61 6e 64 20 70 72 69 6e |tenated |and prin|
|00001630| 74 65 64 2c 20 65 78 61 | 63 74 6c 79 20 74 68 65 |ted, exa|ctly the|
|00001640| 20 73 61 6d 65 20 74 65 | 78 74 20 69 73 0a 20 20 | same te|xt is. |
|00001650| 20 20 70 72 69 6e 74 65 | 64 20 61 73 20 64 6f 65 | printe|d as doe|
|00001660| 73 20 70 72 69 6e 74 5f | 65 78 63 65 70 74 69 6f |s print_|exceptio|
|00001670| 6e 28 29 2e 0a 20 20 20 | 20 73 23 00 00 00 54 72 |n().. | s#...Tr|
|00001680| 61 63 65 62 61 63 6b 20 | 28 6d 6f 73 74 20 72 65 |aceback |(most re|
|00001690| 63 65 6e 74 20 63 61 6c | 6c 20 6c 61 73 74 29 3a |cent cal|l last):|
|000016a0| 0a 4e 28 07 00 00 00 52 | 26 00 00 00 52 1f 00 00 |.N(....R|&...R...|
|000016b0| 00 52 06 00 00 00 52 23 | 00 00 00 52 03 00 00 00 |.R....R#|...R....|
|000016c0| 52 32 00 00 00 52 33 00 | 00 00 28 05 00 00 00 52 |R2...R3.|..(....R|
|000016d0| 32 00 00 00 52 33 00 00 | 00 52 26 00 00 00 52 23 |2...R3..|.R&...R#|
|000016e0| 00 00 00 52 1f 00 00 00 | 28 00 00 00 00 28 00 00 |...R....|(....(..|
|000016f0| 00 00 52 13 00 00 00 52 | 02 00 00 00 83 00 00 00 |..R....R|........|
|00001700| 73 0e 00 00 00 00 08 00 | 01 07 01 09 01 17 02 06 |s.......|........|
|00001710| 01 13 01 63 02 00 00 00 | 0c 00 00 00 04 00 00 00 |...c....|........|
|00001720| 43 00 00 00 73 d8 01 00 | 00 67 00 00 7d 03 00 74 |C...s...|.g..}..t|
|00001730| 01 00 7c 00 00 83 01 00 | 74 03 00 69 04 00 6a 02 |..|.....|t..i..j.|
|00001740| 00 6f 0d 00 01 7c 00 00 | 69 05 00 7d 08 00 6e 07 |.o...|..|i..}..n.|
|00001750| 00 01 7c 00 00 7d 08 00 | 7c 01 00 64 0c 00 6a 08 |..|..}..||..d..j.|
|00001760| 00 6f 1b 00 01 7c 03 00 | 69 09 00 74 0a 00 7c 08 |.o...|..|i..t..|.|
|00001770| 00 83 01 00 64 01 00 17 | 83 01 00 01 6e 7e 01 01 |....d...|....n~..|
|00001780| 7c 00 00 74 0b 00 6a 08 | 00 6f 25 01 01 79 1c 00 ||..t..j.|.o%..y..|
|00001790| 7c 01 00 5c 02 00 7d 06 | 00 5c 04 00 7d 05 00 7d ||..\..}.|.\..}..}|
|000017a0| 0b 00 7d 09 00 7d 0a 00 | 57 6e 07 00 01 01 01 71 |..}..}..|Wn.....q|
|000017b0| 89 01 58 7c 05 00 70 0a | 00 01 64 02 00 7d 05 00 |..X|..p.|..d..}..|
|000017c0| 6e 01 00 01 7c 03 00 69 | 09 00 64 03 00 7c 05 00 |n...|..i|..d..|..|
|000017d0| 7c 0b 00 66 02 00 16 83 | 01 00 01 7c 0a 00 64 0c ||..f....|...|..d.|
|000017e0| 00 6a 09 00 6f c6 00 01 | 64 04 00 7d 02 00 78 33 |.j..o...|d..}..x3|
|000017f0| 00 7c 02 00 74 12 00 7c | 0a 00 83 01 00 6a 00 00 |.|..t..||.....j..|
|00001800| 6f 1f 00 01 7c 0a 00 7c | 02 00 19 69 13 00 83 00 |o...|..||...i....|
|00001810| 00 6f 0e 00 01 7c 02 00 | 64 05 00 17 7d 02 00 71 |.o...|..|d...}..q|
|00001820| c8 00 01 57 7c 03 00 69 | 09 00 64 06 00 7c 0a 00 |...W|..i|..d..|..|
|00001830| 69 14 00 83 00 00 16 83 | 01 00 01 7c 09 00 64 0c |i.......|...|..d.|
|00001840| 00 6a 09 00 6f 5c 00 01 | 64 07 00 7d 07 00 78 3e |.j..o\..|d..}..x>|
|00001850| 00 7c 0a 00 7c 02 00 7c | 09 00 64 05 00 18 21 44 |.|..|..||..d...!D|
|00001860| 5d 2b 00 7d 04 00 7c 04 | 00 69 13 00 83 00 00 6f |]+.}..|.|.i.....o|
|00001870| 0e 00 01 7c 07 00 7c 04 | 00 17 7d 07 00 71 37 01 |...|..|.|..}..q7.|
|00001880| 01 7c 07 00 64 08 00 17 | 7d 07 00 71 37 01 57 7c |.|..d...|}..q7.W||
|00001890| 03 00 69 09 00 64 09 00 | 7c 07 00 16 83 01 00 01 |..i..d..||.......|
|000018a0| 6e 01 00 01 7c 06 00 7d | 01 00 71 89 01 01 6e 01 |n...|..}|..q...n.|
|000018b0| 00 01 74 17 00 7c 01 00 | 83 01 00 7d 07 00 7c 07 |..t..|..|...}..|.|
|000018c0| 00 6f 21 00 01 7c 03 00 | 69 09 00 64 0a 00 74 0a |.o!..|..|i..d..t.|
|000018d0| 00 7c 08 00 83 01 00 7c | 07 00 66 02 00 16 83 01 |.|.....||..f.....|
|000018e0| 00 01 6e 18 00 01 7c 03 | 00 69 09 00 64 0b 00 74 |..n...|.|.i..d..t|
|000018f0| 0a 00 7c 08 00 83 01 00 | 16 83 01 00 01 7c 03 00 |..|.....|.....|..|
|00001900| 53 28 0d 00 00 00 73 0b | 02 00 00 46 6f 72 6d 61 |S(....s.|...Forma|
|00001910| 74 20 74 68 65 20 65 78 | 63 65 70 74 69 6f 6e 20 |t the ex|ception |
|00001920| 70 61 72 74 20 6f 66 20 | 61 20 74 72 61 63 65 62 |part of |a traceb|
|00001930| 61 63 6b 2e 0a 0a 20 20 | 20 20 54 68 65 20 61 72 |ack... | The ar|
|00001940| 67 75 6d 65 6e 74 73 20 | 61 72 65 20 74 68 65 20 |guments |are the |
|00001950| 65 78 63 65 70 74 69 6f | 6e 20 74 79 70 65 20 61 |exceptio|n type a|
|00001960| 6e 64 20 76 61 6c 75 65 | 20 73 75 63 68 20 61 73 |nd value| such as|
|00001970| 20 67 69 76 65 6e 20 62 | 79 0a 20 20 20 20 73 79 | given b|y. sy|
|00001980| 73 2e 6c 61 73 74 5f 74 | 79 70 65 20 61 6e 64 20 |s.last_t|ype and |
|00001990| 73 79 73 2e 6c 61 73 74 | 5f 76 61 6c 75 65 2e 20 |sys.last|_value. |
|000019a0| 54 68 65 20 72 65 74 75 | 72 6e 20 76 61 6c 75 65 |The retu|rn value|
|000019b0| 20 69 73 20 61 20 6c 69 | 73 74 20 6f 66 0a 20 20 | is a li|st of. |
|000019c0| 20 20 73 74 72 69 6e 67 | 73 2c 20 65 61 63 68 20 | string|s, each |
|000019d0| 65 6e 64 69 6e 67 20 69 | 6e 20 61 20 6e 65 77 6c |ending i|n a newl|
|000019e0| 69 6e 65 2e 20 20 4e 6f | 72 6d 61 6c 6c 79 2c 20 |ine. No|rmally, |
|000019f0| 74 68 65 20 6c 69 73 74 | 20 63 6f 6e 74 61 69 6e |the list| contain|
|00001a00| 73 20 61 0a 20 20 20 20 | 73 69 6e 67 6c 65 20 73 |s a. |single s|
|00001a10| 74 72 69 6e 67 3b 20 68 | 6f 77 65 76 65 72 2c 20 |tring; h|owever, |
|00001a20| 66 6f 72 20 53 79 6e 74 | 61 78 45 72 72 6f 72 20 |for Synt|axError |
|00001a30| 65 78 63 65 70 74 69 6f | 6e 73 2c 20 69 74 20 63 |exceptio|ns, it c|
|00001a40| 6f 6e 74 61 69 6e 73 0a | 20 20 20 20 73 65 76 65 |ontains.| seve|
|00001a50| 72 61 6c 20 6c 69 6e 65 | 73 20 74 68 61 74 20 28 |ral line|s that (|
|00001a60| 77 68 65 6e 20 70 72 69 | 6e 74 65 64 29 20 64 69 |when pri|nted) di|
|00001a70| 73 70 6c 61 79 20 64 65 | 74 61 69 6c 65 64 20 69 |splay de|tailed i|
|00001a80| 6e 66 6f 72 6d 61 74 69 | 6f 6e 0a 20 20 20 20 61 |nformati|on. a|
|00001a90| 62 6f 75 74 20 77 68 65 | 72 65 20 74 68 65 20 73 |bout whe|re the s|
|00001aa0| 79 6e 74 61 78 20 65 72 | 72 6f 72 20 6f 63 63 75 |yntax er|ror occu|
|00001ab0| 72 72 65 64 2e 20 20 54 | 68 65 20 6d 65 73 73 61 |rred. T|he messa|
|00001ac0| 67 65 20 69 6e 64 69 63 | 61 74 69 6e 67 0a 20 20 |ge indic|ating. |
|00001ad0| 20 20 77 68 69 63 68 20 | 65 78 63 65 70 74 69 6f | which |exceptio|
|00001ae0| 6e 20 6f 63 63 75 72 72 | 65 64 20 69 73 20 74 68 |n occurr|ed is th|
|00001af0| 65 20 61 6c 77 61 79 73 | 20 6c 61 73 74 20 73 74 |e always| last st|
|00001b00| 72 69 6e 67 20 69 6e 20 | 74 68 65 20 6c 69 73 74 |ring in |the list|
|00001b10| 2e 0a 20 20 20 20 73 01 | 00 00 00 0a 73 08 00 00 |.. s.|....s...|
|00001b20| 00 3c 73 74 72 69 6e 67 | 3e 73 15 00 00 00 20 20 |.<string|>s.... |
|00001b30| 46 69 6c 65 20 22 25 73 | 22 2c 20 6c 69 6e 65 20 |File "%s|", line |
|00001b40| 25 64 0a 69 00 00 00 00 | 69 01 00 00 00 73 07 00 |%d.i....|i....s..|
|00001b50| 00 00 20 20 20 20 25 73 | 0a 73 04 00 00 00 20 20 |.. %s|.s.... |
|00001b60| 20 20 52 31 00 00 00 73 | 04 00 00 00 25 73 5e 0a | R1...s|....%s^.|
|00001b70| 73 07 00 00 00 25 73 3a | 20 25 73 0a 73 03 00 00 |s....%s:| %s.s...|
|00001b80| 00 25 73 0a 4e 28 18 00 | 00 00 52 1f 00 00 00 74 |.%s.N(..|..R....t|
|00001b90| 04 00 00 00 74 79 70 65 | 52 32 00 00 00 74 05 00 |....type|R2...t..|
|00001ba0| 00 00 74 79 70 65 73 74 | 09 00 00 00 43 6c 61 73 |..typest|....Clas|
|00001bb0| 73 54 79 70 65 74 08 00 | 00 00 5f 5f 6e 61 6d 65 |sTypet..|..__name|
|00001bc0| 5f 5f 74 05 00 00 00 73 | 74 79 70 65 52 33 00 00 |__t....s|typeR3..|
|00001bd0| 00 52 15 00 00 00 52 21 | 00 00 00 52 11 00 00 00 |.R....R!|...R....|
|00001be0| 74 0b 00 00 00 53 79 6e | 74 61 78 45 72 72 6f 72 |t....Syn|taxError|
|00001bf0| 74 03 00 00 00 6d 73 67 | 52 19 00 00 00 52 1a 00 |t....msg|R....R..|
|00001c00| 00 00 74 06 00 00 00 6f | 66 66 73 65 74 52 1c 00 |..t....o|ffsetR..|
|00001c10| 00 00 74 01 00 00 00 69 | 74 03 00 00 00 6c 65 6e |..t....i|t....len|
|00001c20| 74 07 00 00 00 69 73 73 | 70 61 63 65 52 1d 00 00 |t....iss|paceR...|
|00001c30| 00 74 01 00 00 00 73 74 | 01 00 00 00 63 74 09 00 |.t....st|....ct..|
|00001c40| 00 00 5f 73 6f 6d 65 5f | 73 74 72 28 0c 00 00 00 |.._some_|str(....|
|00001c50| 52 32 00 00 00 52 33 00 | 00 00 52 3d 00 00 00 52 |R2...R3.|..R=...R|
|00001c60| 1f 00 00 00 52 41 00 00 | 00 52 19 00 00 00 52 3b |....RA..|.R....R;|
|00001c70| 00 00 00 52 40 00 00 00 | 52 39 00 00 00 52 3c 00 |...R@...|R9...R<.|
|00001c80| 00 00 52 1c 00 00 00 52 | 1a 00 00 00 28 00 00 00 |..R....R|....(...|
|00001c90| 00 28 00 00 00 00 52 13 | 00 00 00 52 03 00 00 00 |.(....R.|...R....|
|00001ca0| 94 00 00 00 73 46 00 00 | 00 00 0a 00 01 06 01 16 |....sF..|........|
|00001cb0| 01 0d 02 06 01 0d 01 1b | 02 0d 01 03 01 1c 01 03 |........|........|
|00001cc0| 01 04 02 07 00 0a 01 17 | 02 0d 01 06 01 03 00 24 |........|.......$|
|00001cd0| 01 0f 01 17 01 0d 01 06 | 01 12 00 06 01 0d 01 0e |........|........|
|00001ce0| 02 0e 01 15 01 0e 01 0c | 01 07 01 21 02 17 01 63 |........|...!...c|
|00001cf0| 01 00 00 00 01 00 00 00 | 03 00 00 00 43 00 00 00 |........|....C...|
|00001d00| 73 2d 00 00 00 79 0e 00 | 74 00 00 7c 00 00 83 01 |s-...y..|t..|....|
|00001d10| 00 53 57 6e 18 00 01 01 | 01 64 01 00 74 02 00 7c |.SWn....|.d..t..||
|00001d20| 00 00 83 01 00 69 03 00 | 16 53 6e 01 00 58 64 00 |.....i..|.Sn..Xd.|
|00001d30| 00 53 28 02 00 00 00 4e | 73 17 00 00 00 3c 75 6e |.S(....N|s....<un|
|00001d40| 70 72 69 6e 74 61 62 6c | 65 20 25 73 20 6f 62 6a |printabl|e %s obj|
|00001d50| 65 63 74 3e 28 04 00 00 | 00 52 11 00 00 00 52 33 |ect>(...|.R....R3|
|00001d60| 00 00 00 52 35 00 00 00 | 52 38 00 00 00 28 01 00 |...R5...|R8...(..|
|00001d70| 00 00 52 33 00 00 00 28 | 00 00 00 00 28 00 00 00 |..R3...(|....(...|
|00001d80| 00 52 13 00 00 00 52 42 | 00 00 00 c5 00 00 00 73 |.R....RB|.......s|
|00001d90| 08 00 00 00 00 01 03 01 | 0e 01 03 01 63 02 00 00 |........|....c...|
|00001da0| 00 05 00 00 00 06 00 00 | 00 43 00 00 00 73 5f 00 |........|.C...s_.|
|00001db0| 00 00 7c 01 00 64 01 00 | 6a 08 00 6f 0d 00 01 74 |..|..d..|j..o...t|
|00001dc0| 02 00 69 03 00 7d 01 00 | 6e 01 00 01 7a 2f 00 74 |..i..}..|n...z/.t|
|00001dd0| 02 00 69 04 00 83 00 00 | 5c 03 00 7d 03 00 7d 02 |..i.....|\..}..}.|
|00001de0| 00 7d 04 00 74 08 00 7c | 03 00 7c 02 00 7c 04 00 |.}..t..||..|..|..|
|00001df0| 7c 00 00 7c 01 00 83 05 | 00 01 57 64 01 00 64 01 ||..|....|..Wd..d.|
|00001e00| 00 04 7d 03 00 04 7d 02 | 00 7d 04 00 58 64 01 00 |..}...}.|.}..Xd..|
|00001e10| 53 28 02 00 00 00 73 be | 00 00 00 53 68 6f 72 74 |S(....s.|...Short|
|00001e20| 68 61 6e 64 20 66 6f 72 | 20 27 70 72 69 6e 74 5f |hand for| 'print_|
|00001e30| 65 78 63 65 70 74 69 6f | 6e 28 73 79 73 2e 65 78 |exceptio|n(sys.ex|
|00001e40| 63 5f 74 79 70 65 2c 20 | 73 79 73 2e 65 78 63 5f |c_type, |sys.exc_|
|00001e50| 76 61 6c 75 65 2c 20 73 | 79 73 2e 65 78 63 5f 74 |value, s|ys.exc_t|
|00001e60| 72 61 63 65 62 61 63 6b | 2c 20 6c 69 6d 69 74 2c |raceback|, limit,|
|00001e70| 20 66 69 6c 65 29 27 2e | 0a 20 20 20 20 28 49 6e | file)'.|. (In|
|00001e80| 20 66 61 63 74 2c 20 69 | 74 20 75 73 65 73 20 73 | fact, i|t uses s|
|00001e90| 79 73 2e 65 78 63 5f 69 | 6e 66 6f 28 29 20 74 6f |ys.exc_i|nfo() to|
|00001ea0| 20 72 65 74 72 69 65 76 | 65 20 74 68 65 20 73 61 | retriev|e the sa|
|00001eb0| 6d 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 0a 20 |me infor|mation. |
|00001ec0| 20 20 20 69 6e 20 61 20 | 74 68 72 65 61 64 2d 73 | in a |thread-s|
|00001ed0| 61 66 65 20 77 61 79 2e | 29 4e 28 0a 00 00 00 52 |afe way.|)N(....R|
|00001ee0| 0f 00 00 00 52 15 00 00 | 00 52 16 00 00 00 52 17 |....R...|.R....R.|
|00001ef0| 00 00 00 74 08 00 00 00 | 65 78 63 5f 69 6e 66 6f |...t....|exc_info|
|00001f00| 52 32 00 00 00 52 33 00 | 00 00 52 26 00 00 00 52 |R2...R3.|..R&...R|
|00001f10| 09 00 00 00 52 23 00 00 | 00 28 05 00 00 00 52 23 |....R#..|.(....R#|
|00001f20| 00 00 00 52 0f 00 00 00 | 52 33 00 00 00 52 32 00 |...R....|R3...R2.|
|00001f30| 00 00 52 26 00 00 00 28 | 00 00 00 00 28 00 00 00 |..R&...(|....(...|
|00001f40| 00 52 13 00 00 00 52 07 | 00 00 00 cc 00 00 00 73 |.R....R.|.......s|
|00001f50| 10 00 00 00 00 03 00 01 | 0d 01 0d 01 03 01 15 01 |........|........|
|00001f60| 1a 01 00 01 63 01 00 00 | 00 04 00 00 00 06 00 00 |....c...|........|
|00001f70| 00 43 00 00 00 73 4b 00 | 00 00 7a 35 00 74 00 00 |.C...sK.|..z5.t..|
|00001f80| 69 01 00 83 00 00 5c 03 | 00 7d 02 00 7d 01 00 7d |i.....\.|.}..}..}|
|00001f90| 03 00 64 01 00 69 05 00 | 74 06 00 7c 02 00 7c 01 |..d..i..|t..|..|.|
|00001fa0| 00 7c 03 00 7c 00 00 83 | 04 00 83 01 00 53 57 64 |.|..|...|.....SWd|
|00001fb0| 02 00 64 02 00 04 7d 02 | 00 04 7d 01 00 7d 03 00 |..d...}.|..}..}..|
|00001fc0| 58 64 02 00 53 28 03 00 | 00 00 73 25 00 00 00 4c |Xd..S(..|..s%...L|
|00001fd0| 69 6b 65 20 70 72 69 6e | 74 5f 65 78 63 28 29 20 |ike prin|t_exc() |
|00001fe0| 62 75 74 20 72 65 74 75 | 72 6e 20 61 20 73 74 72 |but retu|rn a str|
|00001ff0| 69 6e 67 2e 52 0e 00 00 | 00 4e 28 09 00 00 00 52 |ing.R...|.N(....R|
|00002000| 16 00 00 00 52 43 00 00 | 00 52 32 00 00 00 52 33 |....RC..|.R2...R3|
|00002010| 00 00 00 52 26 00 00 00 | 74 04 00 00 00 6a 6f 69 |...R&...|t....joi|
|00002020| 6e 52 02 00 00 00 52 23 | 00 00 00 52 15 00 00 00 |nR....R#|...R....|
|00002030| 28 04 00 00 00 52 23 00 | 00 00 52 33 00 00 00 52 |(....R#.|..R3...R|
|00002040| 32 00 00 00 52 26 00 00 | 00 28 00 00 00 00 28 00 |2...R&..|.(....(.|
|00002050| 00 00 00 52 13 00 00 00 | 52 08 00 00 00 d9 00 00 |...R....|R.......|
|00002060| 00 73 0c 00 00 00 00 01 | 00 01 03 01 15 01 20 01 |.s......|...... .|
|00002070| 00 01 63 02 00 00 00 02 | 00 00 00 06 00 00 00 43 |..c.....|.......C|
|00002080| 00 00 00 73 3d 00 00 00 | 7c 01 00 64 01 00 6a 08 |...s=...||..d..j.|
|00002090| 00 6f 0d 00 01 74 02 00 | 69 03 00 7d 01 00 6e 01 |.o...t..|i..}..n.|
|000020a0| 00 01 74 04 00 74 02 00 | 69 05 00 74 02 00 69 06 |..t..t..|i..t..i.|
|000020b0| 00 74 02 00 69 07 00 7c | 00 00 7c 01 00 83 05 00 |.t..i..||..|.....|
|000020c0| 01 64 01 00 53 28 02 00 | 00 00 73 6e 00 00 00 54 |.d..S(..|..sn...T|
|000020d0| 68 69 73 20 69 73 20 61 | 20 73 68 6f 72 74 68 61 |his is a| shortha|
|000020e0| 6e 64 20 66 6f 72 20 27 | 70 72 69 6e 74 5f 65 78 |nd for '|print_ex|
|000020f0| 63 65 70 74 69 6f 6e 28 | 73 79 73 2e 6c 61 73 74 |ception(|sys.last|
|00002100| 5f 74 79 70 65 2c 0a 20 | 20 20 20 73 79 73 2e 6c |_type,. | sys.l|
|00002110| 61 73 74 5f 76 61 6c 75 | 65 2c 20 73 79 73 2e 6c |ast_valu|e, sys.l|
|00002120| 61 73 74 5f 74 72 61 63 | 65 62 61 63 6b 2c 20 6c |ast_trac|eback, l|
|00002130| 69 6d 69 74 2c 20 66 69 | 6c 65 29 27 2e 4e 28 09 |imit, fi|le)'.N(.|
|00002140| 00 00 00 52 0f 00 00 00 | 52 15 00 00 00 52 16 00 |...R....|R....R..|
|00002150| 00 00 52 17 00 00 00 52 | 09 00 00 00 74 09 00 00 |..R....R|....t...|
|00002160| 00 6c 61 73 74 5f 74 79 | 70 65 74 0a 00 00 00 6c |.last_ty|pet....l|
|00002170| 61 73 74 5f 76 61 6c 75 | 65 74 0e 00 00 00 6c 61 |ast_valu|et....la|
|00002180| 73 74 5f 74 72 61 63 65 | 62 61 63 6b 52 23 00 00 |st_trace|backR#..|
|00002190| 00 28 02 00 00 00 52 23 | 00 00 00 52 0f 00 00 00 |.(....R#|...R....|
|000021a0| 28 00 00 00 00 28 00 00 | 00 00 52 13 00 00 00 52 |(....(..|..R....R|
|000021b0| 0a 00 00 00 e2 00 00 00 | 73 0a 00 00 00 00 02 00 |........|s.......|
|000021c0| 01 0d 01 0d 01 15 01 63 | 03 00 00 00 03 00 00 00 |.......c|........|
|000021d0| 05 00 00 00 43 00 00 00 | 73 61 00 00 00 7c 00 00 |....C...|sa...|..|
|000021e0| 64 02 00 6a 08 00 6f 3a | 00 01 79 0a 00 74 02 00 |d..j..o:|..y..t..|
|000021f0| 82 01 00 57 71 47 00 04 | 74 02 00 6a 0a 00 6f 1d |...WqG..|t..j..o.|
|00002200| 00 01 01 01 01 74 03 00 | 69 04 00 83 00 00 64 01 |.....t..|i.....d.|
|00002210| 00 19 69 05 00 69 06 00 | 7d 00 00 71 47 00 01 58 |..i..i..|}..qG..X|
|00002220| 6e 01 00 01 74 07 00 74 | 08 00 7c 00 00 7c 01 00 |n...t..t|..|..|..|
|00002230| 83 02 00 7c 02 00 83 02 | 00 01 64 02 00 53 28 03 |...|....|..d..S(.|
|00002240| 00 00 00 73 f7 00 00 00 | 50 72 69 6e 74 20 61 20 |...s....|Print a |
|00002250| 73 74 61 63 6b 20 74 72 | 61 63 65 20 66 72 6f 6d |stack tr|ace from|
|00002260| 20 69 74 73 20 69 6e 76 | 6f 63 61 74 69 6f 6e 20 | its inv|ocation |
|00002270| 70 6f 69 6e 74 2e 0a 0a | 20 20 20 20 54 68 65 20 |point...| The |
|00002280| 6f 70 74 69 6f 6e 61 6c | 20 27 66 27 20 61 72 67 |optional| 'f' arg|
|00002290| 75 6d 65 6e 74 20 63 61 | 6e 20 62 65 20 75 73 65 |ument ca|n be use|
|000022a0| 64 20 74 6f 20 73 70 65 | 63 69 66 79 20 61 6e 20 |d to spe|cify an |
|000022b0| 61 6c 74 65 72 6e 61 74 | 65 0a 20 20 20 20 73 74 |alternat|e. st|
|000022c0| 61 63 6b 20 66 72 61 6d | 65 20 61 74 20 77 68 69 |ack fram|e at whi|
|000022d0| 63 68 20 74 6f 20 73 74 | 61 72 74 2e 20 54 68 65 |ch to st|art. The|
|000022e0| 20 6f 70 74 69 6f 6e 61 | 6c 20 27 6c 69 6d 69 74 | optiona|l 'limit|
|000022f0| 27 20 61 6e 64 20 27 66 | 69 6c 65 27 0a 20 20 20 |' and 'f|ile'. |
|00002300| 20 61 72 67 75 6d 65 6e | 74 73 20 68 61 76 65 20 | argumen|ts have |
|00002310| 74 68 65 20 73 61 6d 65 | 20 6d 65 61 6e 69 6e 67 |the same| meaning|
|00002320| 20 61 73 20 66 6f 72 20 | 70 72 69 6e 74 5f 65 78 | as for |print_ex|
|00002330| 63 65 70 74 69 6f 6e 28 | 29 2e 0a 20 20 20 20 69 |ception(|).. i|
|00002340| 02 00 00 00 4e 28 0b 00 | 00 00 52 28 00 00 00 52 |....N(..|..R(...R|
|00002350| 15 00 00 00 74 11 00 00 | 00 5a 65 72 6f 44 69 76 |....t...|.ZeroDiv|
|00002360| 69 73 69 6f 6e 45 72 72 | 6f 72 52 16 00 00 00 52 |isionErr|orR....R|
|00002370| 43 00 00 00 52 27 00 00 | 00 74 06 00 00 00 66 5f |C...R'..|.t....f_|
|00002380| 62 61 63 6b 52 1e 00 00 | 00 52 00 00 00 00 52 23 |backR...|.R....R#|
|00002390| 00 00 00 52 0f 00 00 00 | 28 03 00 00 00 52 28 00 |...R....|(....R(.|
|000023a0| 00 00 52 23 00 00 00 52 | 0f 00 00 00 28 00 00 00 |..R#...R|....(...|
|000023b0| 00 28 00 00 00 00 52 13 | 00 00 00 52 0b 00 00 00 |.(....R.|...R....|
|000023c0| eb 00 00 00 73 0e 00 00 | 00 00 06 00 01 0d 01 03 |....s...|........|
|000023d0| 01 0a 01 0e 01 1f 01 63 | 02 00 00 00 02 00 00 00 |.......c|........|
|000023e0| 05 00 00 00 43 00 00 00 | 73 5a 00 00 00 7c 00 00 |....C...|sZ...|..|
|000023f0| 64 02 00 6a 08 00 6f 3a | 00 01 79 0a 00 74 02 00 |d..j..o:|..y..t..|
|00002400| 82 01 00 57 71 47 00 04 | 74 02 00 6a 0a 00 6f 1d |...WqG..|t..j..o.|
|00002410| 00 01 01 01 01 74 03 00 | 69 04 00 83 00 00 64 01 |.....t..|i.....d.|
|00002420| 00 19 69 05 00 69 06 00 | 7d 00 00 71 47 00 01 58 |..i..i..|}..qG..X|
|00002430| 6e 01 00 01 74 07 00 74 | 08 00 7c 00 00 7c 01 00 |n...t..t|..|..|..|
|00002440| 83 02 00 83 01 00 53 28 | 03 00 00 00 73 35 00 00 |......S(|....s5..|
|00002450| 00 53 68 6f 72 74 68 61 | 6e 64 20 66 6f 72 20 27 |.Shortha|nd for '|
|00002460| 66 6f 72 6d 61 74 5f 6c | 69 73 74 28 65 78 74 72 |format_l|ist(extr|
|00002470| 61 63 74 5f 73 74 61 63 | 6b 28 66 2c 20 6c 69 6d |act_stac|k(f, lim|
|00002480| 69 74 29 29 27 2e 69 02 | 00 00 00 4e 28 0a 00 00 |it))'.i.|...N(...|
|00002490| 00 52 28 00 00 00 52 15 | 00 00 00 52 48 00 00 00 |.R(...R.|...RH...|
|000024a0| 52 16 00 00 00 52 43 00 | 00 00 52 27 00 00 00 52 |R....RC.|..R'...R|
|000024b0| 49 00 00 00 52 04 00 00 | 00 52 00 00 00 00 52 23 |I...R...|.R....R#|
|000024c0| 00 00 00 28 02 00 00 00 | 52 28 00 00 00 52 23 00 |...(....|R(...R#.|
|000024d0| 00 00 28 00 00 00 00 28 | 00 00 00 00 52 13 00 00 |..(....(|....R...|
|000024e0| 00 52 05 00 00 00 f9 00 | 00 00 73 0e 00 00 00 00 |.R......|..s.....|
|000024f0| 01 00 01 0d 01 03 01 0a | 01 0e 01 1f 01 63 02 00 |........|.....c..|
|00002500| 00 00 09 00 00 00 05 00 | 00 00 43 00 00 00 73 4a |........|..C...sJ|
|00002510| 01 00 00 7c 00 00 64 05 | 00 6a 08 00 6f 3a 00 01 |...|..d.|.j..o:..|
|00002520| 79 0a 00 74 02 00 82 01 | 00 57 71 47 00 04 74 02 |y..t....|.WqG..t.|
|00002530| 00 6a 0a 00 6f 1d 00 01 | 01 01 01 74 03 00 69 04 |.j..o...|...t..i.|
|00002540| 00 83 00 00 64 01 00 19 | 69 05 00 69 06 00 7d 00 |....d...|i..i..}.|
|00002550| 00 71 47 00 01 58 6e 01 | 00 01 7c 01 00 64 05 00 |.qG..Xn.|..|..d..|
|00002560| 6a 08 00 6f 21 00 01 74 | 08 00 74 03 00 64 02 00 |j..o!..t|..t..d..|
|00002570| 83 02 00 6f 0d 00 01 74 | 03 00 69 09 00 7d 01 00 |...o...t|..i..}..|
|00002580| 71 75 00 01 6e 01 00 01 | 67 00 00 7d 04 00 64 03 |qu..n...|g..}..d.|
|00002590| 00 7d 05 00 78 b8 00 7c | 00 00 64 05 00 6a 09 00 |.}..x..||..d..j..|
|000025a0| 6f aa 00 01 7c 01 00 64 | 05 00 6a 08 00 70 0d 00 |o...|..d|..j..p..|
|000025b0| 01 7c 05 00 7c 01 00 6a | 00 00 6f 90 00 01 7c 00 |.|..|..j|..o...|.|
|000025c0| 00 69 0c 00 7d 06 00 7c | 00 00 69 0e 00 7d 02 00 |.i..}..||..i..}..|
|000025d0| 7c 02 00 69 10 00 7d 08 | 00 7c 02 00 69 12 00 7d ||..i..}.|.|..i..}|
|000025e0| 03 00 74 14 00 69 15 00 | 7c 08 00 83 01 00 01 74 |..t..i..||......t|
|000025f0| 14 00 69 16 00 7c 08 00 | 7c 06 00 83 02 00 7d 07 |..i..|..||.....}.|
|00002600| 00 7c 07 00 6f 10 00 01 | 7c 07 00 69 18 00 83 00 |.|..o...||..i....|
|00002610| 00 7d 07 00 6e 07 00 01 | 64 05 00 7d 07 00 7c 04 |.}..n...|d..}..|.|
|00002620| 00 69 19 00 7c 08 00 7c | 06 00 7c 03 00 7c 07 00 |.i..|..||..|..|..|
|00002630| 66 04 00 83 01 00 01 7c | 00 00 69 06 00 7d 00 00 |f......||..i..}..|
|00002640| 7c 05 00 64 04 00 17 7d | 05 00 71 84 00 01 57 7c ||..d...}|..q...W||
|00002650| 04 00 69 1a 00 83 00 00 | 01 7c 04 00 53 28 06 00 |..i.....|.|..S(..|
|00002660| 00 00 73 73 01 00 00 45 | 78 74 72 61 63 74 20 74 |..ss...E|xtract t|
|00002670| 68 65 20 72 61 77 20 74 | 72 61 63 65 62 61 63 6b |he raw t|raceback|
|00002680| 20 66 72 6f 6d 20 74 68 | 65 20 63 75 72 72 65 6e | from th|e curren|
|00002690| 74 20 73 74 61 63 6b 20 | 66 72 61 6d 65 2e 0a 0a |t stack |frame...|
|000026a0| 20 20 20 20 54 68 65 20 | 72 65 74 75 72 6e 20 76 | The |return v|
|000026b0| 61 6c 75 65 20 68 61 73 | 20 74 68 65 20 73 61 6d |alue has| the sam|
|000026c0| 65 20 66 6f 72 6d 61 74 | 20 61 73 20 66 6f 72 20 |e format| as for |
|000026d0| 65 78 74 72 61 63 74 5f | 74 62 28 29 2e 20 20 54 |extract_|tb(). T|
|000026e0| 68 65 0a 20 20 20 20 6f | 70 74 69 6f 6e 61 6c 20 |he. o|ptional |
|000026f0| 27 66 27 20 61 6e 64 20 | 27 6c 69 6d 69 74 27 20 |'f' and |'limit' |
|00002700| 61 72 67 75 6d 65 6e 74 | 73 20 68 61 76 65 20 74 |argument|s have t|
|00002710| 68 65 20 73 61 6d 65 20 | 6d 65 61 6e 69 6e 67 20 |he same |meaning |
|00002720| 61 73 20 66 6f 72 0a 20 | 20 20 20 70 72 69 6e 74 |as for. | print|
|00002730| 5f 73 74 61 63 6b 28 29 | 2e 20 20 45 61 63 68 20 |_stack()|. Each |
|00002740| 69 74 65 6d 20 69 6e 20 | 74 68 65 20 6c 69 73 74 |item in |the list|
|00002750| 20 69 73 20 61 20 71 75 | 61 64 72 75 70 6c 65 20 | is a qu|adruple |
|00002760| 28 66 69 6c 65 6e 61 6d | 65 2c 0a 20 20 20 20 6c |(filenam|e,. l|
|00002770| 69 6e 65 20 6e 75 6d 62 | 65 72 2c 20 66 75 6e 63 |ine numb|er, func|
|00002780| 74 69 6f 6e 20 6e 61 6d | 65 2c 20 74 65 78 74 29 |tion nam|e, text)|
|00002790| 2c 20 61 6e 64 20 74 68 | 65 20 65 6e 74 72 69 65 |, and th|e entrie|
|000027a0| 73 20 61 72 65 20 69 6e | 20 6f 72 64 65 72 0a 20 |s are in| order. |
|000027b0| 20 20 20 66 72 6f 6d 20 | 6f 6c 64 65 73 74 20 74 | from |oldest t|
|000027c0| 6f 20 6e 65 77 65 73 74 | 20 73 74 61 63 6b 20 66 |o newest| stack f|
|000027d0| 72 61 6d 65 2e 0a 20 20 | 20 20 69 02 00 00 00 52 |rame.. | i....R|
|000027e0| 22 00 00 00 69 00 00 00 | 00 69 01 00 00 00 4e 28 |"...i...|.i....N(|
|000027f0| 1b 00 00 00 52 28 00 00 | 00 52 15 00 00 00 52 48 |....R(..|.R....RH|
|00002800| 00 00 00 52 16 00 00 00 | 52 43 00 00 00 52 27 00 |...R....|RC...R'.|
|00002810| 00 00 52 49 00 00 00 52 | 23 00 00 00 52 24 00 00 |..RI...R|#...R$..|
|00002820| 00 52 22 00 00 00 52 1f | 00 00 00 52 25 00 00 00 |.R"...R.|...R%...|
|00002830| 74 08 00 00 00 66 5f 6c | 69 6e 65 6e 6f 52 1a 00 |t....f_l|inenoR..|
|00002840| 00 00 52 29 00 00 00 52 | 2a 00 00 00 52 2b 00 00 |..R)...R|*...R+..|
|00002850| 00 52 19 00 00 00 52 2c | 00 00 00 52 1b 00 00 00 |.R....R,|...R....|
|00002860| 52 2d 00 00 00 52 2e 00 | 00 00 52 2f 00 00 00 52 |R-...R..|..R/...R|
|00002870| 1c 00 00 00 52 1d 00 00 | 00 52 21 00 00 00 74 07 |....R...|.R!...t.|
|00002880| 00 00 00 72 65 76 65 72 | 73 65 28 09 00 00 00 52 |...rever|se(....R|
|00002890| 28 00 00 00 52 23 00 00 | 00 52 2a 00 00 00 52 1b |(...R#..|.R*...R.|
|000028a0| 00 00 00 52 1f 00 00 00 | 52 25 00 00 00 52 1a 00 |...R....|R%...R..|
|000028b0| 00 00 52 1c 00 00 00 52 | 19 00 00 00 28 00 00 00 |..R....R|....(...|
|000028c0| 00 28 00 00 00 00 52 13 | 00 00 00 52 00 00 00 00 |.(....R.|...R....|
|000028d0| 02 01 00 00 73 36 00 00 | 00 00 08 00 01 0d 01 03 |....s6..|........|
|000028e0| 01 0a 01 0e 01 1f 01 0d | 01 10 01 11 01 06 01 06 |........|........|
|000028f0| 01 03 00 27 01 09 01 09 | 01 09 01 09 01 0d 01 12 |...'....|........|
|00002900| 01 07 00 10 01 06 01 19 | 01 09 01 0f 01 0a 01 63 |........|.......c|
|00002910| 01 00 00 00 01 00 00 00 | 01 00 00 00 43 00 00 00 |........|....C...|
|00002920| 73 07 00 00 00 7c 00 00 | 69 01 00 53 28 02 00 00 |s....|..|i..S(...|
|00002930| 00 73 52 00 00 00 43 61 | 6c 63 75 6c 61 74 65 20 |.sR...Ca|lculate |
|00002940| 63 6f 72 72 65 63 74 20 | 6c 69 6e 65 20 6e 75 6d |correct |line num|
|00002950| 62 65 72 20 6f 66 20 74 | 72 61 63 65 62 61 63 6b |ber of t|raceback|
|00002960| 20 67 69 76 65 6e 20 69 | 6e 20 74 62 2e 0a 0a 20 | given i|n tb... |
|00002970| 20 20 20 4f 62 73 6f 6c | 65 74 65 20 69 6e 20 32 | Obsol|ete in 2|
|00002980| 2e 33 2e 0a 20 20 20 20 | 4e 28 02 00 00 00 52 26 |.3.. |N(....R&|
|00002990| 00 00 00 52 0d 00 00 00 | 28 01 00 00 00 52 26 00 |...R....|(....R&.|
|000029a0| 00 00 28 00 00 00 00 28 | 00 00 00 00 52 13 00 00 |..(....(|....R...|
|000029b0| 00 52 0d 00 00 00 24 01 | 00 00 73 04 00 00 00 00 |.R....$.|..s.....|
|000029c0| 04 00 01 28 17 00 00 00 | 74 07 00 00 00 5f 5f 64 |...(....|t....__d|
|000029d0| 6f 63 5f 5f 52 2d 00 00 | 00 52 16 00 00 00 52 36 |oc__R-..|.R....R6|
|000029e0| 00 00 00 74 07 00 00 00 | 5f 5f 61 6c 6c 5f 5f 52 |...t....|__all__R|
|000029f0| 14 00 00 00 52 15 00 00 | 00 52 1e 00 00 00 52 04 |....R...|.R....R.|
|00002a00| 00 00 00 52 0c 00 00 00 | 52 06 00 00 00 52 01 00 |...R....|R....R..|
|00002a10| 00 00 52 09 00 00 00 52 | 02 00 00 00 52 03 00 00 |..R....R|....R...|
|00002a20| 00 52 42 00 00 00 52 07 | 00 00 00 52 08 00 00 00 |.RB...R.|...R....|
|00002a30| 52 0a 00 00 00 52 0b 00 | 00 00 52 05 00 00 00 52 |R....R..|..R....R|
|00002a40| 00 00 00 00 52 0d 00 00 | 00 28 15 00 00 00 52 0b |....R...|.(....R.|
|00002a50| 00 00 00 52 09 00 00 00 | 52 0a 00 00 00 52 14 00 |...R....|R....R..|
|00002a60| 00 00 52 1e 00 00 00 52 | 0d 00 00 00 52 4d 00 00 |..R....R|....RM..|
|00002a70| 00 52 05 00 00 00 52 03 | 00 00 00 52 01 00 00 00 |.R....R.|...R....|
|00002a80| 52 00 00 00 00 52 06 00 | 00 00 52 0c 00 00 00 52 |R....R..|..R....R|
|00002a90| 16 00 00 00 52 36 00 00 | 00 52 02 00 00 00 52 08 |....R6..|.R....R.|
|00002aa0| 00 00 00 52 07 00 00 00 | 52 42 00 00 00 52 04 00 |...R....|RB...R..|
|00002ab0| 00 00 52 2d 00 00 00 28 | 00 00 00 00 28 00 00 00 |..R-...(|....(...|
|00002ac0| 00 52 13 00 00 00 74 01 | 00 00 00 3f 01 00 00 00 |.R....t.|...?....|
|00002ad0| 73 2a 00 00 00 06 02 09 | 01 09 01 09 02 30 05 0f |s*......|.....0..|
|00002ae0| 04 0c 0b 09 13 0f 1c 0c | 04 0c 20 0f 15 0c 11 09 |........|.. .....|
|00002af0| 31 09 07 0f 0d 0c 09 0f | 09 12 0e 0f 09 0f 22 |1.......|......" |
+--------+-------------------------+-------------------------+--------+--------+