]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #22043: Simplify time.perf_counter() on Windows
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 29 Aug 2014 14:51:33 +0000 (16:51 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 29 Aug 2014 14:51:33 +0000 (16:51 +0200)
commit5488449ba467bb9baa8c759c7f8534cb2e8d0224
treea44ed21e7f6b9d8fc5310b5f703f1696fe9499bf
parent0011124dc235fb9af1a80acf3df7edd8816c0a9d
Issue #22043: Simplify time.perf_counter() on Windows

QueryPerformanceFrequency() cannot fail on Windows XP and later according to
its documentation: raise an exception on error and drop the fallback to the
system clock.
Modules/timemodule.c