Message238879
| Author |
ncoghlan |
| Recipients |
amaury.forgeotdarc, asvetlov, eric.araujo, ncoghlan, pitrou, rbcollins, rhettinger, scott_daniels, tshepang, vstinner |
| Date |
2015年03月22日.06:54:18 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1427007258.61.0.723180607006.issue6422@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The current patch moves print operations inside timeit() and repeat(), instead of leaving the main() function as the only one with side effects.
My counter-proposal was to instead extract the current main functionality out into a side-effect free public API of its own, and change the existing main function to call that new API and print the results. |
|