Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

> 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43950>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to