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

Steven D'Aprano report at bugs.python.org
Mon Dec 21 16:20:33 EST 2020


Steven D'Aprano <steve+python at pearwood.info> added the comment:

On Mon, Dec 21, 2020 at 09:11:48PM +0000, Samuel Marks wrote:

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

Assuming "an afternoon" is half a work day, so 4 hours, that's 1.2 
seconds per occurrence. So no, not even if you were a trusted core 
developer.

----------

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


More information about the Python-bugs-list mailing list