[issue37065] File and lineno is not reported for syntax error in f-string

2019-05-27 Thread SilentGhost
Change by SilentGhost : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> problem with traceback for syntax error in f-string ___ Python tracker

[issue37065] File and lineno is not reported for syntax error in f-string

2019-05-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Related open issue : issue34364. Also issue29051 which was closed as duplicate of issue34364. -- nosy: +xtreak ___ Python tracker

[issue37065] File and lineno is not reported for syntax error in f-string

2019-05-27 Thread Eric V. Smith
Eric V. Smith added the comment: I'm pretty sure there's already an issue for this, but I don't have time to search for it now. This is not an easy problem to solve. I've been working on it on and off for almost a year. I'll eventually get to it, but the changes are pretty invasive.

[issue37065] File and lineno is not reported for syntax error in f-string

2019-05-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37065] File and lineno is not reported for syntax error in f-string

2019-05-27 Thread Denis S. Otkidach
New submission from Denis S. Otkidach : Minimal example to reproduce: -->8-- >>> with open('f_bug.py', 'w') as fp: ... fp.write('f"{a b}"') ... 8 >>> import f_bug Traceback (most recent call last): File "", line 1, in File "", line 1 (a b) ^ SyntaxError: invalid syntax