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 belopolsky
Recipients belopolsky, kristjan.jonsson, michael.foord
Date 2010-11-01.17:12:05
SpamBayes Score 4.5649296e-05
Marked as misclassified No
Message-id <1288631527.45.0.336530086946.issue10278@psf.upfronthosting.co.za>
In-reply-to
Content
Why does this need to be in stdlib?

AFAICT, the proposed patch is just:

if <appropriate test>:
   wallclock = time.clock
else:
   wallclock = time.time

which is easy enough to stick in your measuring code or a project's utilities module.

If others really want to see this in stdlib, I would prefer to place it in a more specialized module such as profile.
History
Date User Action Args
2010-11-01 17:12:07belopolskysetrecipients: + belopolsky, kristjan.jonsson, michael.foord
2010-11-01 17:12:07belopolskysetmessageid: <1288631527.45.0.336530086946.issue10278@psf.upfronthosting.co.za>
2010-11-01 17:12:05belopolskylinkissue10278 messages
2010-11-01 17:12:05belopolskycreate