filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, a local account with read access to a native lock file can delay a nonblocking or short-timeout FileLock acquisition. With AsyncFileLock(run_in_executor=False), the delay also blocks unrelated tasks on the event loop. The default executor keeps the loop responsive but an acquisition can still miss its own deadline on the affected release. The delay is caused by a Windows opportunistic lock (oplock). This issue is fixed in version 4.3.0.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub