New submission from Mark Shannon <m...@hotpy.org>:
The following examples produce incorrect line numbers, due to cleanup code not being marked as artificial def f(): try: if False: pass except: X def g(a): with a: if False: pass ---------- assignee: Mark.Shannon messages: 384920 nosy: Mark.Shannon priority: high severity: normal status: open title: Incorrect line numbers at end of try-except and with statements containing if False: pass _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42908> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com