[issue47213] Incorrect location of caret in SyntaxError

2022-04-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: No, the location is correct, the string for 'a' is actually closed after the a. This makes a list with the following elements: 'a ,' b', ' c', ' As "b" is a valid prefix for string (bytes) it doesn't fail there, but 'c' isn't so you get the synta

[issue47213] Incorrect location of caret in SyntaxError

2022-04-04 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +pablogsal title: arrow at wrong place -> Incorrect location of caret in SyntaxError type: enhancement -> behavior ___ Python tracker ___