[New-bugs-announce] [issue37433] syntax error in f-string in multiline string produces ~40k spaces of output
Anthony Sottile
report at bugs.python.org
Thu Jun 27 14:22:41 EDT 2019
New submission from Anthony Sottile <asottile at umich.edu>:
For instance this file:
foo = f"""{}
foo"""
$ python3.8 --version --version
Python 3.8.0b1 (default, Jun 6 2019, 03:44:52)
[GCC 7.4.0]
$ python3.8 t.py | wc -c
File "t.py", line 1
<<snipped, but very very many spaces>>
^
SyntaxError: f-string: empty expression not allowed
$ python3.8 t.py |& wc -c
49134
----------
components: Interpreter Core
messages: 346767
nosy: Anthony Sottile
priority: normal
severity: normal
status: open
title: syntax error in f-string in multiline string produces ~40k spaces of output
versions: Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37433>
_______________________________________
More information about the New-bugs-announce
mailing list