STINNER Victor <victor.stin...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue32025> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com