Ned Batchelder <[email protected]> added the comment:
I think I am finding more examples of the same problem, so I will just add it
here:
x = "hello"
try:
3/0
except ZeroDivisionError:
if x == 'raise':
raise ValueError() # line 6
f = 7
This shows a trace for line 6, which is never excecuted:
call <string> 1 @-1
line <string> 1 @0
line <string> 2 @4
line <string> 3 @6
exception <string> 3 @10
line <string> 4 @24
line <string> 5 @36
line <string> 6 @50
line <string> 7 @52
return <string> 7 @58
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42803>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com