Ned Deily added the comment:
The reason time.thread_time() and several other functions in other modules that
all depend on features in newer versions of macOS were not available in
python.org macOS binaries because the installers are meant to support a range
of operating system releases (rat
New submission from John Belmonte :
time.thread_time is supposed to be available on OS X 10.12 and newer.
Yet it's reported to raise ImportError on macOS Big Sur (11.2.1) on Python
3.9.2 (python.org download). (Reported by Quentin Pradet.)
It is available in other OS X Python builds, such as