[issue44124] Unhelpful error messages with mis-ordering of f-string specifiers

2021-05-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I could try to give it a go to this still with the current parser, I think we could have some improvements without a lot of refactoring. Moving the whole f string to the grammar still don't ensure making this work easier unfortunately because is not

[issue44124] Unhelpful error messages with mis-ordering of f-string specifiers

2021-05-13 Thread Eric V. Smith
Eric V. Smith added the comment: As you note, some of these likely cannot be improved. There was talk last year about moving f-string's bespoke lexer/parser/compiler into the normal Python grammar. But I'm not sure if that ever got anywhere. If we did make that change, it would be easier to

[issue44124] Unhelpful error messages with mis-ordering of f-string specifiers

2021-05-13 Thread Angus L'Herrou
Change by Angus L'Herrou : -- title: Unhelpful SyntaxError message with mis-ordering of f-string specifiers -> Unhelpful error messages with mis-ordering of f-string specifiers ___ Python tracker