[issue37068] Emit SyntaxWarning for f-strings without expressions ?

Serhiy Storchaka report at bugs.python.org
Mon May 27 15:24:09 EDT 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I do not think that all uses of f-strings without expression are errors. Therefore it would be better to left this on linters. Linters are optional and usually are flexible in configuring what warnings and in what part of the code should be emitted.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37068>
_______________________________________


More information about the Python-bugs-list mailing list