It is not clear why I can acquire the same lock more than once e.g.
from filelock import Timeout, FileLock
file_path = "high_ground.txt"
lock_path = "high_ground.txt.lock"
lock = FileLock(lock_path, timeout=1)
lock.acquire()
lock.acquire()
Shouldn't this throw an error?
It is not clear why I can acquire the same lock more than once e.g.
Shouldn't this throw an error?