[issue42699] Use `.join(k for k in g)` instead of `.join([k for k in g])`

Eric V. Smith report at bugs.python.org
Mon Dec 21 08:22:09 EST 2020


Eric V. Smith <eric at trueblade.com> added the comment:

See https://github.com/ikamensh/flynt#dangers-of-conversion for reasons.

Would I like to see all string literal formatting done with f-strings? Yes!

Would I accept the risk and hassle of doing it blindly? No.

----------

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


More information about the Python-bugs-list mailing list