[Python-ideas] add a time decorator to timeit.py

Steven D'Aprano steve at pearwood.info
Sun Oct 7 08:34:10 EDT 2018

On Sun, Oct 07, 2018 at 11:43:40AM +0000, Amjad Ben Hedhili wrote:
> this is my implementation:

I didn't ask about the current implementation, as that might change. I 
asked about the interface: what it does, not how it does it.

For the purposes of Python-Ideas, we want to discuss the feature, not 
the details of how it works, why it is better than other existing 
solutions, and whether or not it belongs in the std lib. You're selling 
the *idea*, not the *implementation* (although of course you can use the 
implementation to demonstrate the idea).

Unfortunately, not every good idea can or will make it into the std lib. 
Even if the idea is good, we might decide that it belongs as a third- 
party library, or that the benefit is not enough to make up for the cost 
in effort or complexity. Or the idea is simply too controversial.


More information about the Python-ideas mailing list