-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
gh-102740: Clarify time.monotonic() "system-wide" in the doc #136431
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While this is great (for these two occurrences), I do not think this is the best way, since there are several (apart from the corrected two) cases:
Line 328 in bc9bc07
does include time elapsed during sleep and is system-wide. The reference |
Line 343 in bc9bc07
On Windows, the function is now system-wide. |
Line 990 in bc9bc07
System-wide real-time clock. Setting this clock requires appropriate |
It would be good to explain the term, maybe with the use of a glossary entry? This has the benefit of keeping the versionadded::
notes brief.
I completed my PR to update all occurrences. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Updating them all also works:-)
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…ythonGH-136431) (cherry picked from commit 9c4d287) Co-authored-by: Victor Stinner <vstinner@python.org>
GH-136488 is a backport of this pull request to the 3.14 branch. |
…ythonGH-136431) (cherry picked from commit 9c4d287) Co-authored-by: Victor Stinner <vstinner@python.org>
GH-136489 is a backport of this pull request to the 3.13 branch. |
Merged, thanks for the reviews. |
📚 Documentation preview 📚: https://cpython-previews--136431.org.readthedocs.build/