[issue14309] Deprecate time.clock()
Marc-Andre Lemburg
report at bugs.python.org
Fri Mar 16 19:05:31 CET 2012
Marc-Andre Lemburg <mal at egenix.com> added the comment:
STINNER Victor wrote:
>
> STINNER Victor <victor.stinner at gmail.com> added the comment:
>
>> time.clock() has been in use for ages in many many scripts.
>> We don't want to carelessly break all those.
>
> I don't want to remove the function, just mark it as deprecated to
> avoid confusion. It will only be removed from the next major Python.
Why ? There's no other single function providing the same functionality,
so it's not even a candidate for deprecation.
Similar functionality is available via several different functions,
but that's true for a lot functions in th stdlib.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14309>
_______________________________________
More information about the Python-bugs-list
mailing list