[New-bugs-announce] [issue14309] Deprecate time.clock()
STINNER Victor
report at bugs.python.org
Thu Mar 15 01:52:02 CET 2012
New submission from STINNER Victor <victor.stinner at gmail.com>:
Python 3.3 has 3 functions to get time:
- time.clock()
- time.steady()
- time.time()
Antoine Pitrou suggested to deprecated time.clock() in msg120149 (issue #10278).
"The problem is time.clock(), since it does two wildly different things
depending on the OS. I would suggest to deprecate time.clock() at the same time as we add time.wallclock(). For the Unix-specific definition of time.clock(), there is already os.times() (which gives even richer information)."
(time.wallclock was the old name of time.steady)
----------
components: Library (Lib)
messages: 155831
nosy: haypo, pitrou
priority: normal
severity: normal
status: open
title: Deprecate time.clock()
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14309>
_______________________________________
More information about the New-bugs-announce
mailing list