Guido van Rossum added the comment:

FWIW, I definitely don't think this belongs in the timeit module, unless you 
are going to treat that module as a "namespace" package, which I don't like 
much (though in Java I think it's a pretty common pattern). If we have to have 
it, contextlib sounds fine (it's a grab-bag already). The sub-idea of a context 
manager to disable gc (or perhaps manipulate other state of the gc module) 
sounds fine even if you follow my recommendation not to add the timer context 
manager to the stdlib.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19495>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to