-
-
Notifications
You must be signed in to change notification settings - Fork 29.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify "system-wide" in docs for time.monotonic() #102740
Comments
+1 from me. I've just spend time searching the Web and asking on IRC because I wanted to know whether it's safe to use I think it would be good for the cross-thread and cross-process behavior of these functions to be documented in a clearer and more prominent way, rather than just being mentioned in the version change notes. Maybe something like this?
If this is too much text, then perhaps the docs could use a single suffix consistently (instead of "system-wide" and "process-wide", but "thread-specific") and define it at the top? Edited to add: While we're discussing the docs of
So what about macOS on Python 3.5 to 3.9? |
The documentation for
time.monotonic()
currently states:I didn't know what system-wide meant, and so propose expanding the documentation to:
Or anything equally enlightening. This would make it clear, that among other things, the delta may not be valid across reboots.
The text was updated successfully, but these errors were encountered: