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 Anthony Sottile, Mark.Shannon, gvanrossum, nedbat, pablogsal, petr.viktorin
Date 2021-04-29.12:20:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619698810.04.0.696873897131.issue43933@roundup.psfhosted.org>
In-reply-to
Content
I'm going to set the line number for executing the `__exit__()` function as that of the `with` keyword.

This should give a sensible traceback, and not break coverage, as the with statement is already executed.
It will impact traces and profiles, which is why the __exit__ call was not given a line number before.

Anthony, Ned,
please let me know if you disagree.
History
Date User Action Args
2021-04-29 12:20:10Mark.Shannonsetrecipients: + Mark.Shannon, gvanrossum, nedbat, petr.viktorin, Anthony Sottile, pablogsal
2021-04-29 12:20:10Mark.Shannonsetmessageid: <1619698810.04.0.696873897131.issue43933@roundup.psfhosted.org>
2021-04-29 12:20:10Mark.Shannonlinkissue43933 messages
2021-04-29 12:20:09Mark.Shannoncreate