summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_poll.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2017-10-18 09:09:57 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-10-18 09:09:57 (GMT)
commitbe4e9cc769aac3cb46670c049b9f21e412be53d1 (patch)
treececaf808562d39817ecaa52ab0056f6229fb0624 /Lib/test/test_poll.py
parent95602b368b87da3702a0f340ded2a23e823bb104 (diff)
downloadcpython-be4e9cc769aac3cb46670c049b9f21e412be53d1.zip
cpython-be4e9cc769aac3cb46670c049b9f21e412be53d1.tar.gz
cpython-be4e9cc769aac3cb46670c049b9f21e412be53d1.tar.bz2
[3.6] bpo-31806: Use _PyTime_ROUND_TIMEOUT for the timeout argument parsing in more functions (GH-4026) (#4032)
Fix timeout rounding in time.sleep(), threading.Lock.acquire() and socket.socket.settimeout() to round correctly negative timeouts between -1.0 and 0.0. The functions now block waiting for events as expected. Previously, the call was incorrectly non-blocking. (cherry picked from commit 59af94fa61bf90adbe624508e909b5d6ef6e8464)
Diffstat (limited to 'Lib/test/test_poll.py')
0 files changed, 0 insertions, 0 deletions