mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +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
|
@ -3,7 +3,7 @@
|
|||
import sys as _sys
|
||||
import _thread
|
||||
|
||||
from time import time as _time, sleep as _sleep
|
||||
from time import steady as _time, sleep as _sleep
|
||||
from traceback import format_exc as _format_exc
|
||||
from _weakrefset import WeakSet
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue