cpython/Parser/pegen
Lysandros Nikolaou f7b1e46156
bpo-38964: Print correct filename on a SyntaxError in an fstring (GH-20399)
When a `SyntaxError` in the expression part of a fstring is found,
the filename attribute of the `SyntaxError` is always `<fstring>`.
With this commit, it gets changed to always have the name of the file
the fstring resides in.

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2020-05-26 01:32:18 +01:00
..
parse.c bpo-40750: Do not expand the new parser debug flags if Py_BUILD_CORE is not defined (GH-20393) 2020-05-25 20:17:12 +01:00
parse_string.c bpo-38964: Print correct filename on a SyntaxError in an fstring (GH-20399) 2020-05-26 01:32:18 +01:00
parse_string.h bpo-40334: Fix error location upon parsing an invalid string literal (GH-19962) 2020-05-07 11:37:51 +01:00
peg_api.c bpo-40334: Make the PyPegen* and PyParser* APIs more consistent (GH-19839) 2020-05-01 18:30:51 +01:00
pegen.c bpo-40750: Support -d flag in the new parser (GH-20340) 2020-05-25 18:38:45 +01:00
pegen.h bpo-40750: Support -d flag in the new parser (GH-20340) 2020-05-25 18:38:45 +01:00