April 6, 2020
12:10 a.m.
On 6/04/20 4:48 am, Guido van Rossum wrote:
There's no need to worry about this: in almost all cases the error indicator points to the same spot in the source code as with the old parser.
I'm curious about how that works. From the description in the PEP, it seems that none of the individual parsing functions can report an error, because there might be another branch higher up that succeeds. Does it keep track of the maximum distance it got through the source or something like that? -- Greg