Content-Length: 384815 | pFad | https://github.com/python/cpython/issues/113791

85 Missing clock definitions on macOS (time module) · Issue #113791 · python/cpython · GitHub
Skip to content

Missing clock definitions on macOS (time module) #113791

@ronaldoussoren

Description

@ronaldoussoren

Feature or enhancement

Proposal:

time exports a number of CLOCK_* values. MacOS has two constants that aren't exposed here:

  • CLOCK_MONOTONIC_RAW_APPROX
  • CLOCK_UPTIME_RAW_APPROX

Their definitions are the same as the same clocks without _APPROX at the end, but with lower accuracy due to the value only changing at context switches.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/python/cpython/issues/113791

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy