Lysandros Nikolaou <lisandros...@gmail.com> added the comment: This has been fixed in 3.9.0a6 due to the new parser:
╰─ cat a.py s = ("apricot " "pineapple" f"shallot{") ╰─ ./python.exe a.py File "/Users/lysnikolaou/Repositories/cpython/a.py", line 3 f"shallot{") ^ SyntaxError: f-string: expecting '}' ---------- nosy: +lys.nikolaou _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40449> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com