Message325463
Added a PR that is an implementation of Benjamin's suggestion. The column offset returned has been made 0-indexed and errors now point to the start of the parsed token.
This makes errors like `def class` show up as
def class
^
instead of
def class
^
Also added tests for the original example and some more errors from ast.c |
|
Date |
User |
Action |
Args |
2018-09-15 23:37:00 | ammar2 | set | recipients:
+ ammar2, gvanrossum, eric.smith, benjamin.peterson, emilyemorehouse |
2018-09-15 23:37:00 | ammar2 | set | messageid: <1537054620.29.0.956365154283.issue34683@psf.upfronthosting.co.za> |
2018-09-15 23:37:00 | ammar2 | link | issue34683 messages |
2018-09-15 23:37:00 | ammar2 | create | |
|