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 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.
History
Date User Action Args
2015-03-22 06:54:18ncoghlansetrecipients: + ncoghlan, rhettinger, scott_daniels, amaury.forgeotdarc, pitrou, vstinner, rbcollins, eric.araujo, asvetlov, tshepang
2015-03-22 06:54:18ncoghlansetmessageid: <1427007258.61.0.723180607006.issue6422@psf.upfronthosting.co.za>
2015-03-22 06:54:18ncoghlanlinkissue6422 messages
2015-03-22 06:54:18ncoghlancreate