[issue14690] Use monotonic time for sched, trace and subprocess modules

2012-05-30 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1345cf58738d by Victor Stinner in branch 'default': Close #14690: Use monotonic clock instead of system clock in the sched, http://hg.python.org/cpython/rev/1345cf58738d -- nosy: +python-dev resolution: -

[issue14690] Use monotonic time for sched, trace and subprocess modules

2012-04-29 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: LGTM. Juste one nitpick: why do you sometimes import the clock source as get_time() and others _time()? _time() looks fine to me. -- ___ Python tracker rep...@bugs.python.org

[issue14690] Use monotonic time for sched, trace and subprocess modules

2012-04-28 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@gmail.com: The PEP 418 added a new time.monotonic() function. The sched, trace and subprocess modules should use it, if available, to avoid issues when the system time is changed. Attached patch uses the time.monotonic() function when

[issue14690] Use monotonic time for sched, trace and subprocess modules

2012-04-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14690 ___ ___ Python-bugs-list

[issue14690] Use monotonic time for sched, trace and subprocess modules

2012-04-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14690 ___ ___