This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mark.Shannon
Recipients Mark.Shannon, nedbat
Date 2020-12-14.07:24:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607930696.05.0.974303425196.issue42634@roundup.psfhosted.org>
In-reply-to
Content
The following code, when traced, produces a spurious line event for line 5:

a, b, c = 1, 1, 1
try:
    a = 3
except:
    b = 5
finally:
    c = 7
assert a == 3 and b == 1 and c == 7

Bug reported by Ned Batchelder https://gist.github.com/nedbat/6c5dedde9df8d2de13de8a6a39a5f112
History
Date User Action Args
2020-12-14 07:24:56Mark.Shannonsetrecipients: + Mark.Shannon, nedbat
2020-12-14 07:24:56Mark.Shannonsetmessageid: <1607930696.05.0.974303425196.issue42634@roundup.psfhosted.org>
2020-12-14 07:24:56Mark.Shannonlinkissue42634 messages
2020-12-14 07:24:55Mark.Shannoncreate