[issue36039] Replace append loops with list comprehensions

2019-02-25 Thread Lukas Geiger
Lukas Geiger added the comment: Thank you very much for your thorough explanation, totally makes sense. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36039] Replace append loops with list comprehensions

2019-02-19 Thread Lukas Geiger
New submission from Lukas Geiger : Lib uses loops to append to a new list in quite a few places. I think it would be better to replace those with list comprehensions. Benefits of this change: - List comprehensions are generally more readable than appending to a newly created list - List