[issue43950] Include column offsets for bytecode instructions

Pablo Galindo Salgado report at bugs.python.org
Fri Apr 30 19:26:53 EDT 2021


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

Basically, to highlight in all exceptions the range in the displayed line where the error ocurred. For instance:


>>> foo(a, b/z+2, c, 132432 /x, d /y)
                     ^^^^^^^^^
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: division by zero

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43950>
_______________________________________


More information about the Python-bugs-list mailing list