Skip to content

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

Merged
merged 2 commits into from
Jul 9, 2025

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jul 8, 2025

Copy link
Member

@StanFromIreland StanFromIreland left a 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:

does include time elapsed during sleep and is system-wide. The reference

On Windows, the function is now system-wide.

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.

@vstinner
Copy link
Member Author

vstinner commented Jul 9, 2025

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

I completed my PR to update all occurrences.

Copy link
Member

@StanFromIreland StanFromIreland left a 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:-)

@vstinner vstinner merged commit 9c4d287 into python:main Jul 9, 2025
25 checks passed
@vstinner vstinner deleted the doc_monotonic branch July 9, 2025 23:06
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Jul 9, 2025
@miss-islington-app
Copy link

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 9, 2025
…ythonGH-136431)

(cherry picked from commit 9c4d287)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-app
Copy link

bedevere-app bot commented Jul 9, 2025

GH-136488 is a backport of this pull request to the 3.14 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 9, 2025
…ythonGH-136431)

(cherry picked from commit 9c4d287)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jul 9, 2025
@bedevere-app
Copy link

bedevere-app bot commented Jul 9, 2025

GH-136489 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jul 9, 2025
@vstinner
Copy link
Member Author

vstinner commented Jul 9, 2025

Merged, thanks for the reviews.

vstinner added a commit that referenced this pull request Jul 9, 2025
…H-136431) (#136488)

gh-102740: Clarify time.monotonic() "system-wide" in the doc (GH-136431)
(cherry picked from commit 9c4d287)

Co-authored-by: Victor Stinner <vstinner@python.org>
vstinner added a commit that referenced this pull request Jul 9, 2025
…H-136431) (#136489)

gh-102740: Clarify time.monotonic() "system-wide" in the doc (GH-136431)
(cherry picked from commit 9c4d287)

Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy