PEP 657

E919523

PEP 657 is a Python enhancement proposal that improves error reporting by adding fine-grained location information (such as per-expression line and column data) to tracebacks.

All labels observed (2)

How this entity was disambiguated

Statements (44)

Predicate Object
instanceOf Python Enhancement Proposal ⓘ
adds end column information to code objects ⓘ
end line information to code objects ⓘ
per-expression column information ⓘ
per-expression line information ⓘ
affects Python interpreter ⓘ
aimsTo help identify the exact expression that caused an error ⓘ
improve debugging experience ⓘ
make tracebacks more precise ⓘ
author Batuhan Taskaya ⓘ
Matthias Bussonnier ⓘ
Pablo Galindo ⓘ
benefits interactive environments such as REPLs ⓘ
library authors ⓘ
tooling authors ⓘ
category Standards Track ⓘ
discusses backwards compatibility ⓘ
changes to the CPython compiler ⓘ
performance impact ⓘ
enables better error messages in notebooks ⓘ
more accurate highlighting of error locations in IDEs ⓘ
focusesOn error reporting ⓘ
tracebacks ⓘ
hasTitle Include Fine-Grained Error Locations in Tracebacks ⓘ
implementedIn CPython ⓘ
introducedInVersion Python 3.11 ⓘ
introduces end positions for expressions ⓘ
fine-grained error locations ⓘ
per-expression location information ⓘ
language Python ⓘ
modifies Python code object metadata ⓘ
traceback formatting ⓘ
partOf Python error handling improvements ⓘ
pepUrl https://peps.python.org/pep-0657/ ⓘ
proposalNumber 657 ⓘ
relatedTo Python compiler internals ⓘ
Python debugging tools ⓘ
Python tracebacks ⓘ
repository https://github.com/python/peps ⓘ
requires changes to bytecode generation ⓘ
shortName Include Fine-Grained Error Locations in Tracebacks ⓘ
status Accepted ⓘ
targets developers using Python ⓘ
type Standards Track PEP ⓘ

How these facts were elicited

Referenced by (3)

Full triples — surface form annotated when it differs from this entity's canonical label.

Python 3.10 → implementsPEP → PEP 657 ⓘ
Python 3.11 → pepImplemented → PEP 657 ⓘ
Python 3.11 → pepImplemented → PEP 657: Fine-grained error locations in tracebacks ⓘ
linked to: PEP 657