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
peg_api.c
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