New submission from Mark Shannon <m...@hotpy.org>:
The following code, when traced, produces a spurious line events at the end of the inner loop. def dloop(): for i in range(3): for j in range(3): a = i + j assert a == 4 Bug reported by Ned Batchelder https://gist.github.com/nedbat/6c5dedde9df8d2de13de8a6a39a5f112 ---------- assignee: Mark.Shannon messages: 382968 nosy: Mark.Shannon, nedbat priority: normal severity: normal stage: needs patch status: open title: Incorrect line number in bytecode for nested loops type: behavior versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42635> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com