PEP 657 – Include Fine Grained Error Locations in Tracebacks | peps.python.org

This PEP proposes adding a mapping from each bytecode instruction to the start and end column offsets of the line that generated them as well as the end line number. This data will be used to improve tracebacks displayed by the CPython interpreter in or...