@@ -348,7 +348,7 @@ def foo(x):
348
348
2 BUILD_TUPLE 1
349
349
4 LOAD_CONST 1 (<code object foo at 0x..., file "%s", line %d>)
350
350
6 LOAD_CONST 2 ('_h.<locals>.foo')
351
- 8 MAKE_FUNCTION 8
351
+ 8 MAKE_FUNCTION 8 (closure)
352
352
10 STORE_FAST 1 (foo)
353
353
354
354
%3d 12 LOAD_FAST 1 (foo)
@@ -365,7 +365,7 @@ def foo(x):
365
365
2 BUILD_TUPLE 1
366
366
4 LOAD_CONST 1 (<code object <listcomp> at 0x..., file "%s", line %d>)
367
367
6 LOAD_CONST 2 ('_h.<locals>.foo.<locals>.<listcomp>')
368
- 8 MAKE_FUNCTION 8
368
+ 8 MAKE_FUNCTION 8 (closure)
369
369
10 LOAD_DEREF 1 (y)
370
370
12 GET_ITER
371
371
14 CALL_FUNCTION 1
@@ -862,7 +862,7 @@ def jumpy():
862
862
Instruction (opname = 'BUILD_TUPLE' , opcode = 102 , arg = 2 , argval = 2 , argrepr = '' , offset = 6 , starts_line = None , is_jump_target = False ),
863
863
Instruction (opname = 'LOAD_CONST' , opcode = 100 , arg = 3 , argval = code_object_f , argrepr = repr (code_object_f ), offset = 8 , starts_line = None , is_jump_target = False ),
864
864
Instruction (opname = 'LOAD_CONST' , opcode = 100 , arg = 4 , argval = 'outer.<locals>.f' , argrepr = "'outer.<locals>.f'" , offset = 10 , starts_line = None , is_jump_target = False ),
865
- Instruction (opname = 'MAKE_FUNCTION' , opcode = 132 , arg = 9 , argval = 9 , argrepr = '' , offset = 12 , starts_line = None , is_jump_target = False ),
865
+ Instruction (opname = 'MAKE_FUNCTION' , opcode = 132 , arg = 9 , argval = 9 , argrepr = 'defaults, closure ' , offset = 12 , starts_line = None , is_jump_target = False ),
866
866
Instruction (opname = 'STORE_FAST' , opcode = 125 , arg = 2 , argval = 'f' , argrepr = 'f' , offset = 14 , starts_line = None , is_jump_target = False ),
867
867
Instruction (opname = 'LOAD_GLOBAL' , opcode = 116 , arg = 0 , argval = 'print' , argrepr = 'print' , offset = 16 , starts_line = 7 , is_jump_target = False ),
868
868
Instruction (opname = 'LOAD_DEREF' , opcode = 136 , arg = 0 , argval = 'a' , argrepr = 'a' , offset = 18 , starts_line = None , is_jump_target = False ),
@@ -887,7 +887,7 @@ def jumpy():
887
887
Instruction (opname = 'BUILD_TUPLE' , opcode = 102 , arg = 4 , argval = 4 , argrepr = '' , offset = 10 , starts_line = None , is_jump_target = False ),
888
888
Instruction (opname = 'LOAD_CONST' , opcode = 100 , arg = 3 , argval = code_object_inner , argrepr = repr (code_object_inner ), offset = 12 , starts_line = None , is_jump_target = False ),
889
889
Instruction (opname = 'LOAD_CONST' , opcode = 100 , arg = 4 , argval = 'outer.<locals>.f.<locals>.inner' , argrepr = "'outer.<locals>.f.<locals>.inner'" , offset = 14 , starts_line = None , is_jump_target = False ),
890
- Instruction (opname = 'MAKE_FUNCTION' , opcode = 132 , arg = 9 , argval = 9 , argrepr = '' , offset = 16 , starts_line = None , is_jump_target = False ),
890
+ Instruction (opname = 'MAKE_FUNCTION' , opcode = 132 , arg = 9 , argval = 9 , argrepr = 'defaults, closure ' , offset = 16 , starts_line = None , is_jump_target = False ),
891
891
Instruction (opname = 'STORE_FAST' , opcode = 125 , arg = 2 , argval = 'inner' , argrepr = 'inner' , offset = 18 , starts_line = None , is_jump_target = False ),
892
892
Instruction (opname = 'LOAD_GLOBAL' , opcode = 116 , arg = 0 , argval = 'print' , argrepr = 'print' , offset = 20 , starts_line = 5 , is_jump_target = False ),
893
893
Instruction (opname = 'LOAD_DEREF' , opcode = 136 , arg = 2 , argval = 'a' , argrepr = 'a' , offset = 22 , starts_line = None , is_jump_target = False ),
0 commit comments