[issue46344] 3.11: except/else/if/raise traced incorrectly

2022-01-13 Thread Irit Katriel
Irit Katriel added the comment: Thank you Ned. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue46344] 3.11: except/else/if/raise traced incorrectly

2022-01-13 Thread Irit Katriel
Irit Katriel added the comment: New changeset 9c2ebb906d1c68c3d571b100c92ceb08805b94cd by Irit Katriel in branch 'main': bpo-46344: Fix trace bug in else of try and try-star blocks (GH-30544) https://github.com/python/cpython/commit/9c2ebb906d1c68c3d571b100c92ceb08805b94cd -- _

[issue46344] 3.11: except/else/if/raise traced incorrectly

2022-01-11 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +28742 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30544 ___ Python tracker ___ ___

[issue46344] 3.11: except/else/if/raise traced incorrectly

2022-01-11 Thread Irit Katriel
Irit Katriel added the comment: Thanks, I have a fix and will make a PR once I've written the test. -- ___ Python tracker ___ ___ P

[issue46344] 3.11: except/else/if/raise traced incorrectly

2022-01-11 Thread Mark Shannon
Change by Mark Shannon : -- nosy: +iritkatriel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue46344] 3.11: except/else/if/raise traced incorrectly

2022-01-11 Thread Ned Batchelder
New submission from Ned Batchelder : This code shows a raise inside an except/else/if that isn't run, but incorrectly appears in the trace output (see the * line): $ cat arcs_1160.py def func(x): try: b = 6 except ZeroDivisionError: pass else: if x == "