2016-12-22 00:26:06 +00:00
|
|
|
----------------
|
2021-08-12 16:44:08 +01:00
|
|
|
[ 4] \(rule\|file_input_2\)(1) (n=10)
|
|
|
|
tok(6)
|
2020-09-30 14:35:55 +01:00
|
|
|
[ 4] \(rule\|for_stmt\)(22) (n=4)
|
2016-12-22 00:26:06 +00:00
|
|
|
id(i)
|
2020-09-30 14:35:55 +01:00
|
|
|
[ 4] \(rule\|atom_paren\)(45) (n=1)
|
2016-12-22 00:26:06 +00:00
|
|
|
NULL
|
2020-09-30 14:35:55 +01:00
|
|
|
[ 5] \(rule\|pass_stmt\)(8) (n=0)
|
2016-12-22 00:26:06 +00:00
|
|
|
NULL
|
2020-09-30 14:35:55 +01:00
|
|
|
[ 6] \(rule\|expr_stmt\)(5) (n=2)
|
2016-12-22 00:26:06 +00:00
|
|
|
id(a)
|
2021-08-12 16:44:08 +01:00
|
|
|
tok(16)
|
2020-09-30 14:35:55 +01:00
|
|
|
[ 7] \(rule\|expr_stmt\)(5) (n=2)
|
2016-12-22 00:26:06 +00:00
|
|
|
id(b)
|
|
|
|
str(str)
|
2020-09-30 14:35:55 +01:00
|
|
|
[ 8] \(rule\|expr_stmt\)(5) (n=2)
|
2016-12-22 00:26:06 +00:00
|
|
|
id(c)
|
2017-02-24 02:43:43 +00:00
|
|
|
[ 8] literal \.\+
|
2020-09-30 14:35:55 +01:00
|
|
|
[ 9] \(rule\|expr_stmt\)(5) (n=2)
|
2016-12-22 00:26:06 +00:00
|
|
|
id(d)
|
|
|
|
bytes(bytes)
|
2020-09-30 14:35:55 +01:00
|
|
|
[ 10] \(rule\|expr_stmt\)(5) (n=2)
|
2016-12-22 00:26:06 +00:00
|
|
|
id(e)
|
2017-02-24 02:43:43 +00:00
|
|
|
[ 10] literal \.\+
|
2020-09-30 14:35:55 +01:00
|
|
|
[ 11] \(rule\|expr_stmt\)(5) (n=2)
|
2016-12-22 00:26:06 +00:00
|
|
|
id(f)
|
|
|
|
[ 11] literal \.\+
|
2020-09-30 14:35:55 +01:00
|
|
|
[ 12] \(rule\|expr_stmt\)(5) (n=2)
|
2017-12-19 05:13:00 +00:00
|
|
|
id(g)
|
|
|
|
int(123)
|
2021-08-12 16:44:08 +01:00
|
|
|
[ 13] \(rule\|expr_stmt\)(5) (n=2)
|
|
|
|
id(h)
|
|
|
|
[ 13] \(rule\|atom_expr_normal\)(44) (n=2)
|
|
|
|
[ 13] literal const(\.\+)
|
|
|
|
[ 13] \(rule\|atom_expr_trailers\)(142) (n=2)
|
|
|
|
[ 13] \(rule\|trailer_period\)(50) (n=1)
|
|
|
|
id(format)
|
|
|
|
[ 13] \(rule\|trailer_paren\)(48) (n=1)
|
|
|
|
[ 13] \(rule\|arglist\)(164) (n=1)
|
|
|
|
id(b)
|
2016-12-22 00:26:06 +00:00
|
|
|
----------------
|
|
|
|
File cmdline/cmd_parsetree.py, code block '<module>' (descriptor: \.\+, bytecode @\.\+ bytes)
|
|
|
|
Raw bytecode (code_info_size=\\d\+, bytecode_size=\\d\+):
|
|
|
|
########
|
2019-09-02 12:35:17 +01:00
|
|
|
\.\+63
|
2016-12-22 00:26:06 +00:00
|
|
|
arg names:
|
2017-01-18 05:53:15 +00:00
|
|
|
(N_STATE 5)
|
2016-12-22 00:26:06 +00:00
|
|
|
(N_EXC_STACK 0)
|
2019-09-25 06:45:47 +01:00
|
|
|
bc=0 line=1
|
2016-12-22 00:26:06 +00:00
|
|
|
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
|
2017-12-19 05:13:00 +00:00
|
|
|
bc=42 line=12
|
2021-08-12 16:44:08 +01:00
|
|
|
bc=48 line=13
|
2016-12-22 00:26:06 +00:00
|
|
|
00 BUILD_TUPLE 0
|
2017-01-18 05:53:15 +00:00
|
|
|
02 GET_ITER_STACK
|
2016-12-22 00:26:06 +00: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
|
2017-12-19 05:13:00 +00:00
|
|
|
42 LOAD_CONST_SMALL_INT 123
|
|
|
|
45 STORE_NAME g
|
2021-08-12 16:44:08 +01:00
|
|
|
48 LOAD_CONST_OBJ \.\+
|
|
|
|
50 LOAD_METHOD format
|
|
|
|
53 LOAD_NAME b (cache=0)
|
|
|
|
57 CALL_METHOD n=1 nkw=0
|
|
|
|
59 STORE_NAME h
|
|
|
|
62 LOAD_CONST_NONE
|
|
|
|
63 RETURN_VALUE
|
2016-12-22 00:26:06 +00:00
|
|
|
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\+
|