From 3d7c878fe370e59b142bac9bc32c67b4ac9d949e Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 15 Mar 2012 01:22:16 +0100 Subject: Issue #14222: Use the new time.steady() function instead of time.time() for timeout in queue and threading modules to not be affected of system time update. --- Lib/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/queue.py') diff --git a/Lib/queue.py b/Lib/queue.py index ba608c5a4c..1dc72c4bbe 100644 --- a/Lib/queue.py +++ b/Lib/queue.py @@ -6,7 +6,7 @@ except ImportError: import dummy_threading as threading from collections import deque from heapq import heappush, heappop -from time import time +from time import steady as time __all__ = ['Empty', 'Full', 'Queue', 'PriorityQueue', 'LifoQueue'] -- cgit v1.2.1