[issue22287] Use clock_gettime() in pytime.c

2014-08-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8e13ad4e5ae6 by Victor Stinner in branch 'default': Issue #22287: On UNIX, _PyTime_gettimeofday() now uses http://hg.python.org/cpython/rev/8e13ad4e5ae6 -- nosy: +python-dev ___ Python tracker

[issue22287] Use clock_gettime() in pytime.c

2014-08-29 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22287 ___

[issue22287] Use clock_gettime() in pytime.c

2014-08-27 Thread STINNER Victor
New submission from STINNER Victor: On UNIX, time.time() currently uses clock_gettime(), but _PyTime_gettimeofday() doesn't becauce pytime.c lacks a dependency on the librt module (needed on some platforms). Attached patch adds the dependency if needed and modify _PyTime_gettimeofday() to