New submission from gKuhn :
Attempting to parse the following python code results in a fairly unhelpful
syntax error along with an incorrect line number being reported:
#a dodgy f-string
def dodgy(**kwargs):
print(f"{**kwargs}")
The result:
File "",
gKuhn added the comment:
Ah, that makes sense, thank you for the info.
The line number is probably the most important piece of information here
anyway.
It sounds like the syntax error string is already planned and as such this is
probably a duplicate.
Please close if this is the case