Trollius issue #7: Fix asyncio.time_monotonic on Windows older than Vista
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
-----------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user