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

2018-03-30 Thread Éric Araujo

Change by Éric Araujo :


--
components: +Library (Lib) -Distutils
resolution:  -> not a bug
stage: patch review -> resolved
status: open -> closed
type: behavior -> 

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2018-03-27 Thread Serhiy Storchaka

Serhiy Storchaka  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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2018-03-27 Thread Pablo Galindo Salgado

Change by Pablo Galindo Salgado :


--
title: clean code -> Use list comprehension in timeit module instead of loop 
with append

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com