Geoffrey Spear added the comment:
Per pitrou's suggestion, eliminate get_time altogether and use _PyTime_INTERVAL
macro.
--
Added file: http://bugs.python.org/file35340/issue21555-3.patch
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset d151ee749f5a by Antoine Pitrou in branch 'default':
Issue #21555: simplify code in gcmodule.c by using the pytime.h functions
instead of trying to call time.time() via the C API.
http://hg.python.org/cpython/rev/d151ee749f5a
--
nosy:
Antoine Pitrou added the comment:
Patch committed. Thank you for contributing, Geoffrey!
--
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21555
Changes by Geoffrey Spear geoffsp...@gmail.com:
--
nosy: +geoffreyspear
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21555
___
___
Geoffrey Spear added the comment:
Attached patch replaces call to Python time.time() with _PyTime_gettimeofday()
call.
--
keywords: +patch
Added file: http://bugs.python.org/file35324/issue21555.patch
___
Python tracker rep...@bugs.python.org
Geoffrey Spear added the comment:
revised patch; thanks to berkerpeksag's code review.
--
Added file: http://bugs.python.org/file35325/issue21555-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21555
New submission from Antoine Pitrou:
gcmodule.c is able to displayed elapsed time of garbage collection runs. It
currently does it by poking inside the time module to call time.time() and
convert it to a C double. It could instead use the new pytime.h facilities.
--
components:
Changes by Sunny K sunfin...@gmail.com:
--
nosy: +sunfinite
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21555
___
___
Python-bugs-list mailing
Changes by Maciej Szulik solt...@gmail.com:
--
nosy: +maciej.szulik
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21555
___
___
Python-bugs-list
Changes by Nikolaus Rath nikol...@rath.org:
--
nosy: +nikratio
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21555
___
___
Python-bugs-list
10 matches
Mail list logo