[New-bugs-announce] [issue32575] IDLE cannot locate certain SyntaxErrors raised by f-string expressions
report at bugs.python.org
Tue Jan 16 17:16:02 EST 2018
New submission from Dan Snider <mr.assume.away at gmail.com>:
For example the following f-string
IDLE will scroll to the top of the file and highlight a random and irrelevant line (not sure what it's doing tbh).
running the expression with `exec` makes it look like implicit parenthesis are added to the ends of files..
Traceback (most recent call last):
File "<pyshell#2860>", line 1, in <module>
File "<fstring>", line 1
SyntaxError: unexpected EOF while parsing
IDLE can correctly find a `(1))` in a file but appears to fail only in f-string expressions.
nosy: bup, terry.reedy
title: IDLE cannot locate certain SyntaxErrors raised by f-string expressions
versions: Python 3.6, Python 3.7
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce