Tags: tox-dev/filelock
Tags
Fix ValueError in _acquire_transaction_lock when blocking=False with … …timeout (#498) * Fix ValueError in _acquire_transaction_lock when blocking=False with timeout threading.Lock.acquire() raises ValueError when called with blocking=False and a timeout argument, since Python does not allow specifying a timeout for a non-blocking call. Handle blocking=False as a separate branch that never passes a timeout, regardless of the timeout parameter value. * Add test and fix lint for non-blocking with timeout --------- Co-authored-by: Kadir Can Ozden <101993364+bysiber@users.noreply.github.com>
PreviousNext