Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 284 Bytes

File metadata and controls

4 lines (4 loc) · 284 Bytes

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.