@@ -642,7 +642,8 @@ def _tryfinallyconst(b):
642
642
CALL 0
643
643
POP_TOP
644
644
RERAISE 0
645
- >> COPY 3
645
+
646
+ None >> COPY 3
646
647
POP_EXCEPT
647
648
RERAISE 1
648
649
ExceptionTable:
@@ -674,7 +675,8 @@ def _tryfinallyconst(b):
674
675
CALL 0
675
676
POP_TOP
676
677
RERAISE 0
677
- >> COPY 3
678
+
679
+ None >> COPY 3
678
680
POP_EXCEPT
679
681
RERAISE 1
680
682
ExceptionTable:
@@ -1822,9 +1824,9 @@ def _prepare_test_cases():
1822
1824
Instruction (opname = 'CALL' , opcode = 53 , arg = 1 , argval = 1 , argrepr = '' , offset = 414 , start_offset = 414 , starts_line = False , line_number = 28 , is_jump_target = False , positions = None ),
1823
1825
Instruction (opname = 'POP_TOP' , opcode = 32 , arg = None , argval = None , argrepr = '' , offset = 422 , start_offset = 422 , starts_line = False , line_number = 28 , is_jump_target = False , positions = None ),
1824
1826
Instruction (opname = 'RERAISE' , opcode = 102 , arg = 0 , argval = 0 , argrepr = '' , offset = 424 , start_offset = 424 , starts_line = False , line_number = 28 , is_jump_target = False , positions = None ),
1825
- Instruction (opname = 'COPY' , opcode = 60 , arg = 3 , argval = 3 , argrepr = '' , offset = 426 , start_offset = 426 , starts_line = False , line_number = 28 , is_jump_target = False , positions = None ),
1826
- Instruction (opname = 'POP_EXCEPT' , opcode = 31 , arg = None , argval = None , argrepr = '' , offset = 428 , start_offset = 428 , starts_line = False , line_number = 28 , is_jump_target = False , positions = None ),
1827
- Instruction (opname = 'RERAISE' , opcode = 102 , arg = 1 , argval = 1 , argrepr = '' , offset = 430 , start_offset = 430 , starts_line = False , line_number = 28 , is_jump_target = False , positions = None ),
1827
+ Instruction (opname = 'COPY' , opcode = 60 , arg = 3 , argval = 3 , argrepr = '' , offset = 426 , start_offset = 426 , starts_line = True , line_number = None , is_jump_target = False , positions = None ),
1828
+ Instruction (opname = 'POP_EXCEPT' , opcode = 31 , arg = None , argval = None , argrepr = '' , offset = 428 , start_offset = 428 , starts_line = False , line_number = None , is_jump_target = False , positions = None ),
1829
+ Instruction (opname = 'RERAISE' , opcode = 102 , arg = 1 , argval = 1 , argrepr = '' , offset = 430 , start_offset = 430 , starts_line = False , line_number = None , is_jump_target = False , positions = None ),
1828
1830
]
1829
1831
1830
1832
# One last piece of inspect fodder to check the default line number handling
0 commit comments