summaryrefslogtreecommitdiff
path: root/tests/examplefiles/pytb/error_locations.pytb
Commit message (Collapse)AuthorAgeFilesLines
* Update for new Python traceback locations (#2004)Jean-Abou-Samra2021-12-291-1/+1
| | | | Since https://github.com/python/cpython/pull/27037, they can include tildes in addition to the carets.
* Support error locations in Python tracebacks (#1852)Jean-Abou-Samra2021-07-061-0/+17
Support both single carets for syntax errors (Python 2 and 3) and fine-grained error locations with several carets (Python 3.11+). Previously, the carets were highlighted as operators. This uses a new token, Token.Punctuation.Marker. For now, no style supports it specifically. In the future, styles might start differentiating it from Token.Punctuation. [Closes #1850.]