Terry J. Reedy <tjre...@udel.edu> added the comment:
On Windows 10 with current 3.8 I see correct output, so the bug seems OS specific, even though the simple fix (see PR) is not. C:\Users\Terry>py f:/python/a/tem4.py File "f:/python/a/tem4.py", line 1 f'''{} ^ SyntaxError: f-string: empty expression not allowed ---------- nosy: +terry.reedy title: syntax error in f-string in multiline string produces ~40k spaces of output -> syntax error in multiline f-string produces ~40k spaces output _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37433> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com