home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / lib / python2.5 / traceback.pyc < prev    next >
Unknown  |  2008-10-29  |  11.2 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.5 byte-compiled default
99% file data default
57% TrID CPython 2.5 bytecode default
42% TrID Python optimized code default
100% siegfried fmt/1111 Python Compiled File (2.5) default
100% detectItEasy Format: Python Compiled Module(2.5c2) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| b3 f2 0d 0a 72 26 e9 48 | 63 00 00 00 00 00 00 00 |....r&.H|c.......|
|00000010| 00 11 00 00 00 40 00 00 | 00 73 42 01 00 00 64 00 |.....@..|.sB...d.|
|00000020| 00 5a 00 00 64 01 00 64 | 02 00 6b 01 00 5a 01 00 |.Z..d..d|..k..Z..|
|00000030| 64 01 00 64 02 00 6b 02 | 00 5a 02 00 64 01 00 64 |d..d..k.|.Z..d..d|
|00000040| 02 00 6b 03 00 5a 03 00 | 64 03 00 64 04 00 64 05 |..k..Z..|d..d..d.|
|00000050| 00 64 06 00 64 07 00 64 | 08 00 64 09 00 64 0a 00 |.d..d..d|..d..d..|
|00000060| 64 0b 00 64 0c 00 64 0d | 00 64 0e 00 64 0f 00 64 |d..d..d.|.d..d..d|
|00000070| 10 00 67 0e 00 5a 04 00 | 64 11 00 64 12 00 64 13 |..g..Z..|d..d..d.|
|00000080| 00 84 02 00 5a 05 00 64 | 02 00 64 14 00 84 01 00 |....Z..d|..d.....|
|00000090| 5a 07 00 64 15 00 84 00 | 00 5a 08 00 64 02 00 64 |Z..d....|.Z..d..d|
|000000a0| 02 00 64 16 00 84 02 00 | 5a 09 00 64 02 00 64 17 |..d.....|Z..d..d.|
|000000b0| 00 84 01 00 5a 0a 00 64 | 02 00 64 18 00 84 01 00 |....Z..d|..d.....|
|000000c0| 5a 0b 00 64 02 00 64 02 | 00 64 19 00 84 02 00 5a |Z..d..d.|.d.....Z|
|000000d0| 0c 00 64 02 00 64 1a 00 | 84 01 00 5a 0d 00 64 1b |..d..d..|...Z..d.|
|000000e0| 00 84 00 00 5a 0e 00 64 | 1c 00 84 00 00 5a 0f 00 |....Z..d|.....Z..|
|000000f0| 64 1d 00 84 00 00 5a 10 | 00 64 02 00 64 02 00 64 |d.....Z.|.d..d..d|
|00000100| 1e 00 84 02 00 5a 11 00 | 64 02 00 64 1f 00 84 01 |.....Z..|d..d....|
|00000110| 00 5a 12 00 64 02 00 64 | 02 00 64 20 00 84 02 00 |.Z..d..d|..d ....|
|00000120| 5a 13 00 64 02 00 64 02 | 00 64 02 00 64 21 00 84 |Z..d..d.|.d..d!..|
|00000130| 03 00 5a 14 00 64 02 00 | 64 02 00 64 22 00 84 02 |..Z..d..|d..d"...|
|00000140| 00 5a 15 00 64 02 00 64 | 02 00 64 23 00 84 02 00 |.Z..d..d|..d#....|
|00000150| 5a 16 00 64 24 00 84 00 | 00 5a 17 00 64 02 00 53 |Z..d$...|.Z..d..S|
|00000160| 28 25 00 00 00 73 40 00 | 00 00 45 78 74 72 61 63 |(%...s@.|..Extrac|
|00000170| 74 2c 20 66 6f 72 6d 61 | 74 20 61 6e 64 20 70 72 |t, forma|t and pr|
|00000180| 69 6e 74 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |int info|rmation |
|00000190| 61 62 6f 75 74 20 50 79 | 74 68 6f 6e 20 73 74 61 |about Py|thon sta|
|000001a0| 63 6b 20 74 72 61 63 65 | 73 2e 69 ff ff ff ff 4e |ck trace|s.i....N|
|000001b0| 74 0d 00 00 00 65 78 74 | 72 61 63 74 5f 73 74 61 |t....ext|ract_sta|
|000001c0| 63 6b 74 0a 00 00 00 65 | 78 74 72 61 63 74 5f 74 |ckt....e|xtract_t|
|000001d0| 62 74 10 00 00 00 66 6f | 72 6d 61 74 5f 65 78 63 |bt....fo|rmat_exc|
|000001e0| 65 70 74 69 6f 6e 74 15 | 00 00 00 66 6f 72 6d 61 |eptiont.|...forma|
|000001f0| 74 5f 65 78 63 65 70 74 | 69 6f 6e 5f 6f 6e 6c 79 |t_except|ion_only|
|00000200| 74 0b 00 00 00 66 6f 72 | 6d 61 74 5f 6c 69 73 74 |t....for|mat_list|
|00000210| 74 0c 00 00 00 66 6f 72 | 6d 61 74 5f 73 74 61 63 |t....for|mat_stac|
|00000220| 6b 74 09 00 00 00 66 6f | 72 6d 61 74 5f 74 62 74 |kt....fo|rmat_tbt|
|00000230| 09 00 00 00 70 72 69 6e | 74 5f 65 78 63 74 0a 00 |....prin|t_exct..|
|00000240| 00 00 66 6f 72 6d 61 74 | 5f 65 78 63 74 0f 00 00 |..format|_exct...|
|00000250| 00 70 72 69 6e 74 5f 65 | 78 63 65 70 74 69 6f 6e |.print_e|xception|
|00000260| 74 0a 00 00 00 70 72 69 | 6e 74 5f 6c 61 73 74 74 |t....pri|nt_lastt|
|00000270| 0b 00 00 00 70 72 69 6e | 74 5f 73 74 61 63 6b 74 |....prin|t_stackt|
|00000280| 08 00 00 00 70 72 69 6e | 74 5f 74 62 74 09 00 00 |....prin|t_tbt...|
|00000290| 00 74 62 5f 6c 69 6e 65 | 6e 6f 74 00 00 00 00 73 |.tb_line|not....s|
|000002a0| 01 00 00 00 0a 63 03 00 | 00 00 03 00 00 00 03 00 |.....c..|........|
|000002b0| 00 00 43 00 00 00 73 15 | 00 00 00 7c 00 00 69 00 |..C...s.|...|..i.|
|000002c0| 00 7c 01 00 7c 02 00 17 | 83 01 00 01 64 00 00 53 |.|..|...|....d..S|
|000002d0| 28 01 00 00 00 4e 28 01 | 00 00 00 74 05 00 00 00 |(....N(.|...t....|
|000002e0| 77 72 69 74 65 28 03 00 | 00 00 74 04 00 00 00 66 |write(..|..t....f|
|000002f0| 69 6c 65 74 03 00 00 00 | 73 74 72 74 0a 00 00 00 |ilet....|strt....|
|00000300| 74 65 72 6d 69 6e 61 74 | 6f 72 28 00 00 00 00 28 |terminat|or(....(|
|00000310| 00 00 00 00 73 1f 00 00 | 00 2f 75 73 72 2f 6c 69 |....s...|./usr/li|
|00000320| 62 2f 70 79 74 68 6f 6e | 32 2e 35 2f 74 72 61 63 |b/python|2.5/trac|
|00000330| 65 62 61 63 6b 2e 70 79 | 74 06 00 00 00 5f 70 72 |eback.py|t...._pr|
|00000340| 69 6e 74 0c 00 00 00 73 | 02 00 00 00 00 01 63 02 |int....s|......c.|
|00000350| 00 00 00 06 00 00 00 07 | 00 00 00 43 00 00 00 73 |........|...C...s|
|00000360| 77 00 00 00 7c 01 00 64 | 03 00 6a 08 00 6f 0d 00 |w...|..d|..j..o..|
|00000370| 01 74 01 00 69 02 00 7d | 01 00 6e 01 00 01 78 56 |.t..i..}|..n...xV|
|00000380| 00 7c 00 00 44 5d 4e 00 | 5c 04 00 7d 02 00 7d 03 |.|..D]N.|\..}..}.|
|00000390| 00 7d 04 00 7d 05 00 74 | 03 00 7c 01 00 64 01 00 |.}..}..t|..|..d..|
|000003a0| 7c 02 00 7c 03 00 7c 04 | 00 66 03 00 16 83 02 00 ||..|..|.|.f......|
|000003b0| 01 7c 05 00 6f 1b 00 01 | 74 03 00 7c 01 00 64 02 |.|..o...|t..|..d.|
|000003c0| 00 7c 05 00 69 04 00 83 | 00 00 16 83 02 00 01 71 |.|..i...|.......q|
|000003d0| 21 00 01 71 21 00 57 64 | 03 00 53 28 04 00 00 00 |!..q!.Wd|..S(....|
|000003e0| 73 79 00 00 00 50 72 69 | 6e 74 20 74 68 65 20 6c |sy...Pri|nt the l|
|000003f0| 69 73 74 20 6f 66 20 74 | 75 70 6c 65 73 20 61 73 |ist of t|uples as|
|00000400| 20 72 65 74 75 72 6e 65 | 64 20 62 79 20 65 78 74 | returne|d by ext|
|00000410| 72 61 63 74 5f 74 62 28 | 29 20 6f 72 0a 20 20 20 |ract_tb(|) or. |
|00000420| 20 65 78 74 72 61 63 74 | 5f 73 74 61 63 6b 28 29 | extract|_stack()|
|00000430| 20 61 73 20 61 20 66 6f | 72 6d 61 74 74 65 64 20 | as a fo|rmatted |
|00000440| 73 74 61 63 6b 20 74 72 | 61 63 65 20 74 6f 20 74 |stack tr|ace to t|
|00000450| 68 65 20 67 69 76 65 6e | 20 66 69 6c 65 2e 73 1b |he given| file.s.|
|00000460| 00 00 00 20 20 46 69 6c | 65 20 22 25 73 22 2c 20 |... Fil|e "%s", |
|00000470| 6c 69 6e 65 20 25 64 2c | 20 69 6e 20 25 73 73 06 |line %d,| in %ss.|
|00000480| 00 00 00 20 20 20 20 25 | 73 4e 28 05 00 00 00 74 |... %|sN(....t|
|00000490| 04 00 00 00 4e 6f 6e 65 | 74 03 00 00 00 73 79 73 |....None|t....sys|
|000004a0| 74 06 00 00 00 73 74 64 | 65 72 72 52 13 00 00 00 |t....std|errR....|
|000004b0| 74 05 00 00 00 73 74 72 | 69 70 28 06 00 00 00 74 |t....str|ip(....t|
|000004c0| 0e 00 00 00 65 78 74 72 | 61 63 74 65 64 5f 6c 69 |....extr|acted_li|
|000004d0| 73 74 52 10 00 00 00 74 | 08 00 00 00 66 69 6c 65 |stR....t|....file|
|000004e0| 6e 61 6d 65 74 06 00 00 | 00 6c 69 6e 65 6e 6f 74 |namet...|.linenot|
|000004f0| 04 00 00 00 6e 61 6d 65 | 74 04 00 00 00 6c 69 6e |....name|t....lin|
|00000500| 65 28 00 00 00 00 28 00 | 00 00 00 73 1f 00 00 00 |e(....(.|...s....|
|00000510| 2f 75 73 72 2f 6c 69 62 | 2f 70 79 74 68 6f 6e 32 |/usr/lib|/python2|
|00000520| 2e 35 2f 74 72 61 63 65 | 62 61 63 6b 2e 70 79 74 |.5/trace|back.pyt|
|00000530| 0a 00 00 00 70 72 69 6e | 74 5f 6c 69 73 74 10 00 |....prin|t_list..|
|00000540| 00 00 73 10 00 00 00 00 | 03 0d 01 0d 01 07 00 12 |..s.....|........|
|00000550| 01 06 01 14 01 07 01 63 | 01 00 00 00 07 00 00 00 |.......c|........|
|00000560| 05 00 00 00 43 00 00 00 | 73 66 00 00 00 67 00 00 |....C...|sf...g..|
|00000570| 7d 01 00 78 59 00 7c 00 | 00 44 5d 51 00 5c 04 00 |}..xY.|.|.D]Q.\..|
|00000580| 7d 02 00 7d 03 00 7d 04 | 00 7d 05 00 64 01 00 7c |}..}..}.|.}..d..||
|00000590| 02 00 7c 03 00 7c 04 00 | 66 03 00 16 7d 06 00 7c |..|..|..|f...}..||
|000005a0| 05 00 6f 18 00 01 7c 06 | 00 64 02 00 7c 05 00 69 |..o...|.|.d..|..i|
|000005b0| 00 00 83 00 00 16 17 7d | 06 00 6e 01 00 01 7c 01 |.......}|..n...|.|
|000005c0| 00 69 01 00 7c 06 00 83 | 01 00 01 71 0d 00 57 7c |.i..|...|...q..W||
|000005d0| 01 00 53 28 03 00 00 00 | 73 b2 01 00 00 46 6f 72 |..S(....|s....For|
|000005e0| 6d 61 74 20 61 20 6c 69 | 73 74 20 6f 66 20 74 72 |mat a li|st of tr|
|000005f0| 61 63 65 62 61 63 6b 20 | 65 6e 74 72 79 20 74 75 |aceback |entry tu|
|00000600| 70 6c 65 73 20 66 6f 72 | 20 70 72 69 6e 74 69 6e |ples for| printin|
|00000610| 67 2e 0a 0a 20 20 20 20 | 47 69 76 65 6e 20 61 20 |g... |Given a |
|00000620| 6c 69 73 74 20 6f 66 20 | 74 75 70 6c 65 73 20 61 |list of |tuples a|
|00000630| 73 20 72 65 74 75 72 6e | 65 64 20 62 79 20 65 78 |s return|ed by ex|
|00000640| 74 72 61 63 74 5f 74 62 | 28 29 20 6f 72 0a 20 20 |tract_tb|() or. |
|00000650| 20 20 65 78 74 72 61 63 | 74 5f 73 74 61 63 6b 28 | extrac|t_stack(|
|00000660| 29 2c 20 72 65 74 75 72 | 6e 20 61 20 6c 69 73 74 |), retur|n a list|
|00000670| 20 6f 66 20 73 74 72 69 | 6e 67 73 20 72 65 61 64 | of stri|ngs read|
|00000680| 79 20 66 6f 72 20 70 72 | 69 6e 74 69 6e 67 2e 0a |y for pr|inting..|
|00000690| 20 20 20 20 45 61 63 68 | 20 73 74 72 69 6e 67 20 | Each| string |
|000006a0| 69 6e 20 74 68 65 20 72 | 65 73 75 6c 74 69 6e 67 |in the r|esulting|
|000006b0| 20 6c 69 73 74 20 63 6f | 72 72 65 73 70 6f 6e 64 | list co|rrespond|
|000006c0| 73 20 74 6f 20 74 68 65 | 20 69 74 65 6d 20 77 69 |s to the| item wi|
|000006d0| 74 68 20 74 68 65 0a 20 | 20 20 20 73 61 6d 65 20 |th the. | same |
|000006e0| 69 6e 64 65 78 20 69 6e | 20 74 68 65 20 61 72 67 |index in| the arg|
|000006f0| 75 6d 65 6e 74 20 6c 69 | 73 74 2e 20 20 45 61 63 |ument li|st. Eac|
|00000700| 68 20 73 74 72 69 6e 67 | 20 65 6e 64 73 20 69 6e |h string| ends in|
|00000710| 20 61 20 6e 65 77 6c 69 | 6e 65 3b 0a 20 20 20 20 | a newli|ne;. |
|00000720| 74 68 65 20 73 74 72 69 | 6e 67 73 20 6d 61 79 20 |the stri|ngs may |
|00000730| 63 6f 6e 74 61 69 6e 20 | 69 6e 74 65 72 6e 61 6c |contain |internal|
|00000740| 20 6e 65 77 6c 69 6e 65 | 73 20 61 73 20 77 65 6c | newline|s as wel|
|00000750| 6c 2c 20 66 6f 72 20 74 | 68 6f 73 65 20 69 74 65 |l, for t|hose ite|
|00000760| 6d 73 0a 20 20 20 20 77 | 68 6f 73 65 20 73 6f 75 |ms. w|hose sou|
|00000770| 72 63 65 20 74 65 78 74 | 20 6c 69 6e 65 20 69 73 |rce text| line is|
|00000780| 20 6e 6f 74 20 4e 6f 6e | 65 2e 0a 20 20 20 20 73 | not Non|e.. s|
|00000790| 1c 00 00 00 20 20 46 69 | 6c 65 20 22 25 73 22 2c |.... Fi|le "%s",|
|000007a0| 20 6c 69 6e 65 20 25 64 | 2c 20 69 6e 20 25 73 0a | line %d|, in %s.|
|000007b0| 73 07 00 00 00 20 20 20 | 20 25 73 0a 28 02 00 00 |s.... | %s.(...|
|000007c0| 00 52 17 00 00 00 74 06 | 00 00 00 61 70 70 65 6e |.R....t.|...appen|
|000007d0| 64 28 07 00 00 00 52 18 | 00 00 00 74 04 00 00 00 |d(....R.|...t....|
|000007e0| 6c 69 73 74 52 19 00 00 | 00 52 1a 00 00 00 52 1b |listR...|.R....R.|
|000007f0| 00 00 00 52 1c 00 00 00 | 74 04 00 00 00 69 74 65 |...R....|t....ite|
|00000800| 6d 28 00 00 00 00 28 00 | 00 00 00 73 1f 00 00 00 |m(....(.|...s....|
|00000810| 2f 75 73 72 2f 6c 69 62 | 2f 70 79 74 68 6f 6e 32 |/usr/lib|/python2|
|00000820| 2e 35 2f 74 72 61 63 65 | 62 61 63 6b 2e 70 79 52 |.5/trace|back.pyR|
|00000830| 04 00 00 00 1b 00 00 00 | 73 10 00 00 00 00 0a 06 |........|s.......|
|00000840| 01 07 00 12 01 13 01 07 | 01 18 01 11 01 63 03 00 |........|.....c..|
|00000850| 00 00 0a 00 00 00 06 00 | 00 00 43 00 00 00 73 22 |........|..C...s"|
|00000860| 01 00 00 7c 02 00 64 06 | 00 6a 08 00 6f 0d 00 01 |...|..d.|.j..o...|
|00000870| 74 01 00 69 02 00 7d 02 | 00 6e 01 00 01 7c 01 00 |t..i..}.|.n...|..|
|00000880| 64 06 00 6a 08 00 6f 21 | 00 01 74 03 00 74 01 00 |d..j..o!|..t..t..|
|00000890| 64 01 00 83 02 00 6f 0d | 00 01 74 01 00 69 04 00 |d.....o.|..t..i..|
|000008a0| 7d 01 00 71 48 00 01 6e | 01 00 01 64 02 00 7d 03 |}..qH..n|...d..}.|
|000008b0| 00 78 cd 00 7c 00 00 64 | 06 00 6a 09 00 6f bf 00 |.x..|..d|..j..o..|
|000008c0| 01 7c 01 00 64 06 00 6a | 08 00 70 0d 00 01 7c 03 |.|..d..j|..p...|.|
|000008d0| 00 7c 01 00 6a 00 00 6f | a5 00 01 7c 00 00 69 05 |.|..j..o|...|..i.|
|000008e0| 00 7d 04 00 7c 00 00 69 | 06 00 7d 05 00 7c 04 00 |.}..|..i|..}..|..|
|000008f0| 69 07 00 7d 06 00 7c 06 | 00 69 08 00 7d 07 00 7c |i..}..|.|.i..}..||
|00000900| 06 00 69 09 00 7d 08 00 | 74 0a 00 7c 02 00 64 03 |..i..}..|t..|..d.|
|00000910| 00 7c 07 00 7c 05 00 7c | 08 00 66 03 00 16 83 02 |.|..|..||..f.....|
|00000920| 00 01 74 0b 00 69 0c 00 | 7c 07 00 83 01 00 01 74 |..t..i..||......t|
|00000930| 0b 00 69 0d 00 7c 07 00 | 7c 05 00 7c 04 00 69 0e |..i..|..||..|..i.|
|00000940| 00 83 03 00 7d 09 00 7c | 09 00 6f 1b 00 01 74 0a |....}..||..o...t.|
|00000950| 00 7c 02 00 64 04 00 7c | 09 00 69 0f 00 83 00 00 |.|..d..||..i.....|
|00000960| 17 83 02 00 01 6e 01 00 | 01 7c 00 00 69 10 00 7d |.....n..|.|..i..}|
|00000970| 00 00 7c 03 00 64 05 00 | 17 7d 03 00 71 51 00 01 |..|..d..|.}..qQ..|
|00000980| 57 64 06 00 53 28 07 00 | 00 00 73 1f 01 00 00 50 |Wd..S(..|..s....P|
|00000990| 72 69 6e 74 20 75 70 20 | 74 6f 20 27 6c 69 6d 69 |rint up |to 'limi|
|000009a0| 74 27 20 73 74 61 63 6b | 20 74 72 61 63 65 20 65 |t' stack| trace e|
|000009b0| 6e 74 72 69 65 73 20 66 | 72 6f 6d 20 74 68 65 20 |ntries f|rom the |
|000009c0| 74 72 61 63 65 62 61 63 | 6b 20 27 74 62 27 2e 0a |tracebac|k 'tb'..|
|000009d0| 0a 20 20 20 20 49 66 20 | 27 6c 69 6d 69 74 27 20 |. If |'limit' |
|000009e0| 69 73 20 6f 6d 69 74 74 | 65 64 20 6f 72 20 4e 6f |is omitt|ed or No|
|000009f0| 6e 65 2c 20 61 6c 6c 20 | 65 6e 74 72 69 65 73 20 |ne, all |entries |
|00000a00| 61 72 65 20 70 72 69 6e | 74 65 64 2e 20 20 49 66 |are prin|ted. If|
|00000a10| 20 27 66 69 6c 65 27 0a | 20 20 20 20 69 73 20 6f | 'file'.| is o|
|00000a20| 6d 69 74 74 65 64 20 6f | 72 20 4e 6f 6e 65 2c 20 |mitted o|r None, |
|00000a30| 74 68 65 20 6f 75 74 70 | 75 74 20 67 6f 65 73 20 |the outp|ut goes |
|00000a40| 74 6f 20 73 79 73 2e 73 | 74 64 65 72 72 3b 20 6f |to sys.s|tderr; o|
|00000a50| 74 68 65 72 77 69 73 65 | 0a 20 20 20 20 27 66 69 |therwise|. 'fi|
|00000a60| 6c 65 27 20 73 68 6f 75 | 6c 64 20 62 65 20 61 6e |le' shou|ld be an|
|00000a70| 20 6f 70 65 6e 20 66 69 | 6c 65 20 6f 72 20 66 69 | open fi|le or fi|
|00000a80| 6c 65 2d 6c 69 6b 65 20 | 6f 62 6a 65 63 74 20 77 |le-like |object w|
|00000a90| 69 74 68 20 61 20 77 72 | 69 74 65 28 29 0a 20 20 |ith a wr|ite(). |
|00000aa0| 20 20 6d 65 74 68 6f 64 | 2e 0a 20 20 20 20 74 0e | method|.. t.|
|00000ab0| 00 00 00 74 72 61 63 65 | 62 61 63 6b 6c 69 6d 69 |...trace|backlimi|
|00000ac0| 74 69 00 00 00 00 73 1b | 00 00 00 20 20 46 69 6c |ti....s.|... Fil|
|00000ad0| 65 20 22 25 73 22 2c 20 | 6c 69 6e 65 20 25 64 2c |e "%s", |line %d,|
|00000ae0| 20 69 6e 20 25 73 73 04 | 00 00 00 20 20 20 20 69 | in %ss.|... i|
|00000af0| 01 00 00 00 4e 28 11 00 | 00 00 52 14 00 00 00 52 |....N(..|..R....R|
|00000b00| 15 00 00 00 52 16 00 00 | 00 74 07 00 00 00 68 61 |....R...|.t....ha|
|00000b10| 73 61 74 74 72 52 21 00 | 00 00 74 08 00 00 00 74 |sattrR!.|..t....t|
|00000b20| 62 5f 66 72 61 6d 65 52 | 0d 00 00 00 74 06 00 00 |b_frameR|....t...|
|00000b30| 00 66 5f 63 6f 64 65 74 | 0b 00 00 00 63 6f 5f 66 |.f_codet|....co_f|
|00000b40| 69 6c 65 6e 61 6d 65 74 | 07 00 00 00 63 6f 5f 6e |ilenamet|....co_n|
|00000b50| 61 6d 65 52 13 00 00 00 | 74 09 00 00 00 6c 69 6e |ameR....|t....lin|
|00000b60| 65 63 61 63 68 65 74 0a | 00 00 00 63 68 65 63 6b |ecachet.|...check|
|00000b70| 63 61 63 68 65 74 07 00 | 00 00 67 65 74 6c 69 6e |cachet..|..getlin|
|00000b80| 65 74 09 00 00 00 66 5f | 67 6c 6f 62 61 6c 73 52 |et....f_|globalsR|
|00000b90| 17 00 00 00 74 07 00 00 | 00 74 62 5f 6e 65 78 74 |....t...|.tb_next|
|00000ba0| 28 0a 00 00 00 74 02 00 | 00 00 74 62 74 05 00 00 |(....t..|..tbt...|
|00000bb0| 00 6c 69 6d 69 74 52 10 | 00 00 00 74 01 00 00 00 |.limitR.|...t....|
|00000bc0| 6e 74 01 00 00 00 66 52 | 1a 00 00 00 74 02 00 00 |nt....fR|....t...|
|00000bd0| 00 63 6f 52 19 00 00 00 | 52 1b 00 00 00 52 1c 00 |.coR....|R....R..|
|00000be0| 00 00 28 00 00 00 00 28 | 00 00 00 00 73 1f 00 00 |..(....(|....s...|
|00000bf0| 00 2f 75 73 72 2f 6c 69 | 62 2f 70 79 74 68 6f 6e |./usr/li|b/python|
|00000c00| 32 2e 35 2f 74 72 61 63 | 65 62 61 63 6b 2e 70 79 |2.5/trac|eback.py|
|00000c10| 52 0c 00 00 00 2e 00 00 | 00 73 2a 00 00 00 00 08 |R.......|.s*.....|
|00000c20| 0d 01 0d 01 0d 01 10 01 | 11 01 06 01 03 00 27 01 |........|......'.|
|00000c30| 09 01 09 01 09 01 09 01 | 09 01 06 01 14 01 0d 01 |........|........|
|00000c40| 18 01 07 00 1b 01 09 01 | 63 02 00 00 00 02 00 00 |........|c.......|
|00000c50| 00 04 00 00 00 43 00 00 | 00 73 13 00 00 00 74 00 |.....C..|.s....t.|
|00000c60| 00 74 01 00 7c 00 00 7c | 01 00 83 02 00 83 01 00 |.t..|..||........|
|00000c70| 53 28 01 00 00 00 73 36 | 00 00 00 41 20 73 68 6f |S(....s6|...A sho|
|00000c80| 72 74 68 61 6e 64 20 66 | 6f 72 20 27 66 6f 72 6d |rthand f|or 'form|
|00000c90| 61 74 5f 6c 69 73 74 28 | 65 78 74 72 61 63 74 5f |at_list(|extract_|
|00000ca0| 73 74 61 63 6b 28 66 2c | 20 6c 69 6d 69 74 29 29 |stack(f,| limit))|
|00000cb0| 2e 28 02 00 00 00 52 04 | 00 00 00 52 01 00 00 00 |.(....R.|...R....|
|00000cc0| 28 02 00 00 00 52 2c 00 | 00 00 52 2d 00 00 00 28 |(....R,.|..R-...(|
|00000cd0| 00 00 00 00 28 00 00 00 | 00 73 1f 00 00 00 2f 75 |....(...|.s..../u|
|00000ce0| 73 72 2f 6c 69 62 2f 70 | 79 74 68 6f 6e 32 2e 35 |sr/lib/p|ython2.5|
|00000cf0| 2f 74 72 61 63 65 62 61 | 63 6b 2e 70 79 52 06 00 |/traceba|ck.pyR..|
|00000d00| 00 00 4a 00 00 00 73 02 | 00 00 00 00 02 63 02 00 |..J...s.|.....c..|
|00000d10| 00 00 0a 00 00 00 05 00 | 00 00 43 00 00 00 73 08 |........|..C...s.|
|00000d20| 01 00 00 7c 01 00 64 04 | 00 6a 08 00 6f 21 00 01 |...|..d.|.j..o!..|
|00000d30| 74 01 00 74 02 00 64 01 | 00 83 02 00 6f 0d 00 01 |t..t..d.|....o...|
|00000d40| 74 02 00 69 03 00 7d 01 | 00 71 2e 00 01 6e 01 00 |t..i..}.|.q...n..|
|00000d50| 01 67 00 00 7d 02 00 64 | 02 00 7d 03 00 78 c7 00 |.g..}..d|..}..x..|
|00000d60| 7c 00 00 64 04 00 6a 09 | 00 6f b9 00 01 7c 01 00 ||..d..j.|.o...|..|
|00000d70| 64 04 00 6a 08 00 70 0d | 00 01 7c 03 00 7c 01 00 |d..j..p.|..|..|..|
|00000d80| 6a 00 00 6f 9f 00 01 7c | 00 00 69 04 00 7d 04 00 |j..o...||..i..}..|
|00000d90| 7c 00 00 69 05 00 7d 05 | 00 7c 04 00 69 06 00 7d ||..i..}.|.|..i..}|
|00000da0| 06 00 7c 06 00 69 07 00 | 7d 07 00 7c 06 00 69 08 |..|..i..|}..|..i.|
|00000db0| 00 7d 08 00 74 09 00 69 | 0a 00 7c 07 00 83 01 00 |.}..t..i|..|.....|
|00000dc0| 01 74 09 00 69 0b 00 7c | 07 00 7c 05 00 7c 04 00 |.t..i..||..|..|..|
|00000dd0| 69 0c 00 83 03 00 7d 09 | 00 7c 09 00 6f 10 00 01 |i.....}.|.|..o...|
|00000de0| 7c 09 00 69 0d 00 83 00 | 00 7d 09 00 6e 07 00 01 ||..i....|.}..n...|
|00000df0| 64 04 00 7d 09 00 7c 02 | 00 69 0e 00 7c 07 00 7c |d..}..|.|.i..|..||
|00000e00| 05 00 7c 08 00 7c 09 00 | 66 04 00 83 01 00 01 7c |..|..|..|f......||
|00000e10| 00 00 69 0f 00 7d 00 00 | 7c 03 00 64 03 00 17 7d |..i..}..||..d...}|
|00000e20| 03 00 71 3d 00 01 57 7c | 02 00 53 28 05 00 00 00 |..q=..W||..S(....|
|00000e30| 73 ed 01 00 00 52 65 74 | 75 72 6e 20 6c 69 73 74 |s....Ret|urn list|
|00000e40| 20 6f 66 20 75 70 20 74 | 6f 20 6c 69 6d 69 74 20 | of up t|o limit |
|00000e50| 70 72 65 2d 70 72 6f 63 | 65 73 73 65 64 20 65 6e |pre-proc|essed en|
|00000e60| 74 72 69 65 73 20 66 72 | 6f 6d 20 74 72 61 63 65 |tries fr|om trace|
|00000e70| 62 61 63 6b 2e 0a 0a 20 | 20 20 20 54 68 69 73 20 |back... | This |
|00000e80| 69 73 20 75 73 65 66 75 | 6c 20 66 6f 72 20 61 6c |is usefu|l for al|
|00000e90| 74 65 72 6e 61 74 65 20 | 66 6f 72 6d 61 74 74 69 |ternate |formatti|
|00000ea0| 6e 67 20 6f 66 20 73 74 | 61 63 6b 20 74 72 61 63 |ng of st|ack trac|
|00000eb0| 65 73 2e 20 20 49 66 0a | 20 20 20 20 27 6c 69 6d |es. If.| 'lim|
|00000ec0| 69 74 27 20 69 73 20 6f | 6d 69 74 74 65 64 20 6f |it' is o|mitted o|
|00000ed0| 72 20 4e 6f 6e 65 2c 20 | 61 6c 6c 20 65 6e 74 72 |r None, |all entr|
|00000ee0| 69 65 73 20 61 72 65 20 | 65 78 74 72 61 63 74 65 |ies are |extracte|
|00000ef0| 64 2e 20 20 41 0a 20 20 | 20 20 70 72 65 2d 70 72 |d. A. | pre-pr|
|00000f00| 6f 63 65 73 73 65 64 20 | 73 74 61 63 6b 20 74 72 |ocessed |stack tr|
|00000f10| 61 63 65 20 65 6e 74 72 | 79 20 69 73 20 61 20 71 |ace entr|y is a q|
|00000f20| 75 61 64 72 75 70 6c 65 | 20 28 66 69 6c 65 6e 61 |uadruple| (filena|
|00000f30| 6d 65 2c 20 6c 69 6e 65 | 0a 20 20 20 20 6e 75 6d |me, line|. num|
|00000f40| 62 65 72 2c 20 66 75 6e | 63 74 69 6f 6e 20 6e 61 |ber, fun|ction na|
|00000f50| 6d 65 2c 20 74 65 78 74 | 29 20 72 65 70 72 65 73 |me, text|) repres|
|00000f60| 65 6e 74 69 6e 67 20 74 | 68 65 20 69 6e 66 6f 72 |enting t|he infor|
|00000f70| 6d 61 74 69 6f 6e 20 74 | 68 61 74 20 69 73 0a 20 |mation t|hat is. |
|00000f80| 20 20 20 75 73 75 61 6c | 6c 79 20 70 72 69 6e 74 | usual|ly print|
|00000f90| 65 64 20 66 6f 72 20 61 | 20 73 74 61 63 6b 20 74 |ed for a| stack t|
|00000fa0| 72 61 63 65 2e 20 20 54 | 68 65 20 74 65 78 74 20 |race. T|he text |
|00000fb0| 69 73 20 61 20 73 74 72 | 69 6e 67 20 77 69 74 68 |is a str|ing with|
|00000fc0| 0a 20 20 20 20 6c 65 61 | 64 69 6e 67 20 61 6e 64 |. lea|ding and|
|00000fd0| 20 74 72 61 69 6c 69 6e | 67 20 77 68 69 74 65 73 | trailin|g whites|
|00000fe0| 70 61 63 65 20 73 74 72 | 69 70 70 65 64 3b 20 69 |pace str|ipped; i|
|00000ff0| 66 20 74 68 65 20 73 6f | 75 72 63 65 20 69 73 20 |f the so|urce is |
|00001000| 6e 6f 74 0a 20 20 20 20 | 61 76 61 69 6c 61 62 6c |not. |availabl|
|00001010| 65 20 69 74 20 69 73 20 | 4e 6f 6e 65 2e 0a 20 20 |e it is |None.. |
|00001020| 20 20 52 21 00 00 00 69 | 00 00 00 00 69 01 00 00 | R!...i|....i...|
|00001030| 00 4e 28 10 00 00 00 52 | 14 00 00 00 52 22 00 00 |.N(....R|....R"..|
|00001040| 00 52 15 00 00 00 52 21 | 00 00 00 52 23 00 00 00 |.R....R!|...R#...|
|00001050| 52 0d 00 00 00 52 24 00 | 00 00 52 25 00 00 00 52 |R....R$.|..R%...R|
|00001060| 26 00 00 00 52 27 00 00 | 00 52 28 00 00 00 52 29 |&...R'..|.R(...R)|
|00001070| 00 00 00 52 2a 00 00 00 | 52 17 00 00 00 52 1e 00 |...R*...|R....R..|
|00001080| 00 00 52 2b 00 00 00 28 | 0a 00 00 00 52 2c 00 00 |..R+...(|....R,..|
|00001090| 00 52 2d 00 00 00 52 1f | 00 00 00 52 2e 00 00 00 |.R-...R.|...R....|
|000010a0| 52 2f 00 00 00 52 1a 00 | 00 00 52 30 00 00 00 52 |R/...R..|..R0...R|
|000010b0| 19 00 00 00 52 1b 00 00 | 00 52 1c 00 00 00 28 00 |....R...|.R....(.|
|000010c0| 00 00 00 28 00 00 00 00 | 73 1f 00 00 00 2f 75 73 |...(....|s..../us|
|000010d0| 72 2f 6c 69 62 2f 70 79 | 74 68 6f 6e 32 2e 35 2f |r/lib/py|thon2.5/|
|000010e0| 74 72 61 63 65 62 61 63 | 6b 2e 70 79 52 01 00 00 |tracebac|k.pyR...|
|000010f0| 00 4e 00 00 00 73 2a 00 | 00 00 00 0b 0d 01 10 01 |.N...s*.|........|
|00001100| 11 01 06 01 06 01 03 00 | 27 01 09 01 09 01 09 01 |........|'.......|
|00001110| 09 01 09 01 0d 01 18 01 | 07 00 10 01 06 01 19 01 |........|........|
|00001120| 09 01 0f 01 63 05 00 00 | 00 07 00 00 00 07 00 00 |....c...|........|
|00001130| 00 43 00 00 00 73 8e 00 | 00 00 7c 04 00 64 05 00 |.C...s..|..|..d..|
|00001140| 6a 08 00 6f 0d 00 01 74 | 01 00 69 02 00 7d 04 00 |j..o...t|..i..}..|
|00001150| 6e 01 00 01 7c 02 00 6f | 21 00 01 74 03 00 7c 04 |n...|..o|!..t..|.|
|00001160| 00 64 01 00 83 02 00 01 | 74 04 00 7c 02 00 7c 03 |.d......|t..|..|.|
|00001170| 00 7c 04 00 83 03 00 01 | 6e 01 00 01 74 05 00 7c |.|......|n...t..||
|00001180| 00 00 7c 01 00 83 02 00 | 7d 05 00 78 22 00 7c 05 |..|.....|}..x".|.|
|00001190| 00 64 02 00 20 44 5d 16 | 00 7d 06 00 74 03 00 7c |.d.. D].|.}..t..||
|000011a0| 04 00 7c 06 00 64 03 00 | 83 03 00 01 71 5c 00 57 |..|..d..|....q\.W|
|000011b0| 74 03 00 7c 04 00 7c 05 | 00 64 02 00 19 64 04 00 |t..|..|.|.d...d..|
|000011c0| 83 03 00 01 64 05 00 53 | 28 06 00 00 00 73 f9 01 |....d..S|(....s..|
|000011d0| 00 00 50 72 69 6e 74 20 | 65 78 63 65 70 74 69 6f |..Print |exceptio|
|000011e0| 6e 20 75 70 20 74 6f 20 | 27 6c 69 6d 69 74 27 20 |n up to |'limit' |
|000011f0| 73 74 61 63 6b 20 74 72 | 61 63 65 20 65 6e 74 72 |stack tr|ace entr|
|00001200| 69 65 73 20 66 72 6f 6d | 20 27 74 62 27 20 74 6f |ies from| 'tb' to|
|00001210| 20 27 66 69 6c 65 27 2e | 0a 0a 20 20 20 20 54 68 | 'file'.|.. Th|
|00001220| 69 73 20 64 69 66 66 65 | 72 73 20 66 72 6f 6d 20 |is diffe|rs from |
|00001230| 70 72 69 6e 74 5f 74 62 | 28 29 20 69 6e 20 74 68 |print_tb|() in th|
|00001240| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 77 61 79 73 |e follow|ing ways|
|00001250| 3a 20 28 31 29 20 69 66 | 0a 20 20 20 20 74 72 61 |: (1) if|. tra|
|00001260| 63 65 62 61 63 6b 20 69 | 73 20 6e 6f 74 20 4e 6f |ceback i|s not No|
|00001270| 6e 65 2c 20 69 74 20 70 | 72 69 6e 74 73 20 61 20 |ne, it p|rints a |
|00001280| 68 65 61 64 65 72 20 22 | 54 72 61 63 65 62 61 63 |header "|Tracebac|
|00001290| 6b 20 28 6d 6f 73 74 20 | 72 65 63 65 6e 74 0a 20 |k (most |recent. |
|000012a0| 20 20 20 63 61 6c 6c 20 | 6c 61 73 74 29 3a 22 3b | call |last):";|
|000012b0| 20 28 32 29 20 69 74 20 | 70 72 69 6e 74 73 20 74 | (2) it |prints t|
|000012c0| 68 65 20 65 78 63 65 70 | 74 69 6f 6e 20 74 79 70 |he excep|tion typ|
|000012d0| 65 20 61 6e 64 20 76 61 | 6c 75 65 20 61 66 74 65 |e and va|lue afte|
|000012e0| 72 20 74 68 65 0a 20 20 | 20 20 73 74 61 63 6b 20 |r the. | stack |
|000012f0| 74 72 61 63 65 3b 20 28 | 33 29 20 69 66 20 74 79 |trace; (|3) if ty|
|00001300| 70 65 20 69 73 20 53 79 | 6e 74 61 78 45 72 72 6f |pe is Sy|ntaxErro|
|00001310| 72 20 61 6e 64 20 76 61 | 6c 75 65 20 68 61 73 20 |r and va|lue has |
|00001320| 74 68 65 0a 20 20 20 20 | 61 70 70 72 6f 70 72 69 |the. |appropri|
|00001330| 61 74 65 20 66 6f 72 6d | 61 74 2c 20 69 74 20 70 |ate form|at, it p|
|00001340| 72 69 6e 74 73 20 74 68 | 65 20 6c 69 6e 65 20 77 |rints th|e line w|
|00001350| 68 65 72 65 20 74 68 65 | 20 73 79 6e 74 61 78 20 |here the| syntax |
|00001360| 65 72 72 6f 72 0a 20 20 | 20 20 6f 63 63 75 72 72 |error. | occurr|
|00001370| 65 64 20 77 69 74 68 20 | 61 20 63 61 72 65 74 20 |ed with |a caret |
|00001380| 6f 6e 20 74 68 65 20 6e | 65 78 74 20 6c 69 6e 65 |on the n|ext line|
|00001390| 20 69 6e 64 69 63 61 74 | 69 6e 67 20 74 68 65 20 | indicat|ing the |
|000013a0| 61 70 70 72 6f 78 69 6d | 61 74 65 0a 20 20 20 20 |approxim|ate. |
|000013b0| 70 6f 73 69 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |position| of the |
|000013c0| 65 72 72 6f 72 2e 0a 20 | 20 20 20 73 22 00 00 00 |error.. | s"...|
|000013d0| 54 72 61 63 65 62 61 63 | 6b 20 28 6d 6f 73 74 20 |Tracebac|k (most |
|000013e0| 72 65 63 65 6e 74 20 63 | 61 6c 6c 20 6c 61 73 74 |recent c|all last|
|000013f0| 29 3a 69 ff ff ff ff 74 | 01 00 00 00 20 52 0e 00 |):i....t|.... R..|
|00001400| 00 00 4e 28 06 00 00 00 | 52 14 00 00 00 52 15 00 |..N(....|R....R..|
|00001410| 00 00 52 16 00 00 00 52 | 13 00 00 00 52 0c 00 00 |..R....R|....R...|
|00001420| 00 52 03 00 00 00 28 07 | 00 00 00 74 05 00 00 00 |.R....(.|...t....|
|00001430| 65 74 79 70 65 74 05 00 | 00 00 76 61 6c 75 65 52 |etypet..|..valueR|
|00001440| 2c 00 00 00 52 2d 00 00 | 00 52 10 00 00 00 74 05 |,...R-..|.R....t.|
|00001450| 00 00 00 6c 69 6e 65 73 | 52 1c 00 00 00 28 00 00 |...lines|R....(..|
|00001460| 00 00 28 00 00 00 00 73 | 1f 00 00 00 2f 75 73 72 |..(....s|..../usr|
|00001470| 2f 6c 69 62 2f 70 79 74 | 68 6f 6e 32 2e 35 2f 74 |/lib/pyt|hon2.5/t|
|00001480| 72 61 63 65 62 61 63 6b | 2e 70 79 52 09 00 00 00 |raceback|.pyR....|
|00001490| 6e 00 00 00 73 14 00 00 | 00 00 0b 0d 01 0d 01 07 |n...s...|........|
|000014a0| 01 0d 01 14 01 0f 01 0b | 00 06 01 14 01 63 04 00 |........|.....c..|
|000014b0| 00 00 05 00 00 00 04 00 | 00 00 43 00 00 00 73 44 |........|..C...sD|
|000014c0| 00 00 00 7c 02 00 6f 20 | 00 01 64 01 00 67 01 00 |...|..o |..d..g..|
|000014d0| 7d 04 00 7c 04 00 74 00 | 00 7c 02 00 7c 03 00 83 |}..|..t.|.|..|...|
|000014e0| 02 00 17 7d 04 00 6e 07 | 00 01 67 00 00 7d 04 00 |...}..n.|..g..}..|
|000014f0| 7c 04 00 74 01 00 7c 00 | 00 7c 01 00 83 02 00 17 ||..t..|.|.|......|
|00001500| 7d 04 00 7c 04 00 53 28 | 02 00 00 00 73 7a 01 00 |}..|..S(|....sz..|
|00001510| 00 46 6f 72 6d 61 74 20 | 61 20 73 74 61 63 6b 20 |.Format |a stack |
|00001520| 74 72 61 63 65 20 61 6e | 64 20 74 68 65 20 65 78 |trace an|d the ex|
|00001530| 63 65 70 74 69 6f 6e 20 | 69 6e 66 6f 72 6d 61 74 |ception |informat|
|00001540| 69 6f 6e 2e 0a 0a 20 20 | 20 20 54 68 65 20 61 72 |ion... | The ar|
|00001550| 67 75 6d 65 6e 74 73 20 | 68 61 76 65 20 74 68 65 |guments |have the|
|00001560| 20 73 61 6d 65 20 6d 65 | 61 6e 69 6e 67 20 61 73 | same me|aning as|
|00001570| 20 74 68 65 20 63 6f 72 | 72 65 73 70 6f 6e 64 69 | the cor|respondi|
|00001580| 6e 67 20 61 72 67 75 6d | 65 6e 74 73 0a 20 20 20 |ng argum|ents. |
|00001590| 20 74 6f 20 70 72 69 6e | 74 5f 65 78 63 65 70 74 | to prin|t_except|
|000015a0| 69 6f 6e 28 29 2e 20 20 | 54 68 65 20 72 65 74 75 |ion(). |The retu|
|000015b0| 72 6e 20 76 61 6c 75 65 | 20 69 73 20 61 20 6c 69 |rn value| is a li|
|000015c0| 73 74 20 6f 66 20 73 74 | 72 69 6e 67 73 2c 20 65 |st of st|rings, e|
|000015d0| 61 63 68 0a 20 20 20 20 | 65 6e 64 69 6e 67 20 69 |ach. |ending i|
|000015e0| 6e 20 61 20 6e 65 77 6c | 69 6e 65 20 61 6e 64 20 |n a newl|ine and |
|000015f0| 73 6f 6d 65 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |some con|taining |
|00001600| 69 6e 74 65 72 6e 61 6c | 20 6e 65 77 6c 69 6e 65 |internal| newline|
|00001610| 73 2e 20 20 57 68 65 6e | 0a 20 20 20 20 74 68 65 |s. When|. the|
|00001620| 73 65 20 6c 69 6e 65 73 | 20 61 72 65 20 63 6f 6e |se lines| are con|
|00001630| 63 61 74 65 6e 61 74 65 | 64 20 61 6e 64 20 70 72 |catenate|d and pr|
|00001640| 69 6e 74 65 64 2c 20 65 | 78 61 63 74 6c 79 20 74 |inted, e|xactly t|
|00001650| 68 65 20 73 61 6d 65 20 | 74 65 78 74 20 69 73 0a |he same |text is.|
|00001660| 20 20 20 20 70 72 69 6e | 74 65 64 20 61 73 20 64 | prin|ted as d|
|00001670| 6f 65 73 20 70 72 69 6e | 74 5f 65 78 63 65 70 74 |oes prin|t_except|
|00001680| 69 6f 6e 28 29 2e 0a 20 | 20 20 20 73 23 00 00 00 |ion().. | s#...|
|00001690| 54 72 61 63 65 62 61 63 | 6b 20 28 6d 6f 73 74 20 |Tracebac|k (most |
|000016a0| 72 65 63 65 6e 74 20 63 | 61 6c 6c 20 6c 61 73 74 |recent c|all last|
|000016b0| 29 3a 0a 28 02 00 00 00 | 52 06 00 00 00 52 03 00 |):.(....|R....R..|
|000016c0| 00 00 28 05 00 00 00 52 | 32 00 00 00 52 33 00 00 |..(....R|2...R3..|
|000016d0| 00 52 2c 00 00 00 52 2d | 00 00 00 52 1f 00 00 00 |.R,...R-|...R....|
|000016e0| 28 00 00 00 00 28 00 00 | 00 00 73 1f 00 00 00 2f |(....(..|..s..../|
|000016f0| 75 73 72 2f 6c 69 62 2f | 70 79 74 68 6f 6e 32 2e |usr/lib/|python2.|
|00001700| 35 2f 74 72 61 63 65 62 | 61 63 6b 2e 70 79 52 02 |5/traceb|ack.pyR.|
|00001710| 00 00 00 83 00 00 00 73 | 0c 00 00 00 00 09 07 01 |.......s|........|
|00001720| 09 01 17 02 06 01 13 01 | 63 02 00 00 00 0a 00 00 |........|c.......|
|00001730| 00 08 00 00 00 43 00 00 | 00 73 73 01 00 00 74 00 |.....C..|.ss...t.|
|00001740| 00 7c 00 00 74 01 00 83 | 02 00 70 33 00 01 74 00 |.|..t...|..p3..t.|
|00001750| 00 7c 00 00 74 02 00 69 | 03 00 83 02 00 70 20 00 |.|..t..i|.....p .|
|00001760| 01 7c 00 00 64 07 00 6a | 08 00 70 13 00 01 74 05 |.|..d..j|..p...t.|
|00001770| 00 7c 00 00 83 01 00 74 | 06 00 6a 08 00 6f 14 00 |.|.....t|..j..o..|
|00001780| 01 74 07 00 7c 00 00 7c | 01 00 83 02 00 67 01 00 |.t..|..||.....g..|
|00001790| 53 6e 01 00 01 7c 00 00 | 69 08 00 7d 02 00 74 09 |Sn...|..|i..}..t.|
|000017a0| 00 7c 00 00 74 0a 00 83 | 02 00 70 14 00 01 74 07 |.|..t...|..p...t.|
|000017b0| 00 7c 02 00 7c 01 00 83 | 02 00 67 01 00 53 6e 01 |.|..|...|..g..Sn.|
|000017c0| 00 01 67 00 00 7d 03 00 | 79 1c 00 7c 01 00 5c 02 |..g..}..|y..|..\.|
|000017d0| 00 7d 04 00 5c 04 00 7d | 05 00 7d 06 00 7d 07 00 |.}..\..}|..}..}..|
|000017e0| 7d 08 00 57 6e 13 00 04 | 74 0b 00 6a 0a 00 6f 07 |}..Wn...|t..j..o.|
|000017f0| 00 01 01 01 01 6e 9f 00 | 01 58 7c 05 00 70 04 00 |.....n..|.X|..p..|
|00001800| 01 64 01 00 7d 05 00 7c | 03 00 69 0c 00 64 02 00 |.d..}..||..i..d..|
|00001810| 7c 05 00 7c 06 00 66 02 | 00 16 83 01 00 01 7c 08 ||..|..f.|......|.|
|00001820| 00 64 07 00 6a 09 00 6f | 6c 00 01 7c 03 00 69 0c |.d..j..o|l..|..i.|
|00001830| 00 64 03 00 7c 08 00 69 | 0d 00 83 00 00 16 83 01 |.d..|..i|........|
|00001840| 00 01 7c 07 00 64 07 00 | 6a 09 00 6f 3e 00 01 7c |..|..d..|j..o>..||
|00001850| 08 00 7c 07 00 20 69 0e | 00 83 00 00 7d 09 00 64 |..|.. i.|....}..d|
|00001860| 04 00 84 00 00 7c 09 00 | 44 83 01 00 7d 09 00 7c |.....|..|D...}..||
|00001870| 03 00 69 0c 00 64 05 00 | 64 06 00 69 0f 00 7c 09 |..i..d..|d..i..|.|
|00001880| 00 83 01 00 16 83 01 00 | 01 6e 01 00 01 7c 04 00 |........|.n...|..|
|00001890| 7d 01 00 6e 01 00 01 7c | 03 00 69 0c 00 74 07 00 |}..n...||..i..t..|
|000018a0| 7c 02 00 7c 01 00 83 02 | 00 83 01 00 01 7c 03 00 ||..|....|.....|..|
|000018b0| 53 28 08 00 00 00 73 14 | 02 00 00 46 6f 72 6d 61 |S(....s.|...Forma|
|000018c0| 74 20 74 68 65 20 65 78 | 63 65 70 74 69 6f 6e 20 |t the ex|ception |
|000018d0| 70 61 72 74 20 6f 66 20 | 61 20 74 72 61 63 65 62 |part of |a traceb|
|000018e0| 61 63 6b 2e 0a 0a 20 20 | 20 20 54 68 65 20 61 72 |ack... | The ar|
|000018f0| 67 75 6d 65 6e 74 73 20 | 61 72 65 20 74 68 65 20 |guments |are the |
|00001900| 65 78 63 65 70 74 69 6f | 6e 20 74 79 70 65 20 61 |exceptio|n type a|
|00001910| 6e 64 20 76 61 6c 75 65 | 20 73 75 63 68 20 61 73 |nd value| such as|
|00001920| 20 67 69 76 65 6e 20 62 | 79 0a 20 20 20 20 73 79 | given b|y. sy|
|00001930| 73 2e 6c 61 73 74 5f 74 | 79 70 65 20 61 6e 64 20 |s.last_t|ype and |
|00001940| 73 79 73 2e 6c 61 73 74 | 5f 76 61 6c 75 65 2e 20 |sys.last|_value. |
|00001950| 54 68 65 20 72 65 74 75 | 72 6e 20 76 61 6c 75 65 |The retu|rn value|
|00001960| 20 69 73 20 61 20 6c 69 | 73 74 20 6f 66 0a 20 20 | is a li|st of. |
|00001970| 20 20 73 74 72 69 6e 67 | 73 2c 20 65 61 63 68 20 | string|s, each |
|00001980| 65 6e 64 69 6e 67 20 69 | 6e 20 61 20 6e 65 77 6c |ending i|n a newl|
|00001990| 69 6e 65 2e 0a 0a 20 20 | 20 20 4e 6f 72 6d 61 6c |ine... | Normal|
|000019a0| 6c 79 2c 20 74 68 65 20 | 6c 69 73 74 20 63 6f 6e |ly, the |list con|
|000019b0| 74 61 69 6e 73 20 61 20 | 73 69 6e 67 6c 65 20 73 |tains a |single s|
|000019c0| 74 72 69 6e 67 3b 20 68 | 6f 77 65 76 65 72 2c 20 |tring; h|owever, |
|000019d0| 66 6f 72 0a 20 20 20 20 | 53 79 6e 74 61 78 45 72 |for. |SyntaxEr|
|000019e0| 72 6f 72 20 65 78 63 65 | 70 74 69 6f 6e 73 2c 20 |ror exce|ptions, |
|000019f0| 69 74 20 63 6f 6e 74 61 | 69 6e 73 20 73 65 76 65 |it conta|ins seve|
|00001a00| 72 61 6c 20 6c 69 6e 65 | 73 20 74 68 61 74 20 28 |ral line|s that (|
|00001a10| 77 68 65 6e 0a 20 20 20 | 20 70 72 69 6e 74 65 64 |when. | printed|
|00001a20| 29 20 64 69 73 70 6c 61 | 79 20 64 65 74 61 69 6c |) displa|y detail|
|00001a30| 65 64 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |ed infor|mation a|
|00001a40| 62 6f 75 74 20 77 68 65 | 72 65 20 74 68 65 20 73 |bout whe|re the s|
|00001a50| 79 6e 74 61 78 0a 20 20 | 20 20 65 72 72 6f 72 20 |yntax. | error |
|00001a60| 6f 63 63 75 72 72 65 64 | 2e 0a 0a 20 20 20 20 54 |occurred|... T|
|00001a70| 68 65 20 6d 65 73 73 61 | 67 65 20 69 6e 64 69 63 |he messa|ge indic|
|00001a80| 61 74 69 6e 67 20 77 68 | 69 63 68 20 65 78 63 65 |ating wh|ich exce|
|00001a90| 70 74 69 6f 6e 20 6f 63 | 63 75 72 72 65 64 20 69 |ption oc|curred i|
|00001aa0| 73 20 61 6c 77 61 79 73 | 20 74 68 65 20 6c 61 73 |s always| the las|
|00001ab0| 74 0a 20 20 20 20 73 74 | 72 69 6e 67 20 69 6e 20 |t. st|ring in |
|00001ac0| 74 68 65 20 6c 69 73 74 | 2e 0a 0a 20 20 20 20 73 |the list|... s|
|00001ad0| 08 00 00 00 3c 73 74 72 | 69 6e 67 3e 73 15 00 00 |....<str|ing>s...|
|00001ae0| 00 20 20 46 69 6c 65 20 | 22 25 73 22 2c 20 6c 69 |. File |"%s", li|
|00001af0| 6e 65 20 25 64 0a 73 07 | 00 00 00 20 20 20 20 25 |ne %d.s.|... %|
|00001b00| 73 0a 63 01 00 00 00 02 | 00 00 00 03 00 00 00 73 |s.c.....|.......s|
|00001b10| 00 00 00 73 2d 00 00 00 | 78 26 00 7c 00 00 5d 1f |...s-...|x&.|..].|
|00001b20| 00 7d 01 00 7c 01 00 69 | 00 00 83 00 00 6f 07 00 |.}..|..i|.....o..|
|00001b30| 01 7c 01 00 70 04 00 01 | 64 00 00 56 01 71 06 00 |.|..p...|d..V.q..|
|00001b40| 57 64 01 00 53 28 02 00 | 00 00 52 31 00 00 00 4e |Wd..S(..|..R1...N|
|00001b50| 28 01 00 00 00 74 07 00 | 00 00 69 73 73 70 61 63 |(....t..|..isspac|
|00001b60| 65 28 02 00 00 00 74 02 | 00 00 00 2e 30 74 01 00 |e(....t.|....0t..|
|00001b70| 00 00 63 28 00 00 00 00 | 28 00 00 00 00 73 1f 00 |..c(....|(....s..|
|00001b80| 00 00 2f 75 73 72 2f 6c | 69 62 2f 70 79 74 68 6f |../usr/l|ib/pytho|
|00001b90| 6e 32 2e 35 2f 74 72 61 | 63 65 62 61 63 6b 2e 70 |n2.5/tra|ceback.p|
|00001ba0| 79 73 09 00 00 00 3c 67 | 65 6e 65 78 70 72 3e c3 |ys....<g|enexpr>.|
|00001bb0| 00 00 00 73 02 00 00 00 | 09 00 73 07 00 00 00 20 |...s....|..s.... |
|00001bc0| 20 20 25 73 5e 0a 52 0e | 00 00 00 4e 28 10 00 00 | %s^.R.|...N(...|
|00001bd0| 00 74 0a 00 00 00 69 73 | 69 6e 73 74 61 6e 63 65 |.t....is|instance|
|00001be0| 74 0d 00 00 00 42 61 73 | 65 45 78 63 65 70 74 69 |t....Bas|eExcepti|
|00001bf0| 6f 6e 74 05 00 00 00 74 | 79 70 65 73 74 0c 00 00 |ont....t|ypest...|
|00001c00| 00 49 6e 73 74 61 6e 63 | 65 54 79 70 65 52 14 00 |.Instanc|eTypeR..|
|00001c10| 00 00 74 04 00 00 00 74 | 79 70 65 52 11 00 00 00 |..t....t|ypeR....|
|00001c20| 74 16 00 00 00 5f 66 6f | 72 6d 61 74 5f 66 69 6e |t...._fo|rmat_fin|
|00001c30| 61 6c 5f 65 78 63 5f 6c | 69 6e 65 74 08 00 00 00 |al_exc_l|inet....|
|00001c40| 5f 5f 6e 61 6d 65 5f 5f | 74 0a 00 00 00 69 73 73 |__name__|t....iss|
|00001c50| 75 62 63 6c 61 73 73 74 | 0b 00 00 00 53 79 6e 74 |ubclasst|....Synt|
|00001c60| 61 78 45 72 72 6f 72 74 | 09 00 00 00 45 78 63 65 |axErrort|....Exce|
|00001c70| 70 74 69 6f 6e 52 1e 00 | 00 00 52 17 00 00 00 74 |ptionR..|..R....t|
|00001c80| 06 00 00 00 6c 73 74 72 | 69 70 74 04 00 00 00 6a |....lstr|ipt....j|
|00001c90| 6f 69 6e 28 0a 00 00 00 | 52 32 00 00 00 52 33 00 |oin(....|R2...R3.|
|00001ca0| 00 00 74 05 00 00 00 73 | 74 79 70 65 52 34 00 00 |..t....s|typeR4..|
|00001cb0| 00 74 03 00 00 00 6d 73 | 67 52 19 00 00 00 52 1a |.t....ms|gR....R.|
|00001cc0| 00 00 00 74 06 00 00 00 | 6f 66 66 73 65 74 74 07 |...t....|offsett.|
|00001cd0| 00 00 00 62 61 64 6c 69 | 6e 65 74 0a 00 00 00 63 |...badli|net....c|
|00001ce0| 61 72 65 74 73 70 61 63 | 65 28 00 00 00 00 28 00 |aretspac|e(....(.|
|00001cf0| 00 00 00 73 1f 00 00 00 | 2f 75 73 72 2f 6c 69 62 |...s....|/usr/lib|
|00001d00| 2f 70 79 74 68 6f 6e 32 | 2e 35 2f 74 72 61 63 65 |/python2|.5/trace|
|00001d10| 62 61 63 6b 2e 70 79 52 | 03 00 00 00 94 00 00 00 |back.pyR|........|
|00001d20| 73 2e 00 00 00 00 17 10 | 01 13 01 20 01 14 02 09 |s.......|... ....|
|00001d30| 02 10 01 14 03 06 01 03 | 01 1c 01 0e 01 05 02 0d |........|........|
|00001d40| 01 17 01 0d 01 17 01 0d | 01 10 02 10 02 1e 01 0a |........|........|
|00001d50| 02 16 01 63 02 00 00 00 | 04 00 00 00 03 00 00 00 |...c....|........|
|00001d60| 43 00 00 00 73 43 00 00 | 00 74 00 00 7c 01 00 83 |C...sC..|.t..|...|
|00001d70| 01 00 7d 02 00 7c 01 00 | 64 03 00 6a 08 00 70 08 |..}..|..|d..j..p.|
|00001d80| 00 01 7c 02 00 0c 6f 0e | 00 01 64 01 00 7c 00 00 |..|...o.|..d..|..|
|00001d90| 16 7d 03 00 6e 11 00 01 | 64 02 00 7c 00 00 7c 02 |.}..n...|d..|..|.|
|00001da0| 00 66 02 00 16 7d 03 00 | 7c 03 00 53 28 04 00 00 |.f...}..||..S(...|
|00001db0| 00 73 47 00 00 00 52 65 | 74 75 72 6e 20 61 20 6c |.sG...Re|turn a l|
|00001dc0| 69 73 74 20 6f 66 20 61 | 20 73 69 6e 67 6c 65 20 |ist of a| single |
|00001dd0| 6c 69 6e 65 20 2d 2d 20 | 6e 6f 72 6d 61 6c 20 63 |line -- |normal c|
|00001de0| 61 73 65 20 66 6f 72 20 | 66 6f 72 6d 61 74 5f 65 |ase for |format_e|
|00001df0| 78 63 65 70 74 69 6f 6e | 5f 6f 6e 6c 79 73 03 00 |xception|_onlys..|
|00001e00| 00 00 25 73 0a 73 07 00 | 00 00 25 73 3a 20 25 73 |..%s.s..|..%s: %s|
|00001e10| 0a 4e 28 02 00 00 00 74 | 09 00 00 00 5f 73 6f 6d |.N(....t|...._som|
|00001e20| 65 5f 73 74 72 52 14 00 | 00 00 28 04 00 00 00 52 |e_strR..|..(....R|
|00001e30| 32 00 00 00 52 33 00 00 | 00 74 08 00 00 00 76 61 |2...R3..|.t....va|
|00001e40| 6c 75 65 73 74 72 52 1c | 00 00 00 28 00 00 00 00 |luestrR.|...(....|
|00001e50| 28 00 00 00 00 73 1f 00 | 00 00 2f 75 73 72 2f 6c |(....s..|../usr/l|
|00001e60| 69 62 2f 70 79 74 68 6f | 6e 32 2e 35 2f 74 72 61 |ib/pytho|n2.5/tra|
|00001e70| 63 65 62 61 63 6b 2e 70 | 79 52 3d 00 00 00 cb 00 |ceback.p|yR=.....|
|00001e80| 00 00 73 0a 00 00 00 00 | 02 0c 01 15 01 0e 02 10 |..s.....|........|
|00001e90| 01 63 01 00 00 00 01 00 | 00 00 05 00 00 00 43 00 |.c......|......C.|
|00001ea0| 00 00 73 2d 00 00 00 79 | 0e 00 74 00 00 7c 00 00 |..s-...y|..t..|..|
|00001eb0| 83 01 00 53 57 6e 18 00 | 01 01 01 64 01 00 74 01 |...SWn..|...d..t.|
|00001ec0| 00 7c 00 00 83 01 00 69 | 02 00 16 53 6e 01 00 58 |.|.....i|...Sn..X|
|00001ed0| 64 00 00 53 28 02 00 00 | 00 4e 73 17 00 00 00 3c |d..S(...|.Ns....<|
|00001ee0| 75 6e 70 72 69 6e 74 61 | 62 6c 65 20 25 73 20 6f |unprinta|ble %s o|
|00001ef0| 62 6a 65 63 74 3e 28 03 | 00 00 00 52 11 00 00 00 |bject>(.|...R....|
|00001f00| 52 3c 00 00 00 52 3e 00 | 00 00 28 01 00 00 00 52 |R<...R>.|..(....R|
|00001f10| 33 00 00 00 28 00 00 00 | 00 28 00 00 00 00 73 1f |3...(...|.(....s.|
|00001f20| 00 00 00 2f 75 73 72 2f | 6c 69 62 2f 70 79 74 68 |.../usr/|lib/pyth|
|00001f30| 6f 6e 32 2e 35 2f 74 72 | 61 63 65 62 61 63 6b 2e |on2.5/tr|aceback.|
|00001f40| 70 79 52 49 00 00 00 d4 | 00 00 00 73 08 00 00 00 |pyRI....|...s....|
|00001f50| 00 01 03 01 0e 01 03 01 | 63 02 00 00 00 05 00 00 |........|c.......|
|00001f60| 00 09 00 00 00 43 00 00 | 00 73 5f 00 00 00 7c 01 |.....C..|.s_...|.|
|00001f70| 00 64 01 00 6a 08 00 6f | 0d 00 01 74 01 00 69 02 |.d..j..o|...t..i.|
|00001f80| 00 7d 01 00 6e 01 00 01 | 7a 2f 00 74 01 00 69 03 |.}..n...|z/.t..i.|
|00001f90| 00 83 00 00 5c 03 00 7d | 02 00 7d 03 00 7d 04 00 |....\..}|..}..}..|
|00001fa0| 74 04 00 7c 02 00 7c 03 | 00 7c 04 00 7c 00 00 7c |t..|..|.|.|..|..||
|00001fb0| 01 00 83 05 00 01 57 64 | 01 00 64 01 00 04 7d 02 |......Wd|..d...}.|
|00001fc0| 00 04 7d 03 00 7d 04 00 | 58 64 01 00 53 28 02 00 |..}..}..|Xd..S(..|
|00001fd0| 00 00 73 be 00 00 00 53 | 68 6f 72 74 68 61 6e 64 |..s....S|horthand|
|00001fe0| 20 66 6f 72 20 27 70 72 | 69 6e 74 5f 65 78 63 65 | for 'pr|int_exce|
|00001ff0| 70 74 69 6f 6e 28 73 79 | 73 2e 65 78 63 5f 74 79 |ption(sy|s.exc_ty|
|00002000| 70 65 2c 20 73 79 73 2e | 65 78 63 5f 76 61 6c 75 |pe, sys.|exc_valu|
|00002010| 65 2c 20 73 79 73 2e 65 | 78 63 5f 74 72 61 63 65 |e, sys.e|xc_trace|
|00002020| 62 61 63 6b 2c 20 6c 69 | 6d 69 74 2c 20 66 69 6c |back, li|mit, fil|
|00002030| 65 29 27 2e 0a 20 20 20 | 20 28 49 6e 20 66 61 63 |e)'.. | (In fac|
|00002040| 74 2c 20 69 74 20 75 73 | 65 73 20 73 79 73 2e 65 |t, it us|es sys.e|
|00002050| 78 63 5f 69 6e 66 6f 28 | 29 20 74 6f 20 72 65 74 |xc_info(|) to ret|
|00002060| 72 69 65 76 65 20 74 68 | 65 20 73 61 6d 65 20 69 |rieve th|e same i|
|00002070| 6e 66 6f 72 6d 61 74 69 | 6f 6e 0a 20 20 20 20 69 |nformati|on. i|
|00002080| 6e 20 61 20 74 68 72 65 | 61 64 2d 73 61 66 65 20 |n a thre|ad-safe |
|00002090| 77 61 79 2e 29 4e 28 05 | 00 00 00 52 14 00 00 00 |way.)N(.|...R....|
|000020a0| 52 15 00 00 00 52 16 00 | 00 00 74 08 00 00 00 65 |R....R..|..t....e|
|000020b0| 78 63 5f 69 6e 66 6f 52 | 09 00 00 00 28 05 00 00 |xc_infoR|....(...|
|000020c0| 00 52 2d 00 00 00 52 10 | 00 00 00 52 32 00 00 00 |.R-...R.|...R2...|
|000020d0| 52 33 00 00 00 52 2c 00 | 00 00 28 00 00 00 00 28 |R3...R,.|..(....(|
|000020e0| 00 00 00 00 73 1f 00 00 | 00 2f 75 73 72 2f 6c 69 |....s...|./usr/li|
|000020f0| 62 2f 70 79 74 68 6f 6e | 32 2e 35 2f 74 72 61 63 |b/python|2.5/trac|
|00002100| 65 62 61 63 6b 2e 70 79 | 52 07 00 00 00 db 00 00 |eback.py|R.......|
|00002110| 00 73 0c 00 00 00 00 04 | 0d 01 0d 01 03 01 15 01 |.s......|........|
|00002120| 1a 02 63 01 00 00 00 04 | 00 00 00 09 00 00 00 43 |..c.....|.......C|
|00002130| 00 00 00 73 4b 00 00 00 | 7a 35 00 74 00 00 69 01 |...sK...|z5.t..i.|
|00002140| 00 83 00 00 5c 03 00 7d | 01 00 7d 02 00 7d 03 00 |....\..}|..}..}..|
|00002150| 64 01 00 69 02 00 74 03 | 00 7c 01 00 7c 02 00 7c |d..i..t.|.|..|..||
|00002160| 03 00 7c 00 00 83 04 00 | 83 01 00 53 57 64 02 00 |..|.....|...SWd..|
|00002170| 64 02 00 04 7d 01 00 04 | 7d 02 00 7d 03 00 58 64 |d...}...|}..}..Xd|
|00002180| 02 00 53 28 03 00 00 00 | 73 25 00 00 00 4c 69 6b |..S(....|s%...Lik|
|00002190| 65 20 70 72 69 6e 74 5f | 65 78 63 28 29 20 62 75 |e print_|exc() bu|
|000021a0| 74 20 72 65 74 75 72 6e | 20 61 20 73 74 72 69 6e |t return| a strin|
|000021b0| 67 2e 52 0e 00 00 00 4e | 28 05 00 00 00 52 15 00 |g.R....N|(....R..|
|000021c0| 00 00 52 4b 00 00 00 52 | 43 00 00 00 52 02 00 00 |..RK...R|C...R...|
|000021d0| 00 52 14 00 00 00 28 04 | 00 00 00 52 2d 00 00 00 |.R....(.|...R-...|
|000021e0| 52 32 00 00 00 52 33 00 | 00 00 52 2c 00 00 00 28 |R2...R3.|..R,...(|
|000021f0| 00 00 00 00 28 00 00 00 | 00 73 1f 00 00 00 2f 75 |....(...|.s..../u|
|00002200| 73 72 2f 6c 69 62 2f 70 | 79 74 68 6f 6e 32 2e 35 |sr/lib/p|ython2.5|
|00002210| 2f 74 72 61 63 65 62 61 | 63 6b 2e 70 79 52 08 00 |/traceba|ck.pyR..|
|00002220| 00 00 e8 00 00 00 73 08 | 00 00 00 00 02 03 01 15 |......s.|........|
|00002230| 01 20 02 63 02 00 00 00 | 02 00 00 00 06 00 00 00 |. .c....|........|
|00002240| 43 00 00 00 73 3d 00 00 | 00 7c 01 00 64 01 00 6a |C...s=..|.|..d..j|
|00002250| 08 00 6f 0d 00 01 74 01 | 00 69 02 00 7d 01 00 6e |..o...t.|.i..}..n|
|00002260| 01 00 01 74 03 00 74 01 | 00 69 04 00 74 01 00 69 |...t..t.|.i..t..i|
|00002270| 05 00 74 01 00 69 06 00 | 7c 00 00 7c 01 00 83 05 |..t..i..||..|....|
|00002280| 00 01 64 01 00 53 28 02 | 00 00 00 73 6e 00 00 00 |..d..S(.|...sn...|
|00002290| 54 68 69 73 20 69 73 20 | 61 20 73 68 6f 72 74 68 |This is |a shorth|
|000022a0| 61 6e 64 20 66 6f 72 20 | 27 70 72 69 6e 74 5f 65 |and for |'print_e|
|000022b0| 78 63 65 70 74 69 6f 6e | 28 73 79 73 2e 6c 61 73 |xception|(sys.las|
|000022c0| 74 5f 74 79 70 65 2c 0a | 20 20 20 20 73 79 73 2e |t_type,.| sys.|
|000022d0| 6c 61 73 74 5f 76 61 6c | 75 65 2c 20 73 79 73 2e |last_val|ue, sys.|
|000022e0| 6c 61 73 74 5f 74 72 61 | 63 65 62 61 63 6b 2c 20 |last_tra|ceback, |
|000022f0| 6c 69 6d 69 74 2c 20 66 | 69 6c 65 29 27 2e 4e 28 |limit, f|ile)'.N(|
|00002300| 07 00 00 00 52 14 00 00 | 00 52 15 00 00 00 52 16 |....R...|.R....R.|
|00002310| 00 00 00 52 09 00 00 00 | 74 09 00 00 00 6c 61 73 |...R....|t....las|
|00002320| 74 5f 74 79 70 65 74 0a | 00 00 00 6c 61 73 74 5f |t_typet.|...last_|
|00002330| 76 61 6c 75 65 74 0e 00 | 00 00 6c 61 73 74 5f 74 |valuet..|..last_t|
|00002340| 72 61 63 65 62 61 63 6b | 28 02 00 00 00 52 2d 00 |raceback|(....R-.|
|00002350| 00 00 52 10 00 00 00 28 | 00 00 00 00 28 00 00 00 |..R....(|....(...|
|00002360| 00 73 1f 00 00 00 2f 75 | 73 72 2f 6c 69 62 2f 70 |.s..../u|sr/lib/p|
|00002370| 79 74 68 6f 6e 32 2e 35 | 2f 74 72 61 63 65 62 61 |ython2.5|/traceba|
|00002380| 63 6b 2e 70 79 52 0a 00 | 00 00 f1 00 00 00 73 08 |ck.pyR..|......s.|
|00002390| 00 00 00 00 03 0d 01 0d | 01 15 01 63 03 00 00 00 |........|...c....|
|000023a0| 03 00 00 00 07 00 00 00 | 43 00 00 00 73 61 00 00 |........|C...sa..|
|000023b0| 00 7c 00 00 64 02 00 6a | 08 00 6f 3a 00 01 79 0a |.|..d..j|..o:..y.|
|000023c0| 00 74 01 00 82 01 00 57 | 71 47 00 04 74 01 00 6a |.t.....W|qG..t..j|
|000023d0| 0a 00 6f 1d 00 01 01 01 | 01 74 02 00 69 03 00 83 |..o.....|.t..i...|
|000023e0| 00 00 64 01 00 19 69 04 | 00 69 05 00 7d 00 00 71 |..d...i.|.i..}..q|
|000023f0| 47 00 01 58 6e 01 00 01 | 74 06 00 74 07 00 7c 00 |G..Xn...|t..t..|.|
|00002400| 00 7c 01 00 83 02 00 7c | 02 00 83 02 00 01 64 02 |.|.....||......d.|
|00002410| 00 53 28 03 00 00 00 73 | f7 00 00 00 50 72 69 6e |.S(....s|....Prin|
|00002420| 74 20 61 20 73 74 61 63 | 6b 20 74 72 61 63 65 20 |t a stac|k trace |
|00002430| 66 72 6f 6d 20 69 74 73 | 20 69 6e 76 6f 63 61 74 |from its| invocat|
|00002440| 69 6f 6e 20 70 6f 69 6e | 74 2e 0a 0a 20 20 20 20 |ion poin|t... |
|00002450| 54 68 65 20 6f 70 74 69 | 6f 6e 61 6c 20 27 66 27 |The opti|onal 'f'|
|00002460| 20 61 72 67 75 6d 65 6e | 74 20 63 61 6e 20 62 65 | argumen|t can be|
|00002470| 20 75 73 65 64 20 74 6f | 20 73 70 65 63 69 66 79 | used to| specify|
|00002480| 20 61 6e 20 61 6c 74 65 | 72 6e 61 74 65 0a 20 20 | an alte|rnate. |
|00002490| 20 20 73 74 61 63 6b 20 | 66 72 61 6d 65 20 61 74 | stack |frame at|
|000024a0| 20 77 68 69 63 68 20 74 | 6f 20 73 74 61 72 74 2e | which t|o start.|
|000024b0| 20 54 68 65 20 6f 70 74 | 69 6f 6e 61 6c 20 27 6c | The opt|ional 'l|
|000024c0| 69 6d 69 74 27 20 61 6e | 64 20 27 66 69 6c 65 27 |imit' an|d 'file'|
|000024d0| 0a 20 20 20 20 61 72 67 | 75 6d 65 6e 74 73 20 68 |. arg|uments h|
|000024e0| 61 76 65 20 74 68 65 20 | 73 61 6d 65 20 6d 65 61 |ave the |same mea|
|000024f0| 6e 69 6e 67 20 61 73 20 | 66 6f 72 20 70 72 69 6e |ning as |for prin|
|00002500| 74 5f 65 78 63 65 70 74 | 69 6f 6e 28 29 2e 0a 20 |t_except|ion().. |
|00002510| 20 20 20 69 02 00 00 00 | 4e 28 08 00 00 00 52 14 | i....|N(....R.|
|00002520| 00 00 00 74 11 00 00 00 | 5a 65 72 6f 44 69 76 69 |...t....|ZeroDivi|
|00002530| 73 69 6f 6e 45 72 72 6f | 72 52 15 00 00 00 52 4b |sionErro|rR....RK|
|00002540| 00 00 00 52 23 00 00 00 | 74 06 00 00 00 66 5f 62 |...R#...|t....f_b|
|00002550| 61 63 6b 52 1d 00 00 00 | 52 00 00 00 00 28 03 00 |ackR....|R....(..|
|00002560| 00 00 52 2f 00 00 00 52 | 2d 00 00 00 52 10 00 00 |..R/...R|-...R...|
|00002570| 00 28 00 00 00 00 28 00 | 00 00 00 73 1f 00 00 00 |.(....(.|...s....|
|00002580| 2f 75 73 72 2f 6c 69 62 | 2f 70 79 74 68 6f 6e 32 |/usr/lib|/python2|
|00002590| 2e 35 2f 74 72 61 63 65 | 62 61 63 6b 2e 70 79 52 |.5/trace|back.pyR|
|000025a0| 0b 00 00 00 fa 00 00 00 | 73 0c 00 00 00 00 07 0d |........|s.......|
|000025b0| 01 03 01 0a 01 0e 01 1f | 01 63 02 00 00 00 02 00 |........|.c......|
|000025c0| 00 00 07 00 00 00 43 00 | 00 00 73 5a 00 00 00 7c |......C.|..sZ...||
|000025d0| 00 00 64 02 00 6a 08 00 | 6f 3a 00 01 79 0a 00 74 |..d..j..|o:..y..t|
|000025e0| 01 00 82 01 00 57 71 47 | 00 04 74 01 00 6a 0a 00 |.....WqG|..t..j..|
|000025f0| 6f 1d 00 01 01 01 01 74 | 02 00 69 03 00 83 00 00 |o......t|..i.....|
|00002600| 64 01 00 19 69 04 00 69 | 05 00 7d 00 00 71 47 00 |d...i..i|..}..qG.|
|00002610| 01 58 6e 01 00 01 74 06 | 00 74 07 00 7c 00 00 7c |.Xn...t.|.t..|..||
|00002620| 01 00 83 02 00 83 01 00 | 53 28 03 00 00 00 73 35 |........|S(....s5|
|00002630| 00 00 00 53 68 6f 72 74 | 68 61 6e 64 20 66 6f 72 |...Short|hand for|
|00002640| 20 27 66 6f 72 6d 61 74 | 5f 6c 69 73 74 28 65 78 | 'format|_list(ex|
|00002650| 74 72 61 63 74 5f 73 74 | 61 63 6b 28 66 2c 20 6c |tract_st|ack(f, l|
|00002660| 69 6d 69 74 29 29 27 2e | 69 02 00 00 00 4e 28 08 |imit))'.|i....N(.|
|00002670| 00 00 00 52 14 00 00 00 | 52 4f 00 00 00 52 15 00 |...R....|RO...R..|
|00002680| 00 00 52 4b 00 00 00 52 | 23 00 00 00 52 50 00 00 |..RK...R|#...RP..|
|00002690| 00 52 04 00 00 00 52 00 | 00 00 00 28 02 00 00 00 |.R....R.|...(....|
|000026a0| 52 2f 00 00 00 52 2d 00 | 00 00 28 00 00 00 00 28 |R/...R-.|..(....(|
|000026b0| 00 00 00 00 73 1f 00 00 | 00 2f 75 73 72 2f 6c 69 |....s...|./usr/li|
|000026c0| 62 2f 70 79 74 68 6f 6e | 32 2e 35 2f 74 72 61 63 |b/python|2.5/trac|
|000026d0| 65 62 61 63 6b 2e 70 79 | 52 05 00 00 00 08 01 00 |eback.py|R.......|
|000026e0| 00 73 0c 00 00 00 00 02 | 0d 01 03 01 0a 01 0e 01 |.s......|........|
|000026f0| 1f 01 63 02 00 00 00 09 | 00 00 00 08 00 00 00 43 |..c.....|.......C|
|00002700| 00 00 00 73 50 01 00 00 | 7c 00 00 64 05 00 6a 08 |...sP...||..d..j.|
|00002710| 00 6f 3a 00 01 79 0a 00 | 74 01 00 82 01 00 57 71 |.o:..y..|t.....Wq|
|00002720| 47 00 04 74 01 00 6a 0a | 00 6f 1d 00 01 01 01 01 |G..t..j.|.o......|
|00002730| 74 02 00 69 03 00 83 00 | 00 64 01 00 19 69 04 00 |t..i....|.d...i..|
|00002740| 69 05 00 7d 00 00 71 47 | 00 01 58 6e 01 00 01 7c |i..}..qG|..Xn...||
|00002750| 01 00 64 05 00 6a 08 00 | 6f 21 00 01 74 06 00 74 |..d..j..|o!..t..t|
|00002760| 02 00 64 02 00 83 02 00 | 6f 0d 00 01 74 02 00 69 |..d.....|o...t..i|
|00002770| 07 00 7d 01 00 71 75 00 | 01 6e 01 00 01 67 00 00 |..}..qu.|.n...g..|
|00002780| 7d 02 00 64 03 00 7d 03 | 00 78 be 00 7c 00 00 64 |}..d..}.|.x..|..d|
|00002790| 05 00 6a 09 00 6f b0 00 | 01 7c 01 00 64 05 00 6a |..j..o..|.|..d..j|
|000027a0| 08 00 70 0d 00 01 7c 03 | 00 7c 01 00 6a 00 00 6f |..p...|.|.|..j..o|
|000027b0| 96 00 01 7c 00 00 69 08 | 00 7d 04 00 7c 00 00 69 |...|..i.|.}..|..i|
|000027c0| 09 00 7d 05 00 7c 05 00 | 69 0a 00 7d 06 00 7c 05 |..}..|..|i..}..|.|
|000027d0| 00 69 0b 00 7d 07 00 74 | 0c 00 69 0d 00 7c 06 00 |.i..}..t|..i..|..|
|000027e0| 83 01 00 01 74 0c 00 69 | 0e 00 7c 06 00 7c 04 00 |....t..i|..|..|..|
|000027f0| 7c 00 00 69 0f 00 83 03 | 00 7d 08 00 7c 08 00 6f ||..i....|.}..|..o|
|00002800| 10 00 01 7c 08 00 69 10 | 00 83 00 00 7d 08 00 6e |...|..i.|....}..n|
|00002810| 07 00 01 64 05 00 7d 08 | 00 7c 02 00 69 11 00 7c |...d..}.|.|..i..||
|00002820| 06 00 7c 04 00 7c 07 00 | 7c 08 00 66 04 00 83 01 |..|..|..||..f....|
|00002830| 00 01 7c 00 00 69 05 00 | 7d 00 00 7c 03 00 64 04 |..|..i..|}..|..d.|
|00002840| 00 17 7d 03 00 71 84 00 | 01 57 7c 02 00 69 12 00 |..}..q..|.W|..i..|
|00002850| 83 00 00 01 7c 02 00 53 | 28 06 00 00 00 73 73 01 |....|..S|(....ss.|
|00002860| 00 00 45 78 74 72 61 63 | 74 20 74 68 65 20 72 61 |..Extrac|t the ra|
|00002870| 77 20 74 72 61 63 65 62 | 61 63 6b 20 66 72 6f 6d |w traceb|ack from|
|00002880| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 73 74 61 | the cur|rent sta|
|00002890| 63 6b 20 66 72 61 6d 65 | 2e 0a 0a 20 20 20 20 54 |ck frame|... T|
|000028a0| 68 65 20 72 65 74 75 72 | 6e 20 76 61 6c 75 65 20 |he retur|n value |
|000028b0| 68 61 73 20 74 68 65 20 | 73 61 6d 65 20 66 6f 72 |has the |same for|
|000028c0| 6d 61 74 20 61 73 20 66 | 6f 72 20 65 78 74 72 61 |mat as f|or extra|
|000028d0| 63 74 5f 74 62 28 29 2e | 20 20 54 68 65 0a 20 20 |ct_tb().| The. |
|000028e0| 20 20 6f 70 74 69 6f 6e | 61 6c 20 27 66 27 20 61 | option|al 'f' a|
|000028f0| 6e 64 20 27 6c 69 6d 69 | 74 27 20 61 72 67 75 6d |nd 'limi|t' argum|
|00002900| 65 6e 74 73 20 68 61 76 | 65 20 74 68 65 20 73 61 |ents hav|e the sa|
|00002910| 6d 65 20 6d 65 61 6e 69 | 6e 67 20 61 73 20 66 6f |me meani|ng as fo|
|00002920| 72 0a 20 20 20 20 70 72 | 69 6e 74 5f 73 74 61 63 |r. pr|int_stac|
|00002930| 6b 28 29 2e 20 20 45 61 | 63 68 20 69 74 65 6d 20 |k(). Ea|ch item |
|00002940| 69 6e 20 74 68 65 20 6c | 69 73 74 20 69 73 20 61 |in the l|ist is a|
|00002950| 20 71 75 61 64 72 75 70 | 6c 65 20 28 66 69 6c 65 | quadrup|le (file|
|00002960| 6e 61 6d 65 2c 0a 20 20 | 20 20 6c 69 6e 65 20 6e |name,. | line n|
|00002970| 75 6d 62 65 72 2c 20 66 | 75 6e 63 74 69 6f 6e 20 |umber, f|unction |
|00002980| 6e 61 6d 65 2c 20 74 65 | 78 74 29 2c 20 61 6e 64 |name, te|xt), and|
|00002990| 20 74 68 65 20 65 6e 74 | 72 69 65 73 20 61 72 65 | the ent|ries are|
|000029a0| 20 69 6e 20 6f 72 64 65 | 72 0a 20 20 20 20 66 72 | in orde|r. fr|
|000029b0| 6f 6d 20 6f 6c 64 65 73 | 74 20 74 6f 20 6e 65 77 |om oldes|t to new|
|000029c0| 65 73 74 20 73 74 61 63 | 6b 20 66 72 61 6d 65 2e |est stac|k frame.|
|000029d0| 0a 20 20 20 20 69 02 00 | 00 00 52 21 00 00 00 69 |. i..|..R!...i|
|000029e0| 00 00 00 00 69 01 00 00 | 00 4e 28 13 00 00 00 52 |....i...|.N(....R|
|000029f0| 14 00 00 00 52 4f 00 00 | 00 52 15 00 00 00 52 4b |....RO..|.R....RK|
|00002a00| 00 00 00 52 23 00 00 00 | 52 50 00 00 00 52 22 00 |...R#...|RP...R".|
|00002a10| 00 00 52 21 00 00 00 74 | 08 00 00 00 66 5f 6c 69 |..R!...t|....f_li|
|00002a20| 6e 65 6e 6f 52 24 00 00 | 00 52 25 00 00 00 52 26 |nenoR$..|.R%...R&|
|00002a30| 00 00 00 52 27 00 00 00 | 52 28 00 00 00 52 29 00 |...R'...|R(...R).|
|00002a40| 00 00 52 2a 00 00 00 52 | 17 00 00 00 52 1e 00 00 |..R*...R|....R...|
|00002a50| 00 74 07 00 00 00 72 65 | 76 65 72 73 65 28 09 00 |.t....re|verse(..|
|00002a60| 00 00 52 2f 00 00 00 52 | 2d 00 00 00 52 1f 00 00 |..R/...R|-...R...|
|00002a70| 00 52 2e 00 00 00 52 1a | 00 00 00 52 30 00 00 00 |.R....R.|...R0...|
|00002a80| 52 19 00 00 00 52 1b 00 | 00 00 52 1c 00 00 00 28 |R....R..|..R....(|
|00002a90| 00 00 00 00 28 00 00 00 | 00 73 1f 00 00 00 2f 75 |....(...|.s..../u|
|00002aa0| 73 72 2f 6c 69 62 2f 70 | 79 74 68 6f 6e 32 2e 35 |sr/lib/p|ython2.5|
|00002ab0| 2f 74 72 61 63 65 62 61 | 63 6b 2e 70 79 52 00 00 |/traceba|ck.pyR..|
|00002ac0| 00 00 11 01 00 00 73 34 | 00 00 00 00 09 0d 01 03 |......s4|........|
|00002ad0| 01 0a 01 0e 01 1f 01 0d | 01 10 01 11 01 06 01 06 |........|........|
|00002ae0| 01 03 00 27 01 09 01 09 | 01 09 01 09 01 0d 01 18 |...'....|........|
|00002af0| 01 07 00 10 01 06 01 19 | 01 09 01 0f 01 0a 01 63 |........|.......c|
|00002b00| 01 00 00 00 01 00 00 00 | 01 00 00 00 43 00 00 00 |........|....C...|
|00002b10| 73 07 00 00 00 7c 00 00 | 69 00 00 53 28 01 00 00 |s....|..|i..S(...|
|00002b20| 00 73 52 00 00 00 43 61 | 6c 63 75 6c 61 74 65 20 |.sR...Ca|lculate |
|00002b30| 63 6f 72 72 65 63 74 20 | 6c 69 6e 65 20 6e 75 6d |correct |line num|
|00002b40| 62 65 72 20 6f 66 20 74 | 72 61 63 65 62 61 63 6b |ber of t|raceback|
|00002b50| 20 67 69 76 65 6e 20 69 | 6e 20 74 62 2e 0a 0a 20 | given i|n tb... |
|00002b60| 20 20 20 4f 62 73 6f 6c | 65 74 65 20 69 6e 20 32 | Obsol|ete in 2|
|00002b70| 2e 33 2e 0a 20 20 20 20 | 28 01 00 00 00 52 0d 00 |.3.. |(....R..|
|00002b80| 00 00 28 01 00 00 00 52 | 2c 00 00 00 28 00 00 00 |..(....R|,...(...|
|00002b90| 00 28 00 00 00 00 73 1f | 00 00 00 2f 75 73 72 2f |.(....s.|.../usr/|
|00002ba0| 6c 69 62 2f 70 79 74 68 | 6f 6e 32 2e 35 2f 74 72 |lib/pyth|on2.5/tr|
|00002bb0| 61 63 65 62 61 63 6b 2e | 70 79 52 0d 00 00 00 33 |aceback.|pyR....3|
|00002bc0| 01 00 00 73 02 00 00 00 | 00 05 28 18 00 00 00 74 |...s....|..(....t|
|00002bd0| 07 00 00 00 5f 5f 64 6f | 63 5f 5f 52 27 00 00 00 |....__do|c__R'...|
|00002be0| 52 15 00 00 00 52 3a 00 | 00 00 74 07 00 00 00 5f |R....R:.|..t...._|
|00002bf0| 5f 61 6c 6c 5f 5f 52 13 | 00 00 00 52 14 00 00 00 |_all__R.|...R....|
|00002c00| 52 1d 00 00 00 52 04 00 | 00 00 52 0c 00 00 00 52 |R....R..|..R....R|
|00002c10| 06 00 00 00 52 01 00 00 | 00 52 09 00 00 00 52 02 |....R...|.R....R.|
|00002c20| 00 00 00 52 03 00 00 00 | 52 3d 00 00 00 52 49 00 |...R....|R=...RI.|
|00002c30| 00 00 52 07 00 00 00 52 | 08 00 00 00 52 0a 00 00 |..R....R|....R...|
|00002c40| 00 52 0b 00 00 00 52 05 | 00 00 00 52 00 00 00 00 |.R....R.|...R....|
|00002c50| 52 0d 00 00 00 28 00 00 | 00 00 28 00 00 00 00 28 |R....(..|..(....(|
|00002c60| 00 00 00 00 73 1f 00 00 | 00 2f 75 73 72 2f 6c 69 |....s...|./usr/li|
|00002c70| 62 2f 70 79 74 68 6f 6e | 32 2e 35 2f 74 72 61 63 |b/python|2.5/trac|
|00002c80| 65 62 61 63 6b 2e 70 79 | 73 08 00 00 00 3c 6d 6f |eback.py|s....<mo|
|00002c90| 64 75 6c 65 3e 01 00 00 | 00 73 32 00 00 00 06 02 |dule>...|.s2.....|
|00002ca0| 0c 01 0c 01 0c 02 09 01 | 09 01 0c 01 12 02 0f 04 |........|........|
|00002cb0| 0c 0b 09 13 0f 1c 0c 04 | 0c 20 0f 15 0c 11 09 37 |........|. .....7|
|00002cc0| 09 09 09 07 0f 0d 0c 09 | 0f 09 12 0e 0f 09 0f 22 |........|......."|
+--------+-------------------------+-------------------------+--------+--------+