This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients dmoore, ezio.melotti, georg.brandl, giampaolo.rodola, gvanrossum, ncoghlan, rhettinger, steven.daprano, tim.peters
Date 2014-06-16.03:04:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402887891.86.0.606799778426.issue19495@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-06-16 03:04:51gvanrossumsetrecipients: + gvanrossum, tim.peters, georg.brandl, rhettinger, ncoghlan, giampaolo.rodola, ezio.melotti, steven.daprano, dmoore
2014-06-16 03:04:51gvanrossumsetmessageid: <1402887891.86.0.606799778426.issue19495@psf.upfronthosting.co.za>
2014-06-16 03:04:51gvanrossumlinkissue19495 messages
2014-06-16 03:04:51gvanrossumcreate