[issue30953] Fatal python error when jumping into except clause

2020-09-27 Thread ppperry
Change by ppperry : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue30953] Fatal python error when jumping into except clause

2020-09-25 Thread Irit Katriel
Irit Katriel added the comment: This seems resolved. -- nosy: +iritkatriel ___ Python tracker ___ ___ Python-bugs-list mailing

[issue30953] Fatal python error when jumping into except clause

2018-03-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 397466dfd905b5132f1c831cd9dff3ecc40b3218 by Serhiy Storchaka in branch 'master': bpo-30953: Improve error messages and add tests for jumping (GH-6196)

[issue30953] Fatal python error when jumping into except clause

2018-03-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___

[issue30953] Fatal python error when jumping into except clause

2018-03-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +5943 stage: -> patch review ___ Python tracker ___

[issue30953] Fatal python error when jumping into except clause

2018-03-22 Thread ppperry
ppperry added the comment: ... with a bad error message, because there are no finally blocks in the code -- ___ Python tracker ___

[issue30953] Fatal python error when jumping into except clause

2018-03-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is fixed in 3.8. Traceback (most recent call last): File "issue30953.py", line 15, in error() File "issue30953.py", line 14, in error pass File "issue30953.py", line 14, in error pass File

[issue30953] Fatal python error when jumping into except clause

2017-07-21 Thread Xavier de Gaye
Xavier de Gaye added the comment: issue 17288 is related. -- nosy: +xdegaye ___ Python tracker ___ ___

[issue30953] Fatal python error when jumping into except clause

2017-07-17 Thread Louie Lu
Louie Lu added the comment: You will need to use `dis` to see what actually done by bytecode. $ ./python -m dis tests.py Disassembly of : 9 0 SETUP_EXCEPT 4 (to 6) 10 2 POP_BLOCK 4 JUMP_FORWARD12 (to 18) 11 >>6 POP_TOP

[issue30953] Fatal python error when jumping into except clause

2017-07-17 Thread ppperry
New submission from ppperry: trying to execute the following code: import sys def trace(frame, event, arg): if event == "line" and frame.f_lineno > 12: frame.f_lineno = 12 return None return trace sys.settrace(trace) def error(): try: pass except: