mirror of
https://github.com/python/cpython.git
synced 2026-05-06 20:51:17 -04:00
3df5c68487
time.perf_counter() on Windows and time.monotonic() on macOS are now system-wide. Previously, they used an offset computed at startup to reduce the precision loss caused by the float type. Use time.perf_counter_ns() and time.monotonic_ns() added in Python 3.7 to avoid this precision loss.
Miscellaneous source files for the main Python shared library