Message220693
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. |
|
Date |
User |
Action |
Args |
2014-06-16 03:04:51 | gvanrossum | set | recipients:
+ gvanrossum, tim.peters, georg.brandl, rhettinger, ncoghlan, giampaolo.rodola, ezio.melotti, steven.daprano, dmoore |
2014-06-16 03:04:51 | gvanrossum | set | messageid: <1402887891.86.0.606799778426.issue19495@psf.upfronthosting.co.za> |
2014-06-16 03:04:51 | gvanrossum | link | issue19495 messages |
2014-06-16 03:04:51 | gvanrossum | create | |
|