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

Samuel Marks report at bugs.python.org
Mon Dec 21 16:11:48 EST 2020


Samuel Marks <samuelmarks at gmail.com> added the comment:

There were only 12k occurrences, I'm sure I could manually go through that
in an afternoon. Would you accept it then?

On Tue, 22 Dec 2020, 12:22 am Eric V. Smith, <report at bugs.python.org> wrote:

>
> 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>
> _______________________________________
>

----------
nosy: +SamuelMarks

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


More information about the Python-bugs-list mailing list