[issue32025] Add time.thread_time()

STINNER Victor report at bugs.python.org
Tue Nov 14 20:48:49 EST 2017


STINNER Victor <victor.stinner at gmail.com> added the comment:

> On other platforms, it can simply raise NotImplementedError.

Would it be possible to not provide the function if it's not supported by a platform?

Do you know platforms which don't support time.thread_time()?

Do you want to add time.thread_time_ns() with nanosecond resolution (PEP 564) ? I suggest to add it to be consistent with time.process_time().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32025>
_______________________________________


More information about the Python-bugs-list mailing list