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.
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
NERFINISHED
ⓘ
Matthias Bussonnier NERFINISHED ⓘ Pablo Galindo NERFINISHED ⓘ |
| 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 NERFINISHED ⓘ |
| implementedIn | CPython NERFINISHED ⓘ |
| introducedInVersion | Python 3.11 NERFINISHED ⓘ |
| introduces |
end positions for expressions
ⓘ
fine-grained error locations ⓘ per-expression location information ⓘ |
| language | Python NERFINISHED ⓘ |
| modifies |
Python code object metadata
ⓘ
traceback formatting ⓘ |
| partOf | Python error handling improvements NERFINISHED ⓘ |
| pepUrl | https://peps.python.org/pep-0657/ ⓘ |
| proposalNumber | 657 ⓘ |
| relatedTo |
Python compiler internals
NERFINISHED
ⓘ
Python debugging tools ⓘ Python tracebacks ⓘ |
| repository | https://github.com/python/peps ⓘ |
| requires | changes to bytecode generation ⓘ |
| shortName | Include Fine-Grained Error Locations in Tracebacks NERFINISHED ⓘ |
| status | Accepted ⓘ |
| targets | developers using Python ⓘ |
| type | Standards Track PEP NERFINISHED ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.