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, serhiy.storchaka
Date 2021-01-13.16:20:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610554806.04.0.382211886357.issue34705@roundup.psfhosted.org>
In-reply-to
Content
In master, the sequence of events is:

1 call
2 line
3 line
returning
4 line
6 line
finally
6 return

which is the same as 3.7.
I now believe this is the correct trace, as the language spec states:

When a return, break or continue statement is executed in the try suite of a try…finally statement, the finally clause is also executed ‘on the way out.’

So line 6 should be last line traced.
History
Date User Action Args
2021-01-13 16:20:06Mark.Shannonsetrecipients: + Mark.Shannon, nedbat, serhiy.storchaka
2021-01-13 16:20:06Mark.Shannonsetmessageid: <1610554806.04.0.382211886357.issue34705@roundup.psfhosted.org>
2021-01-13 16:20:06Mark.Shannonlinkissue34705 messages
2021-01-13 16:20:05Mark.Shannoncreate