mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	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.
This commit is contained in:
		
							parent
							
								
									071eca3f5c
								
							
						
					
					
						commit
						3d7c878fe3
					
				
					 3 changed files with 6 additions and 2 deletions
				
			
		|  | @ -6,7 +6,7 @@ | |||
|     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'] | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Victor Stinner
						Victor Stinner