2016-12-21 19:26:06 -05:00
|
|
|
----------------
|
2017-02-14 19:55:31 -05:00
|
|
|
[ 4] rule(1) (n=8)
|
2016-12-21 19:26:06 -05:00
|
|
|
tok(5)
|
2017-02-14 19:55:31 -05:00
|
|
|
[ 4] rule(22) (n=4)
|
2016-12-21 19:26:06 -05:00
|
|
|
id(i)
|
2017-02-14 19:55:31 -05:00
|
|
|
[ 4] rule(46) (n=1)
|
2016-12-21 19:26:06 -05:00
|
|
|
NULL
|
2017-02-14 19:55:31 -05:00
|
|
|
[ 5] rule(8) (n=0)
|
2016-12-21 19:26:06 -05:00
|
|
|
NULL
|
2017-02-14 19:55:31 -05:00
|
|
|
[ 6] rule(5) (n=2)
|
2016-12-21 19:26:06 -05:00
|
|
|
id(a)
|
|
|
|
tok(15)
|
2017-02-14 19:55:31 -05:00
|
|
|
[ 7] rule(5) (n=2)
|
2016-12-21 19:26:06 -05:00
|
|
|
id(b)
|
|
|
|
str(str)
|
2017-02-14 19:55:31 -05:00
|
|
|
[ 8] rule(5) (n=2)
|
2016-12-21 19:26:06 -05:00
|
|
|
id(c)
|
|
|
|
[ 8] literal str(a very long str that will not be interned)
|
2017-02-14 19:55:31 -05:00
|
|
|
[ 9] rule(5) (n=2)
|
2016-12-21 19:26:06 -05:00
|
|
|
id(d)
|
|
|
|
bytes(bytes)
|
2017-02-14 19:55:31 -05:00
|
|
|
[ 10] rule(5) (n=2)
|
2016-12-21 19:26:06 -05:00
|
|
|
id(e)
|
|
|
|
[ 10] literal bytes(a very long bytes that will not be interned)
|
2017-02-14 19:55:31 -05:00
|
|
|
[ 11] rule(5) (n=2)
|
2016-12-21 19:26:06 -05:00
|
|
|
id(f)
|
|
|
|
[ 11] literal \.\+
|
|
|
|
----------------
|
|
|
|
File cmdline/cmd_parsetree.py, code block '<module>' (descriptor: \.\+, bytecode @\.\+ bytes)
|
|
|
|
Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
|
|
|
|
########
|
|
|
|
\.\+5b
|
|
|
|
arg names:
|
2017-01-18 00:53:15 -05:00
|
|
|
(N_STATE 5)
|
2016-12-21 19:26:06 -05:00
|
|
|
(N_EXC_STACK 0)
|
|
|
|
bc=-1 line=1
|
|
|
|
bc=0 line=4
|
|
|
|
bc=9 line=5
|
|
|
|
bc=12 line=6
|
|
|
|
bc=16 line=7
|
|
|
|
bc=22 line=8
|
|
|
|
bc=27 line=9
|
|
|
|
bc=32 line=10
|
|
|
|
bc=37 line=11
|
|
|
|
00 BUILD_TUPLE 0
|
2017-01-18 00:53:15 -05:00
|
|
|
02 GET_ITER_STACK
|
2016-12-21 19:26:06 -05:00
|
|
|
03 FOR_ITER 12
|
|
|
|
06 STORE_NAME i
|
|
|
|
09 JUMP 3
|
|
|
|
12 LOAD_CONST_NONE
|
|
|
|
13 STORE_NAME a
|
|
|
|
16 LOAD_CONST_STRING 'str'
|
|
|
|
19 STORE_NAME b
|
|
|
|
22 LOAD_CONST_OBJ \.\+
|
|
|
|
24 STORE_NAME c
|
|
|
|
27 LOAD_CONST_OBJ \.\+
|
|
|
|
29 STORE_NAME d
|
|
|
|
32 LOAD_CONST_OBJ \.\+
|
|
|
|
34 STORE_NAME e
|
|
|
|
37 LOAD_CONST_OBJ \.\+
|
|
|
|
39 STORE_NAME f
|
|
|
|
42 LOAD_CONST_NONE
|
|
|
|
43 RETURN_VALUE
|
|
|
|
mem: total=\\d\+, current=\\d\+, peak=\\d\+
|
|
|
|
stack: \\d\+ out of \\d\+
|
|
|
|
GC: total: \\d\+, used: \\d\+, free: \\d\+
|
|
|
|
No. of 1-blocks: \\d\+, 2-blocks: \\d\+, max blk sz: \\d\+, max free sz: \\d\+
|