summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2017-10-17-23-27-03.bpo-31806.TzphdL.rst
blob: 941e77d51970ff0a315fdcc56df91c0093c02eaf (plain)
1
2
3
4
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. Patch by Pablo Galindo.