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 pablogsal
Recipients Mark.Shannon, brandtbucher, nedbat, pablogsal, serhiy.storchaka, terry.reedy
Date 2021-05-01.00:59:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619830763.54.0.923141860282.issue43950@roundup.psfhosted.org>
In-reply-to
Content
> So would marking the 0 denominator when there is more than one candidate: "e = a/b + c/d".

No, it will mark the offset of the bytecode that was getting executed when the exception was raised. Is just a way to mark what is raising the particular exception

> What would you do when the expression is not the last line?

There is some logic needed to re-raise exceptions. But basically it boils down to comparate the line numbers to decide if you want to propagate or not the offsets.
History
Date User Action Args
2021-05-01 00:59:23pablogsalsetrecipients: + pablogsal, terry.reedy, nedbat, Mark.Shannon, serhiy.storchaka, brandtbucher
2021-05-01 00:59:23pablogsalsetmessageid: <1619830763.54.0.923141860282.issue43950@roundup.psfhosted.org>
2021-05-01 00:59:23pablogsallinkissue43950 messages
2021-05-01 00:59:23pablogsalcreate