[issue33152] Use list comprehension in timeit module instead of loop with append

Serhiy Storchaka report at bugs.python.org
Tue Mar 27 11:10:39 EDT 2018


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

We usually do not do such kind of changes due to the risk of introducing new bugs (as your PR demonstrated). Only when other changes are applied to the module, the surrounded code can be cleaned up. Or the maintainer of the module can do this if he decided that it is a time for modernization.

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

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


More information about the Python-bugs-list mailing list