Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

> Additionally, the idea of moving f-strings into the Python grammar would also 
> fix this problem. That might be a better way forward, although it has a 
> number of downsides, too.

For considerin this path we would need to wait to see first the future of the 
new experiment with the PEG parser to avoid potentially throwing away all the 
work in the parser and the tokenizer. Also, this approach will likely entail 
much more changes than reworking the error reporting code.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38964>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to