[issue14318] clarify "may not" in time.steady docs

2012-04-04 Thread STINNER Victor
STINNER Victor added the comment: I close this issue as a duplicate because it is now discussed in the PEP 418 and this PEP is going to change the new time functions (time.highres and time.monotonic/steady). -- resolution: -> duplicate status: open -> closed

[issue14318] clarify "may not" in time.steady docs

2012-03-23 Thread STINNER Victor
STINNER Victor added the comment: > (2) That fragment from the C++ standard suggests that "MAY NOT" ought to > have been replaced by the unambiguous "MUST NOT". No. A program cannot deny the modification of system clock and time.steady() may use the system date. --

[issue14318] clarify "may not" in time.steady docs

2012-03-23 Thread Jim Jewett
Jim Jewett added the comment: (1) How does the user control (or even find out) which clock is used by time.steady()? If the answer is time.steady(clock=QueryPerformanceCounter) then there is no need for strict=?, but then I'm not sure what the point of time.steady itself is. I had been ass

[issue14318] clarify "may not" in time.steady docs

2012-03-19 Thread STINNER Victor
STINNER Victor added the comment: FYI "may not" comes from the C++ Timeout Specification: "Objects of class steady_clock represent clocks for which values of time_point never decrease as physical time advances and for which values of time_point advance at a steady rate relative to real time.

[issue14318] clarify "may not" in time.steady docs

2012-03-19 Thread STINNER Victor
STINNER Victor added the comment: > Does "may not" mean that the user isn't allowed to adjust it, > or that they system won't always have adjusted it? It depends on which clock is used. - clock_gettime(CLOCK_MONOTONIC_RAW) cannot be adjusted - clock_gettime(CLOCK_MONOTONIC) can be adjusted b

[issue14318] clarify "may not" in time.steady docs

2012-03-16 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue14318] clarify "may not" in time.steady docs

2012-03-15 Thread Jim Jewett
New submission from Jim Jewett : http://docs.python.org/dev/library/time.html#time.steady Current: """Return the current time as a floating point number expressed in seconds. This clock advances at a steady rate relative to real time and it may not be adjusted. The reference point of the retur