[issue30953] Fatal python error when jumping into except clause

Serhiy Storchaka report at bugs.python.org
Thu Mar 22 12:45:58 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

This is fixed in 3.8.

Traceback (most recent call last):
  File "issue30953.py", line 15, in <module>
    error()
  File "issue30953.py", line 14, in error
    pass
  File "issue30953.py", line 14, in error
    pass
  File "issue30953.py", line 4, in trace
    frame.f_lineno = 12
ValueError: can't jump into or out of a 'finally' block

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30953>
_______________________________________


More information about the Python-bugs-list mailing list