[issue13846] Add time.monotonic() function

2012-02-23 Thread STINNER Victor
STINNER Victor added the comment: > Boost has a monotonic time implementation (steady_clock) for OS X I opened a new issue for Mac OS X: #14104. -- @Éric: I enhanced the doc. Feel free to complete or rewrite it if you have better information about such clocks. -- __

[issue13846] Add time.monotonic() function

2012-02-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 50b1f2d07011 by Victor Stinner in branch 'default': Issue #13846: Enhance time.monotonic() documentation http://hg.python.org/cpython/rev/50b1f2d07011 -- ___ Python tracker

[issue13846] Add time.monotonic() function

2012-02-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Boost has a monotonic time implementation (steady_clock) for OS X: http://svn.boost.org/svn/boost/trunk/boost/chrono/detail/inlined/mac/chrono.hpp -- nosy: +ned.deily, pitrou ___ Python tracker

[issue13846] Add time.monotonic() function

2012-02-08 Thread Éric Araujo
Éric Araujo added the comment: Victor, I think the doc doesn’t say why the function is useful for people like me who don’t already know it. David’s explanation could be reused. -- ___ Python tracker

[issue13846] Add time.monotonic() function

2012-02-07 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue13846] Add time.monotonic() function

2012-02-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 376ce937823c by Victor Stinner in branch 'default': Issue #13846: Add time.monotonic(), monotonic clock. http://hg.python.org/cpython/rev/376ce937823c -- nosy: +python-dev ___ Python tracker

[issue13846] Add time.monotonic() function

2012-02-03 Thread Éric Araujo
Éric Araujo added the comment: Thanks, now I see the usefulness. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue13846] Add time.monotonic() function

2012-02-03 Thread R. David Murray
R. David Murray added the comment: If you are trying to time something (an interval), having the time go backward can really screw up your data. And that *will* happen on a system that is running NTP (or even just resets its time). monotonic clocks were introduced at the OS level for a reas

[issue13846] Add time.monotonic() function

2012-02-03 Thread Éric Araujo
Éric Araujo added the comment: I don’t understand why this new function would be useful. Time-related modules in Python are already complicated. -- nosy: +eric.araujo ___ Python tracker _

[issue13846] Add time.monotonic() function

2012-01-29 Thread STINNER Victor
STINNER Victor added the comment: > Do we actually yet another function, or could this be covered by adding a > parameter such as monotonic=False, perhaps to wallclock(). A monotonic is a different clock, it would be surprising that an argument uses another clock. --

[issue13846] Add time.monotonic() function

2012-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do we actually yet another function, or could this be covered by adding a parameter such as monotonic=False, perhaps to wallclock(). -- nosy: +terry.reedy stage: -> patch review type: -> enhancement ___ Python tra

[issue13846] Add time.monotonic() function

2012-01-24 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue13846] Add time.monotonic() function

2012-01-23 Thread Ross Lagerwall
Changes by Ross Lagerwall : -- nosy: +rosslagerwall ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue13846] Add time.monotonic() function

2012-01-23 Thread STINNER Victor
New submission from STINNER Victor : After time.wallclock() (issue #10278), let add a time.monotomic() function. It is similar to time.wallclock() (try to get the most accurate clock) but is not available if the system doesn't provide a monotonic clock. It may also fail at runtime if Python ca