+0
Daily
990
stars
185
forks
9
watchers
715
prs
204
issues
148
releases
README
filelock For more information checkout the official documentation.
Top issues
#9174.2.9: new test failure1 comments · 2026-11-08#932BaseFileLock.__del__ raises AttributeError at interpreter shutdown (os is None)0 comments · 2026-11-15
Discussions
#677filelock support Termux?1 comments · 2026-07-17#532try_break_stale_lock and malformed lock file1 comments · 2026-04-19#531Why no stale lock detection on windows?3 comments · 2026-04-19#329filelock in multithreaded env1 comments · 2024-05-20#262Why can I acquire the same lock twice?2 comments · 2023-08-17#189Distributed setting: Multiple nodes accessing network-shared mapped drive1 comments · 2023-01-02#186os.set_inheritable(fd, False) is required0 comments · 2023-01-01#116What happens to a lock when the process is killed?1 comments · 2021-11-03
Latest release
4.2.10 4.2.10 2026-11-09Bug fixes - Contended FileLock and SoftFileLock acquisitions now raise Timeout when elapsed time reaches the requested timeout. A clock that landed exactly on the deadline previously left a waiter retrying with zero-length sleeps indefinitely (922) by @gaborbernat. Packaging - Every wheel now carries a PEP 770 CycloneDX SBOM in its .dist-info/sboms directory, written at build time by python-sbom (921) by @gaborbernat. 🐍 PyPI release 📜 Full Changelog