Skip to content
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

Use time.monotonic on py3.3+ #24

Merged

Conversation

MichalHaluza
Copy link
Collaborator

On Python 3.3 or newer, monotonic module aliases time.monotonic from the standard library. On older versions, it will fall back to an equivalent platform specific implementation provided by the monotonic module.
Attempting to import time.monotonic right off the bat removes the need for additional dependency on modern python installations.

On Python 3.3 or newer, `monotonic` module aliases `time.monotonic`
from the standard library. On older versions, it will fall back to
an equivalent platform specific implementation provided by the
`monotonic` module.
Attempting to import `time.monotonic` right off the bat removes
the need for additional dependency on modern python installations.
@MichalHaluza MichalHaluza merged commit 41d6bec into release-engineering:master Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants