Trollius issue #7: Fix asyncio.time_monotonic on Windows older than Vista

This commit is contained in:
Victor Stinner
2014-05-09 09:19:12 +02:00
parent ba63afe6d9
commit 10a518d92b
2 changed files with 8 additions and 1 deletions

View File

@@ -50,7 +50,7 @@ if os.name == "nt":
# time that an overflow is detected. The epoch is stored in the
# process-local state and so the value of time_monotonic() may be
# different in two Python processes running for more than 49 days.
def time_monotonic(use_info):
def time_monotonic():
ticks = GetTickCount()
if ticks < time_monotonic.last:
# Integer overflow detected

View File

@@ -319,6 +319,13 @@ grow in heavy, wet clay soils.
Change log
==========
Version 0.2.1
-------------
Bugfixes:
* Trollius issue #7: Fix asyncio.time_monotonic on Windows older than Vista
2014-03-04: version 0.2
-----------------------