summaryrefslogtreecommitdiff
path: root/lib/python2.7/codeop.pyc
blob: 8034d27f8b8e9ce7e789026d23e041803e8316a5 (plain)
ofshex dumpascii
0000 03 f3 0d 0a 4c 5c ac 51 63 00 00 00 00 00 00 00 00 05 00 00 00 40 00 00 00 73 97 00 00 00 64 00 ....L\.Qc............@...s....d.
0020 00 5a 00 00 64 01 00 64 02 00 6c 01 00 5a 01 00 67 00 00 65 01 00 6a 02 00 44 5d 15 00 5a 03 00 .Z..d..d..l..Z..g..e..j..D]..Z..
0040 65 04 00 65 01 00 65 03 00 83 02 00 5e 02 00 71 1c 00 5a 05 00 64 03 00 64 04 00 64 05 00 67 03 e..e..e.....^..q..Z..d..d..d..g.
0060 00 5a 06 00 64 06 00 5a 07 00 64 07 00 84 00 00 5a 08 00 64 08 00 84 00 00 5a 09 00 64 09 00 64 .Z..d..Z..d.....Z..d.....Z..d..d
0080 0a 00 64 0b 00 84 02 00 5a 0a 00 64 04 00 64 0e 00 64 0c 00 84 00 00 83 00 00 59 5a 0b 00 64 05 ..d.....Z..d..d..d........YZ..d.
00a0 00 64 0f 00 64 0d 00 84 00 00 83 00 00 59 5a 0c 00 64 02 00 53 28 10 00 00 00 73 5b 08 00 00 55 .d..d........YZ..d..S(....s[...U
00c0 74 69 6c 69 74 69 65 73 20 74 6f 20 63 6f 6d 70 69 6c 65 20 70 6f 73 73 69 62 6c 79 20 69 6e 63 tilities.to.compile.possibly.inc
00e0 6f 6d 70 6c 65 74 65 20 50 79 74 68 6f 6e 20 73 6f 75 72 63 65 20 63 6f 64 65 2e 0a 0a 54 68 69 omplete.Python.source.code...Thi
0100 73 20 6d 6f 64 75 6c 65 20 70 72 6f 76 69 64 65 73 20 74 77 6f 20 69 6e 74 65 72 66 61 63 65 73 s.module.provides.two.interfaces
0120 2c 20 62 72 6f 61 64 6c 79 20 73 69 6d 69 6c 61 72 20 74 6f 20 74 68 65 20 62 75 69 6c 74 69 6e ,.broadly.similar.to.the.builtin
0140 0a 66 75 6e 63 74 69 6f 6e 20 63 6f 6d 70 69 6c 65 28 29 2c 20 77 68 69 63 68 20 74 61 6b 65 20 .function.compile(),.which.take.
0160 70 72 6f 67 72 61 6d 20 74 65 78 74 2c 20 61 20 66 69 6c 65 6e 61 6d 65 20 61 6e 64 20 61 20 27 program.text,.a.filename.and.a.'
0180 6d 6f 64 65 27 0a 61 6e 64 3a 0a 0a 2d 20 52 65 74 75 72 6e 20 63 6f 64 65 20 6f 62 6a 65 63 74 mode'.and:..-.Return.code.object
01a0 20 69 66 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 69 73 20 63 6f 6d 70 6c 65 74 65 20 61 6e 64 20 .if.the.command.is.complete.and.
01c0 76 61 6c 69 64 0a 2d 20 52 65 74 75 72 6e 20 4e 6f 6e 65 20 69 66 20 74 68 65 20 63 6f 6d 6d 61 valid.-.Return.None.if.the.comma
01e0 6e 64 20 69 73 20 69 6e 63 6f 6d 70 6c 65 74 65 0a 2d 20 52 61 69 73 65 20 53 79 6e 74 61 78 45 nd.is.incomplete.-.Raise.SyntaxE
0200 72 72 6f 72 2c 20 56 61 6c 75 65 45 72 72 6f 72 20 6f 72 20 4f 76 65 72 66 6c 6f 77 45 72 72 6f rror,.ValueError.or.OverflowErro
0220 72 20 69 66 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 69 73 20 61 0a 20 20 73 79 6e 74 61 78 20 65 r.if.the.command.is.a...syntax.e
0240 72 72 6f 72 20 28 4f 76 65 72 66 6c 6f 77 45 72 72 6f 72 20 61 6e 64 20 56 61 6c 75 65 45 72 72 rror.(OverflowError.and.ValueErr
0260 6f 72 20 63 61 6e 20 62 65 20 70 72 6f 64 75 63 65 64 20 62 79 0a 20 20 6d 61 6c 66 6f 72 6d 65 or.can.be.produced.by...malforme
0280 64 20 6c 69 74 65 72 61 6c 73 29 2e 0a 0a 41 70 70 72 6f 61 63 68 3a 0a 0a 46 69 72 73 74 2c 20 d.literals)...Approach:..First,.
02a0 63 68 65 63 6b 20 69 66 20 74 68 65 20 73 6f 75 72 63 65 20 63 6f 6e 73 69 73 74 73 20 65 6e 74 check.if.the.source.consists.ent
02c0 69 72 65 6c 79 20 6f 66 20 62 6c 61 6e 6b 20 6c 69 6e 65 73 20 61 6e 64 0a 63 6f 6d 6d 65 6e 74 irely.of.blank.lines.and.comment
02e0 73 3b 20 69 66 20 73 6f 2c 20 72 65 70 6c 61 63 65 20 69 74 20 77 69 74 68 20 27 70 61 73 73 27 s;.if.so,.replace.it.with.'pass'
0300 2c 20 62 65 63 61 75 73 65 20 74 68 65 20 62 75 69 6c 74 2d 69 6e 0a 70 61 72 73 65 72 20 64 6f ,.because.the.built-in.parser.do
0320 65 73 6e 27 74 20 61 6c 77 61 79 73 20 64 6f 20 74 68 65 20 72 69 67 68 74 20 74 68 69 6e 67 20 esn't.always.do.the.right.thing.
0340 66 6f 72 20 74 68 65 73 65 2e 0a 0a 43 6f 6d 70 69 6c 65 20 74 68 72 65 65 20 74 69 6d 65 73 3a for.these...Compile.three.times:
0360 20 61 73 20 69 73 2c 20 77 69 74 68 20 5c 6e 2c 20 61 6e 64 20 77 69 74 68 20 5c 6e 5c 6e 20 61 .as.is,.with.\n,.and.with.\n\n.a
0380 70 70 65 6e 64 65 64 2e 20 20 49 66 20 69 74 0a 63 6f 6d 70 69 6c 65 73 20 61 73 20 69 73 2c 20 ppended...If.it.compiles.as.is,.
03a0 69 74 27 73 20 63 6f 6d 70 6c 65 74 65 2e 20 20 49 66 20 69 74 20 63 6f 6d 70 69 6c 65 73 20 77 it's.complete...If.it.compiles.w
03c0 69 74 68 20 6f 6e 65 20 5c 6e 20 61 70 70 65 6e 64 65 64 2c 0a 77 65 20 65 78 70 65 63 74 20 6d ith.one.\n.appended,.we.expect.m
03e0 6f 72 65 2e 20 20 49 66 20 69 74 20 64 6f 65 73 6e 27 74 20 63 6f 6d 70 69 6c 65 20 65 69 74 68 ore...If.it.doesn't.compile.eith
0400 65 72 20 77 61 79 2c 20 77 65 20 63 6f 6d 70 61 72 65 20 74 68 65 0a 65 72 72 6f 72 20 77 65 20 er.way,.we.compare.the.error.we.
0420 67 65 74 20 77 68 65 6e 20 63 6f 6d 70 69 6c 69 6e 67 20 77 69 74 68 20 5c 6e 20 6f 72 20 5c 6e get.when.compiling.with.\n.or.\n
0440 5c 6e 20 61 70 70 65 6e 64 65 64 2e 20 20 49 66 20 74 68 65 20 65 72 72 6f 72 73 0a 61 72 65 20 \n.appended...If.the.errors.are.
0460 74 68 65 20 73 61 6d 65 2c 20 74 68 65 20 63 6f 64 65 20 69 73 20 62 72 6f 6b 65 6e 2e 20 20 42 the.same,.the.code.is.broken...B
0480 75 74 20 69 66 20 74 68 65 20 65 72 72 6f 72 73 20 61 72 65 20 64 69 66 66 65 72 65 6e 74 2c 20 ut.if.the.errors.are.different,.
04a0 77 65 0a 65 78 70 65 63 74 20 6d 6f 72 65 2e 20 20 4e 6f 74 20 69 6e 74 75 69 74 69 76 65 3b 20 we.expect.more...Not.intuitive;.
04c0 6e 6f 74 20 65 76 65 6e 20 67 75 61 72 61 6e 74 65 65 64 20 74 6f 20 68 6f 6c 64 20 69 6e 20 66 not.even.guaranteed.to.hold.in.f
04e0 75 74 75 72 65 0a 72 65 6c 65 61 73 65 73 3b 20 62 75 74 20 74 68 69 73 20 6d 61 74 63 68 65 73 uture.releases;.but.this.matches
0500 20 74 68 65 20 63 6f 6d 70 69 6c 65 72 27 73 20 62 65 68 61 76 69 6f 72 20 66 72 6f 6d 20 50 79 .the.compiler's.behavior.from.Py
0520 74 68 6f 6e 20 31 2e 34 0a 74 68 72 6f 75 67 68 20 32 2e 32 2c 20 61 74 20 6c 65 61 73 74 2e 0a thon.1.4.through.2.2,.at.least..
0540 0a 43 61 76 65 61 74 3a 0a 0a 49 74 20 69 73 20 70 6f 73 73 69 62 6c 65 20 28 62 75 74 20 6e 6f .Caveat:..It.is.possible.(but.no
0560 74 20 6c 69 6b 65 6c 79 29 20 74 68 61 74 20 74 68 65 20 70 61 72 73 65 72 20 73 74 6f 70 73 20 t.likely).that.the.parser.stops.
0580 70 61 72 73 69 6e 67 20 77 69 74 68 20 61 0a 73 75 63 63 65 73 73 66 75 6c 20 6f 75 74 63 6f 6d parsing.with.a.successful.outcom
05a0 65 20 62 65 66 6f 72 65 20 72 65 61 63 68 69 6e 67 20 74 68 65 20 65 6e 64 20 6f 66 20 74 68 65 e.before.reaching.the.end.of.the
05c0 20 73 6f 75 72 63 65 3b 20 69 6e 20 74 68 69 73 0a 63 61 73 65 2c 20 74 72 61 69 6c 69 6e 67 20 .source;.in.this.case,.trailing.
05e0 73 79 6d 62 6f 6c 73 20 6d 61 79 20 62 65 20 69 67 6e 6f 72 65 64 20 69 6e 73 74 65 61 64 20 6f symbols.may.be.ignored.instead.o
0600 66 20 63 61 75 73 69 6e 67 20 61 6e 20 65 72 72 6f 72 2e 0a 46 6f 72 20 65 78 61 6d 70 6c 65 2c f.causing.an.error..For.example,
0620 20 61 20 62 61 63 6b 73 6c 61 73 68 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 74 77 6f 20 6e 65 77 .a.backslash.followed.by.two.new
0640 6c 69 6e 65 73 20 6d 61 79 20 62 65 20 66 6f 6c 6c 6f 77 65 64 20 62 79 0a 61 72 62 69 74 72 61 lines.may.be.followed.by.arbitra
0660 72 79 20 67 61 72 62 61 67 65 2e 20 20 54 68 69 73 20 77 69 6c 6c 20 62 65 20 66 69 78 65 64 20 ry.garbage...This.will.be.fixed.
0680 6f 6e 63 65 20 74 68 65 20 41 50 49 20 66 6f 72 20 74 68 65 20 70 61 72 73 65 72 20 69 73 0a 62 once.the.API.for.the.parser.is.b
06a0 65 74 74 65 72 2e 0a 0a 54 68 65 20 74 77 6f 20 69 6e 74 65 72 66 61 63 65 73 20 61 72 65 3a 0a etter...The.two.interfaces.are:.
06c0 0a 63 6f 6d 70 69 6c 65 5f 63 6f 6d 6d 61 6e 64 28 73 6f 75 72 63 65 2c 20 66 69 6c 65 6e 61 6d .compile_command(source,.filenam
06e0 65 2c 20 73 79 6d 62 6f 6c 29 3a 0a 0a 20 20 20 20 43 6f 6d 70 69 6c 65 73 20 61 20 73 69 6e 67 e,.symbol):......Compiles.a.sing
0700 6c 65 20 63 6f 6d 6d 61 6e 64 20 69 6e 20 74 68 65 20 6d 61 6e 6e 65 72 20 64 65 73 63 72 69 62 le.command.in.the.manner.describ
0720 65 64 20 61 62 6f 76 65 2e 0a 0a 43 6f 6d 6d 61 6e 64 43 6f 6d 70 69 6c 65 72 28 29 3a 0a 0a 20 ed.above...CommandCompiler():...
0740 20 20 20 49 6e 73 74 61 6e 63 65 73 20 6f 66 20 74 68 69 73 20 63 6c 61 73 73 20 68 61 76 65 20 ...Instances.of.this.class.have.
0760 5f 5f 63 61 6c 6c 5f 5f 20 6d 65 74 68 6f 64 73 20 69 64 65 6e 74 69 63 61 6c 20 69 6e 0a 20 20 __call__.methods.identical.in...
0780 20 20 73 69 67 6e 61 74 75 72 65 20 74 6f 20 63 6f 6d 70 69 6c 65 5f 63 6f 6d 6d 61 6e 64 3b 20 ..signature.to.compile_command;.
07a0 74 68 65 20 64 69 66 66 65 72 65 6e 63 65 20 69 73 20 74 68 61 74 20 69 66 20 74 68 65 0a 20 20 the.difference.is.that.if.the...
07c0 20 20 69 6e 73 74 61 6e 63 65 20 63 6f 6d 70 69 6c 65 73 20 70 72 6f 67 72 61 6d 20 74 65 78 74 ..instance.compiles.program.text
07e0 20 63 6f 6e 74 61 69 6e 69 6e 67 20 61 20 5f 5f 66 75 74 75 72 65 5f 5f 20 73 74 61 74 65 6d 65 .containing.a.__future__.stateme
0800 6e 74 2c 0a 20 20 20 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 27 72 65 6d 65 6d 62 65 72 73 27 nt,.....the.instance.'remembers'
0820 20 61 6e 64 20 63 6f 6d 70 69 6c 65 73 20 61 6c 6c 20 73 75 62 73 65 71 75 65 6e 74 20 70 72 6f .and.compiles.all.subsequent.pro
0840 67 72 61 6d 20 74 65 78 74 73 0a 20 20 20 20 77 69 74 68 20 74 68 65 20 73 74 61 74 65 6d 65 6e gram.texts.....with.the.statemen
0860 74 20 69 6e 20 66 6f 72 63 65 2e 0a 0a 54 68 65 20 6d 6f 64 75 6c 65 20 61 6c 73 6f 20 70 72 6f t.in.force...The.module.also.pro
0880 76 69 64 65 73 20 61 6e 6f 74 68 65 72 20 63 6c 61 73 73 3a 0a 0a 43 6f 6d 70 69 6c 65 28 29 3a vides.another.class:..Compile():
08a0 0a 0a 20 20 20 20 49 6e 73 74 61 6e 63 65 73 20 6f 66 20 74 68 69 73 20 63 6c 61 73 73 20 61 63 ......Instances.of.this.class.ac
08c0 74 20 6c 69 6b 65 20 74 68 65 20 62 75 69 6c 74 2d 69 6e 20 66 75 6e 63 74 69 6f 6e 20 63 6f 6d t.like.the.built-in.function.com
08e0 70 69 6c 65 2c 0a 20 20 20 20 62 75 74 20 77 69 74 68 20 27 6d 65 6d 6f 72 79 27 20 69 6e 20 74 pile,.....but.with.'memory'.in.t
0900 68 65 20 73 65 6e 73 65 20 64 65 73 63 72 69 62 65 64 20 61 62 6f 76 65 2e 0a 69 ff ff ff ff 4e he.sense.described.above..i....N
0920 74 0f 00 00 00 63 6f 6d 70 69 6c 65 5f 63 6f 6d 6d 61 6e 64 74 07 00 00 00 43 6f 6d 70 69 6c 65 t....compile_commandt....Compile
0940 74 0f 00 00 00 43 6f 6d 6d 61 6e 64 43 6f 6d 70 69 6c 65 72 69 00 02 00 00 63 04 00 00 00 0b 00 t....CommandCompileri....c......
0960 00 00 05 00 00 00 43 00 00 00 73 36 01 00 00 78 52 00 7c 01 00 6a 00 00 64 01 00 83 01 00 44 5d ......C...s6...xR.|..j..d.....D]
0980 2c 00 7d 04 00 7c 04 00 6a 01 00 83 00 00 7d 04 00 7c 04 00 72 10 00 7c 04 00 64 02 00 19 64 03 ,.}..|..j.....}..|..r..|..d...d.
09a0 00 6b 03 00 72 10 00 50 71 10 00 71 10 00 57 7c 03 00 64 04 00 6b 03 00 72 55 00 64 05 00 7d 01 .k..r..Pq..q..W|..d..k..rU.d..}.
09c0 00 6e 00 00 64 00 00 04 7d 05 00 04 7d 06 00 7d 07 00 64 00 00 04 7d 08 00 04 7d 09 00 7d 0a 00 .n..d...}...}..}..d...}...}..}..
09e0 79 16 00 7c 00 00 7c 01 00 7c 02 00 7c 03 00 83 03 00 7d 08 00 57 6e 13 00 04 74 03 00 6b 0a 00 y..|..|..|..|.....}..Wn...t..k..
0a00 72 9c 00 01 7d 05 00 01 6e 01 00 58 79 1a 00 7c 00 00 7c 01 00 64 01 00 17 7c 02 00 7c 03 00 83 r...}...n..Xy..|..|..d...|..|...
0a20 03 00 7d 09 00 57 6e 13 00 04 74 03 00 6b 0a 00 72 cc 00 01 7d 06 00 01 6e 01 00 58 79 1a 00 7c ..}..Wn...t..k..r...}...n..Xy..|
0a40 00 00 7c 01 00 64 06 00 17 7c 02 00 7c 03 00 83 03 00 7d 0a 00 57 6e 13 00 04 74 03 00 6b 0a 00 ..|..d...|..|.....}..Wn...t..k..
0a60 72 fc 00 01 7d 07 00 01 6e 01 00 58 7c 08 00 72 07 01 7c 08 00 53 7c 09 00 0c 72 32 01 74 04 00 r...}...n..X|..r..|..S|...r2.t..
0a80 7c 06 00 83 01 00 74 04 00 7c 07 00 83 01 00 6b 02 00 72 32 01 74 03 00 7c 06 00 82 02 00 6e 00 |.....t..|.....k..r2.t..|.....n.
0aa0 00 64 00 00 53 28 07 00 00 00 4e 73 01 00 00 00 0a 69 00 00 00 00 74 01 00 00 00 23 74 04 00 00 .d..S(....Ns.....i....t....#t...
0ac0 00 65 76 61 6c 74 04 00 00 00 70 61 73 73 73 02 00 00 00 0a 0a 28 05 00 00 00 74 05 00 00 00 73 .evalt....passs......(....t....s
0ae0 70 6c 69 74 74 05 00 00 00 73 74 72 69 70 74 04 00 00 00 4e 6f 6e 65 74 0b 00 00 00 53 79 6e 74 plitt....stript....Nonet....Synt
0b00 61 78 45 72 72 6f 72 74 04 00 00 00 72 65 70 72 28 0b 00 00 00 74 08 00 00 00 63 6f 6d 70 69 6c axErrort....repr(....t....compil
0b20 65 72 74 06 00 00 00 73 6f 75 72 63 65 74 08 00 00 00 66 69 6c 65 6e 61 6d 65 74 06 00 00 00 73 ert....sourcet....filenamet....s
0b40 79 6d 62 6f 6c 74 04 00 00 00 6c 69 6e 65 74 03 00 00 00 65 72 72 74 04 00 00 00 65 72 72 31 74 ymbolt....linet....errt....err1t
0b60 04 00 00 00 65 72 72 32 74 04 00 00 00 63 6f 64 65 74 05 00 00 00 63 6f 64 65 31 74 05 00 00 00 ....err2t....codet....code1t....
0b80 63 6f 64 65 32 28 00 00 00 00 28 00 00 00 00 73 4e 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 code2(....(....sN.../tmp/ndk-Use
0ba0 72 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 64 61 72 r/buildhost/install/prebuilt/dar
0bc0 77 69 6e 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 6f 64 65 6f 70 2e win-x86_64/lib/python2.7/codeop.
0be0 70 79 74 0e 00 00 00 5f 6d 61 79 62 65 5f 63 6f 6d 70 69 6c 65 44 00 00 00 73 30 00 00 00 00 02 pyt...._maybe_compileD...s0.....
0c00 16 01 0c 01 16 01 08 02 0c 01 09 02 0e 01 0e 02 03 01 16 01 0f 01 04 02 03 01 1a 01 0f 01 04 02 ................................
0c20 03 01 1a 01 0f 01 04 02 06 01 04 01 1f 01 63 03 00 00 00 03 00 00 00 05 00 00 00 43 00 00 00 73 ..............c............C...s
0c40 13 00 00 00 74 00 00 7c 00 00 7c 01 00 7c 02 00 74 01 00 83 04 00 53 28 01 00 00 00 4e 28 02 00 ....t..|..|..|..t.....S(....N(..
0c60 00 00 74 07 00 00 00 63 6f 6d 70 69 6c 65 74 16 00 00 00 50 79 43 46 5f 44 4f 4e 54 5f 49 4d 50 ..t....compilet....PyCF_DONT_IMP
0c80 4c 59 5f 44 45 44 45 4e 54 28 03 00 00 00 52 0c 00 00 00 52 0d 00 00 00 52 0e 00 00 00 28 00 00 LY_DEDENT(....R....R....R....(..
0ca0 00 00 28 00 00 00 00 73 4e 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 72 2f 62 75 69 6c 64 68 ..(....sN.../tmp/ndk-User/buildh
0cc0 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 64 61 72 77 69 6e 2d 78 38 36 5f ost/install/prebuilt/darwin-x86_
0ce0 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 6f 64 65 6f 70 2e 70 79 74 08 00 00 00 5f 64/lib/python2.7/codeop.pyt...._
0d00 63 6f 6d 70 69 6c 65 65 00 00 00 73 02 00 00 00 00 01 73 07 00 00 00 3c 69 6e 70 75 74 3e 74 06 compilee...s......s....<input>t.
0d20 00 00 00 73 69 6e 67 6c 65 63 03 00 00 00 03 00 00 00 05 00 00 00 43 00 00 00 73 13 00 00 00 74 ...singlec............C...s....t
0d40 00 00 74 01 00 7c 00 00 7c 01 00 7c 02 00 83 04 00 53 28 01 00 00 00 73 73 02 00 00 43 6f 6d 70 ..t..|..|..|.....S(....ss...Comp
0d60 69 6c 65 20 61 20 63 6f 6d 6d 61 6e 64 20 61 6e 64 20 64 65 74 65 72 6d 69 6e 65 20 77 68 65 74 ile.a.command.and.determine.whet
0d80 68 65 72 20 69 74 20 69 73 20 69 6e 63 6f 6d 70 6c 65 74 65 2e 0a 0a 20 20 20 20 41 72 67 75 6d her.it.is.incomplete.......Argum
0da0 65 6e 74 73 3a 0a 0a 20 20 20 20 73 6f 75 72 63 65 20 2d 2d 20 74 68 65 20 73 6f 75 72 63 65 20 ents:......source.--.the.source.
0dc0 73 74 72 69 6e 67 3b 20 6d 61 79 20 63 6f 6e 74 61 69 6e 20 5c 6e 20 63 68 61 72 61 63 74 65 72 string;.may.contain.\n.character
0de0 73 0a 20 20 20 20 66 69 6c 65 6e 61 6d 65 20 2d 2d 20 6f 70 74 69 6f 6e 61 6c 20 66 69 6c 65 6e s.....filename.--.optional.filen
0e00 61 6d 65 20 66 72 6f 6d 20 77 68 69 63 68 20 73 6f 75 72 63 65 20 77 61 73 20 72 65 61 64 3b 20 ame.from.which.source.was.read;.
0e20 64 65 66 61 75 6c 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 3c 69 6e 70 75 74 3e default................."<input>
0e40 22 0a 20 20 20 20 73 79 6d 62 6f 6c 20 2d 2d 20 6f 70 74 69 6f 6e 61 6c 20 67 72 61 6d 6d 61 72 ".....symbol.--.optional.grammar
0e60 20 73 74 61 72 74 20 73 79 6d 62 6f 6c 3b 20 22 73 69 6e 67 6c 65 22 20 28 64 65 66 61 75 6c 74 .start.symbol;."single".(default
0e80 29 20 6f 72 20 22 65 76 61 6c 22 0a 0a 20 20 20 20 52 65 74 75 72 6e 20 76 61 6c 75 65 20 2f 20 ).or."eval"......Return.value./.
0ea0 65 78 63 65 70 74 69 6f 6e 73 20 72 61 69 73 65 64 3a 0a 0a 20 20 20 20 2d 20 52 65 74 75 72 6e exceptions.raised:......-.Return
0ec0 20 61 20 63 6f 64 65 20 6f 62 6a 65 63 74 20 69 66 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 69 73 .a.code.object.if.the.command.is
0ee0 20 63 6f 6d 70 6c 65 74 65 20 61 6e 64 20 76 61 6c 69 64 0a 20 20 20 20 2d 20 52 65 74 75 72 6e .complete.and.valid.....-.Return
0f00 20 4e 6f 6e 65 20 69 66 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 69 73 20 69 6e 63 6f 6d 70 6c 65 .None.if.the.command.is.incomple
0f20 74 65 0a 20 20 20 20 2d 20 52 61 69 73 65 20 53 79 6e 74 61 78 45 72 72 6f 72 2c 20 56 61 6c 75 te.....-.Raise.SyntaxError,.Valu
0f40 65 45 72 72 6f 72 20 6f 72 20 4f 76 65 72 66 6c 6f 77 45 72 72 6f 72 20 69 66 20 74 68 65 20 63 eError.or.OverflowError.if.the.c
0f60 6f 6d 6d 61 6e 64 20 69 73 20 61 0a 20 20 20 20 20 20 73 79 6e 74 61 78 20 65 72 72 6f 72 20 28 ommand.is.a.......syntax.error.(
0f80 4f 76 65 72 66 6c 6f 77 45 72 72 6f 72 20 61 6e 64 20 56 61 6c 75 65 45 72 72 6f 72 20 63 61 6e OverflowError.and.ValueError.can
0fa0 20 62 65 20 70 72 6f 64 75 63 65 64 20 62 79 0a 20 20 20 20 20 20 6d 61 6c 66 6f 72 6d 65 64 20 .be.produced.by.......malformed.
0fc0 6c 69 74 65 72 61 6c 73 29 2e 0a 20 20 20 20 28 02 00 00 00 52 16 00 00 00 52 19 00 00 00 28 03 literals)......(....R....R....(.
0fe0 00 00 00 52 0c 00 00 00 52 0d 00 00 00 52 0e 00 00 00 28 00 00 00 00 28 00 00 00 00 73 4e 00 00 ...R....R....R....(....(....sN..
1000 00 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 72 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c ./tmp/ndk-User/buildhost/install
1020 2f 70 72 65 62 75 69 6c 74 2f 64 61 72 77 69 6e 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 /prebuilt/darwin-x86_64/lib/pyth
1040 6f 6e 32 2e 37 2f 63 6f 64 65 6f 70 2e 70 79 52 00 00 00 00 68 00 00 00 73 02 00 00 00 00 12 63 on2.7/codeop.pyR....h...s......c
1060 00 00 00 00 00 00 00 00 01 00 00 00 42 00 00 00 73 20 00 00 00 65 00 00 5a 01 00 64 00 00 5a 02 ............B...s....e..Z..d..Z.
1080 00 64 01 00 84 00 00 5a 03 00 64 02 00 84 00 00 5a 04 00 52 53 28 03 00 00 00 73 eb 00 00 00 49 .d.....Z..d.....Z..RS(....s....I
10a0 6e 73 74 61 6e 63 65 73 20 6f 66 20 74 68 69 73 20 63 6c 61 73 73 20 62 65 68 61 76 65 20 6d 75 nstances.of.this.class.behave.mu
10c0 63 68 20 6c 69 6b 65 20 74 68 65 20 62 75 69 6c 74 2d 69 6e 20 63 6f 6d 70 69 6c 65 0a 20 20 20 ch.like.the.built-in.compile....
10e0 20 66 75 6e 63 74 69 6f 6e 2c 20 62 75 74 20 69 66 20 6f 6e 65 20 69 73 20 75 73 65 64 20 74 6f .function,.but.if.one.is.used.to
1100 20 63 6f 6d 70 69 6c 65 20 74 65 78 74 20 63 6f 6e 74 61 69 6e 69 6e 67 20 61 20 66 75 74 75 72 .compile.text.containing.a.futur
1120 65 0a 20 20 20 20 73 74 61 74 65 6d 65 6e 74 2c 20 69 74 20 22 72 65 6d 65 6d 62 65 72 73 22 20 e.....statement,.it."remembers".
1140 61 6e 64 20 63 6f 6d 70 69 6c 65 73 20 61 6c 6c 20 73 75 62 73 65 71 75 65 6e 74 20 70 72 6f 67 and.compiles.all.subsequent.prog
1160 72 61 6d 20 74 65 78 74 73 0a 20 20 20 20 77 69 74 68 20 74 68 65 20 73 74 61 74 65 6d 65 6e 74 ram.texts.....with.the.statement
1180 20 69 6e 20 66 6f 72 63 65 2e 63 01 00 00 00 01 00 00 00 02 00 00 00 43 00 00 00 73 0d 00 00 00 .in.force.c............C...s....
11a0 74 00 00 7c 00 00 5f 01 00 64 00 00 53 28 01 00 00 00 4e 28 02 00 00 00 52 18 00 00 00 74 05 00 t..|.._..d..S(....N(....R....t..
11c0 00 00 66 6c 61 67 73 28 01 00 00 00 74 04 00 00 00 73 65 6c 66 28 00 00 00 00 28 00 00 00 00 73 ..flags(....t....self(....(....s
11e0 4e 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 72 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 N.../tmp/ndk-User/buildhost/inst
1200 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 64 61 72 77 69 6e 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 all/prebuilt/darwin-x86_64/lib/p
1220 79 74 68 6f 6e 32 2e 37 2f 63 6f 64 65 6f 70 2e 70 79 74 08 00 00 00 5f 5f 69 6e 69 74 5f 5f 81 ython2.7/codeop.pyt....__init__.
1240 00 00 00 73 02 00 00 00 00 01 63 04 00 00 00 06 00 00 00 06 00 00 00 43 00 00 00 73 55 00 00 00 ...s......c............C...sU...
1260 74 00 00 7c 01 00 7c 02 00 7c 03 00 7c 00 00 6a 01 00 64 01 00 83 05 00 7d 04 00 78 33 00 74 02 t..|..|..|..|..j..d.....}..x3.t.
1280 00 44 5d 2b 00 7d 05 00 7c 04 00 6a 03 00 7c 05 00 6a 04 00 40 72 22 00 7c 00 00 04 6a 01 00 7c .D]+.}..|..j..|..j..@r".|...j..|
12a0 05 00 6a 04 00 4f 02 5f 01 00 71 22 00 71 22 00 57 7c 04 00 53 28 02 00 00 00 4e 69 01 00 00 00 ..j..O._..q".q".W|..S(....Ni....
12c0 28 05 00 00 00 52 17 00 00 00 52 1b 00 00 00 74 09 00 00 00 5f 66 65 61 74 75 72 65 73 74 08 00 (....R....R....t...._featurest..
12e0 00 00 63 6f 5f 66 6c 61 67 73 74 0d 00 00 00 63 6f 6d 70 69 6c 65 72 5f 66 6c 61 67 28 06 00 00 ..co_flagst....compiler_flag(...
1300 00 52 1c 00 00 00 52 0c 00 00 00 52 0d 00 00 00 52 0e 00 00 00 74 06 00 00 00 63 6f 64 65 6f 62 .R....R....R....R....t....codeob
1320 74 07 00 00 00 66 65 61 74 75 72 65 28 00 00 00 00 28 00 00 00 00 73 4e 00 00 00 2f 74 6d 70 2f t....feature(....(....sN.../tmp/
1340 6e 64 6b 2d 55 73 65 72 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 ndk-User/buildhost/install/prebu
1360 69 6c 74 2f 64 61 72 77 69 6e 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f ilt/darwin-x86_64/lib/python2.7/
1380 63 6f 64 65 6f 70 2e 70 79 74 08 00 00 00 5f 5f 63 61 6c 6c 5f 5f 84 00 00 00 73 0a 00 00 00 00 codeop.pyt....__call__....s.....
13a0 01 1b 01 0d 01 10 01 19 01 28 05 00 00 00 74 08 00 00 00 5f 5f 6e 61 6d 65 5f 5f 74 0a 00 00 00 .........(....t....__name__t....
13c0 5f 5f 6d 6f 64 75 6c 65 5f 5f 74 07 00 00 00 5f 5f 64 6f 63 5f 5f 52 1d 00 00 00 52 23 00 00 00 __module__t....__doc__R....R#...
13e0 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 4e 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 (....(....(....sN.../tmp/ndk-Use
1400 72 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 64 61 72 r/buildhost/install/prebuilt/dar
1420 77 69 6e 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 6f 64 65 6f 70 2e win-x86_64/lib/python2.7/codeop.
1440 70 79 52 01 00 00 00 7c 00 00 00 73 06 00 00 00 06 04 06 01 09 03 63 00 00 00 00 00 00 00 00 03 pyR....|...s..........c.........
1460 00 00 00 42 00 00 00 73 26 00 00 00 65 00 00 5a 01 00 64 00 00 5a 02 00 64 01 00 84 00 00 5a 03 ...B...s&...e..Z..d..Z..d.....Z.
1480 00 64 02 00 64 03 00 64 04 00 84 02 00 5a 04 00 52 53 28 05 00 00 00 73 28 01 00 00 49 6e 73 74 .d..d..d.....Z..RS(....s(...Inst
14a0 61 6e 63 65 73 20 6f 66 20 74 68 69 73 20 63 6c 61 73 73 20 68 61 76 65 20 5f 5f 63 61 6c 6c 5f ances.of.this.class.have.__call_
14c0 5f 20 6d 65 74 68 6f 64 73 20 69 64 65 6e 74 69 63 61 6c 20 69 6e 0a 20 20 20 20 73 69 67 6e 61 _.methods.identical.in.....signa
14e0 74 75 72 65 20 74 6f 20 63 6f 6d 70 69 6c 65 5f 63 6f 6d 6d 61 6e 64 3b 20 74 68 65 20 64 69 66 ture.to.compile_command;.the.dif
1500 66 65 72 65 6e 63 65 20 69 73 20 74 68 61 74 20 69 66 20 74 68 65 0a 20 20 20 20 69 6e 73 74 61 ference.is.that.if.the.....insta
1520 6e 63 65 20 63 6f 6d 70 69 6c 65 73 20 70 72 6f 67 72 61 6d 20 74 65 78 74 20 63 6f 6e 74 61 69 nce.compiles.program.text.contai
1540 6e 69 6e 67 20 61 20 5f 5f 66 75 74 75 72 65 5f 5f 20 73 74 61 74 65 6d 65 6e 74 2c 0a 20 20 20 ning.a.__future__.statement,....
1560 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 27 72 65 6d 65 6d 62 65 72 73 27 20 61 6e 64 20 63 6f .the.instance.'remembers'.and.co
1580 6d 70 69 6c 65 73 20 61 6c 6c 20 73 75 62 73 65 71 75 65 6e 74 20 70 72 6f 67 72 61 6d 20 74 65 mpiles.all.subsequent.program.te
15a0 78 74 73 0a 20 20 20 20 77 69 74 68 20 74 68 65 20 73 74 61 74 65 6d 65 6e 74 20 69 6e 20 66 6f xts.....with.the.statement.in.fo
15c0 72 63 65 2e 63 01 00 00 00 01 00 00 00 02 00 00 00 43 00 00 00 73 10 00 00 00 74 00 00 83 00 00 rce.c............C...s....t.....
15e0 7c 00 00 5f 01 00 64 00 00 53 28 01 00 00 00 4e 28 02 00 00 00 52 01 00 00 00 52 0b 00 00 00 28 |.._..d..S(....N(....R....R....(
1600 01 00 00 00 52 1c 00 00 00 28 00 00 00 00 28 00 00 00 00 73 4e 00 00 00 2f 74 6d 70 2f 6e 64 6b ....R....(....(....sN.../tmp/ndk
1620 2d 55 73 65 72 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 -User/buildhost/install/prebuilt
1640 2f 64 61 72 77 69 6e 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 6f 64 /darwin-x86_64/lib/python2.7/cod
1660 65 6f 70 2e 70 79 52 1d 00 00 00 92 00 00 00 73 02 00 00 00 00 01 73 07 00 00 00 3c 69 6e 70 75 eop.pyR........s......s....<inpu
1680 74 3e 52 1a 00 00 00 63 04 00 00 00 04 00 00 00 05 00 00 00 43 00 00 00 73 16 00 00 00 74 00 00 t>R....c............C...s....t..
16a0 7c 00 00 6a 01 00 7c 01 00 7c 02 00 7c 03 00 83 04 00 53 28 01 00 00 00 73 b5 02 00 00 43 6f 6d |..j..|..|..|.....S(....s....Com
16c0 70 69 6c 65 20 61 20 63 6f 6d 6d 61 6e 64 20 61 6e 64 20 64 65 74 65 72 6d 69 6e 65 20 77 68 65 pile.a.command.and.determine.whe
16e0 74 68 65 72 20 69 74 20 69 73 20 69 6e 63 6f 6d 70 6c 65 74 65 2e 0a 0a 20 20 20 20 20 20 20 20 ther.it.is.incomplete...........
1700 41 72 67 75 6d 65 6e 74 73 3a 0a 0a 20 20 20 20 20 20 20 20 73 6f 75 72 63 65 20 2d 2d 20 74 68 Arguments:..........source.--.th
1720 65 20 73 6f 75 72 63 65 20 73 74 72 69 6e 67 3b 20 6d 61 79 20 63 6f 6e 74 61 69 6e 20 5c 6e 20 e.source.string;.may.contain.\n.
1740 63 68 61 72 61 63 74 65 72 73 0a 20 20 20 20 20 20 20 20 66 69 6c 65 6e 61 6d 65 20 2d 2d 20 6f characters.........filename.--.o
1760 70 74 69 6f 6e 61 6c 20 66 69 6c 65 6e 61 6d 65 20 66 72 6f 6d 20 77 68 69 63 68 20 73 6f 75 72 ptional.filename.from.which.sour
1780 63 65 20 77 61 73 20 72 65 61 64 3b 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ce.was.read;....................
17a0 20 64 65 66 61 75 6c 74 20 22 3c 69 6e 70 75 74 3e 22 0a 20 20 20 20 20 20 20 20 73 79 6d 62 6f .default."<input>".........symbo
17c0 6c 20 2d 2d 20 6f 70 74 69 6f 6e 61 6c 20 67 72 61 6d 6d 61 72 20 73 74 61 72 74 20 73 79 6d 62 l.--.optional.grammar.start.symb
17e0 6f 6c 3b 20 22 73 69 6e 67 6c 65 22 20 28 64 65 66 61 75 6c 74 29 20 6f 72 0a 20 20 20 20 20 20 ol;."single".(default).or.......
1800 20 20 20 20 20 20 20 20 20 20 20 20 22 65 76 61 6c 22 0a 0a 20 20 20 20 20 20 20 20 52 65 74 75 ............"eval"..........Retu
1820 72 6e 20 76 61 6c 75 65 20 2f 20 65 78 63 65 70 74 69 6f 6e 73 20 72 61 69 73 65 64 3a 0a 0a 20 rn.value./.exceptions.raised:...
1840 20 20 20 20 20 20 20 2d 20 52 65 74 75 72 6e 20 61 20 63 6f 64 65 20 6f 62 6a 65 63 74 20 69 66 .......-.Return.a.code.object.if
1860 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 69 73 20 63 6f 6d 70 6c 65 74 65 20 61 6e 64 20 76 61 6c .the.command.is.complete.and.val
1880 69 64 0a 20 20 20 20 20 20 20 20 2d 20 52 65 74 75 72 6e 20 4e 6f 6e 65 20 69 66 20 74 68 65 20 id.........-.Return.None.if.the.
18a0 63 6f 6d 6d 61 6e 64 20 69 73 20 69 6e 63 6f 6d 70 6c 65 74 65 0a 20 20 20 20 20 20 20 20 2d 20 command.is.incomplete.........-.
18c0 52 61 69 73 65 20 53 79 6e 74 61 78 45 72 72 6f 72 2c 20 56 61 6c 75 65 45 72 72 6f 72 20 6f 72 Raise.SyntaxError,.ValueError.or
18e0 20 4f 76 65 72 66 6c 6f 77 45 72 72 6f 72 20 69 66 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 69 73 .OverflowError.if.the.command.is
1900 20 61 0a 20 20 20 20 20 20 20 20 20 20 73 79 6e 74 61 78 20 65 72 72 6f 72 20 28 4f 76 65 72 66 .a...........syntax.error.(Overf
1920 6c 6f 77 45 72 72 6f 72 20 61 6e 64 20 56 61 6c 75 65 45 72 72 6f 72 20 63 61 6e 20 62 65 20 70 lowError.and.ValueError.can.be.p
1940 72 6f 64 75 63 65 64 20 62 79 0a 20 20 20 20 20 20 20 20 20 20 6d 61 6c 66 6f 72 6d 65 64 20 6c roduced.by...........malformed.l
1960 69 74 65 72 61 6c 73 29 2e 0a 20 20 20 20 20 20 20 20 28 02 00 00 00 52 16 00 00 00 52 0b 00 00 iterals)..........(....R....R...
1980 00 28 04 00 00 00 52 1c 00 00 00 52 0c 00 00 00 52 0d 00 00 00 52 0e 00 00 00 28 00 00 00 00 28 .(....R....R....R....R....(....(
19a0 00 00 00 00 73 4e 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 72 2f 62 75 69 6c 64 68 6f 73 74 ....sN.../tmp/ndk-User/buildhost
19c0 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 64 61 72 77 69 6e 2d 78 38 36 5f 36 34 2f /install/prebuilt/darwin-x86_64/
19e0 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 6f 64 65 6f 70 2e 70 79 52 23 00 00 00 95 00 00 00 lib/python2.7/codeop.pyR#.......
1a00 73 02 00 00 00 00 13 28 05 00 00 00 52 24 00 00 00 52 25 00 00 00 52 26 00 00 00 52 1d 00 00 00 s......(....R$...R%...R&...R....
1a20 52 23 00 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 4e 00 00 00 2f 74 6d 70 2f 6e 64 R#...(....(....(....sN.../tmp/nd
1a40 6b 2d 55 73 65 72 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c k-User/buildhost/install/prebuil
1a60 74 2f 64 61 72 77 69 6e 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 6f t/darwin-x86_64/lib/python2.7/co
1a80 64 65 6f 70 2e 70 79 52 02 00 00 00 8b 00 00 00 73 06 00 00 00 06 05 06 02 09 03 28 00 00 00 00 deop.pyR........s..........(....
1aa0 28 00 00 00 00 28 0d 00 00 00 52 26 00 00 00 74 0a 00 00 00 5f 5f 66 75 74 75 72 65 5f 5f 74 11 (....(....R&...t....__future__t.
1ac0 00 00 00 61 6c 6c 5f 66 65 61 74 75 72 65 5f 6e 61 6d 65 73 74 05 00 00 00 66 6e 61 6d 65 74 07 ...all_feature_namest....fnamet.
1ae0 00 00 00 67 65 74 61 74 74 72 52 1e 00 00 00 74 07 00 00 00 5f 5f 61 6c 6c 5f 5f 52 18 00 00 00 ...getattrR....t....__all__R....
1b00 52 16 00 00 00 52 19 00 00 00 52 00 00 00 00 52 01 00 00 00 52 02 00 00 00 28 00 00 00 00 28 00 R....R....R....R....R....(....(.
1b20 00 00 00 28 00 00 00 00 73 4e 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 72 2f 62 75 69 6c 64 ...(....sN.../tmp/ndk-User/build
1b40 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 64 61 72 77 69 6e 2d 78 38 36 host/install/prebuilt/darwin-x86
1b60 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 63 6f 64 65 6f 70 2e 70 79 74 08 00 00 00 _64/lib/python2.7/codeop.pyt....
1b80 3c 6d 6f 64 75 6c 65 3e 39 00 00 00 73 14 00 00 00 06 02 0c 02 03 01 22 02 0f 02 06 02 09 21 09 <module>9...s.........."......!.
1ba0 03 0f 14 13 0f .....