commit | 5644c7b3ffd49bed58dc095be6e6148e0bb4431e | [log] [tgz] |
---|---|---|
author | Ammar Askar <ammar@ammaraskar.com> | Sun Jul 04 19:14:33 2021 -0400 |
committer | GitHub <noreply@github.com> | Mon Jul 05 00:14:33 2021 +0100 |
tree | c53063e2f78685d1f284f6e333e05f44e49ea5ca | |
parent | 693cec0e2dcafa393ed5cdaa606f8dc8e3876adf [diff] |
bpo-43950: Print columns in tracebacks (PEP 657) (GH-26958) The traceback.c and traceback.py mechanisms now utilize the newly added code.co_positions and PyCode_Addr2Location to print carets on the specific expressions involved in a traceback. Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Ammar Askar <ammar@ammaraskar.com> Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>