Comments (2)
Hi~, @leoleoasd
I also met this problem, Do you know how to solve this problem, or how can I use SoftFileLock instead of FileLock in the system?
Thanks!
from filelock.
import filelock
filelock.FileLock = filelock.SoftFileLock
import other_thing_requires_filelock
from filelock.
Related Issues (20)
- filelock 3.10.0 changes umask to 0 in multithreaded processes, causing world-writable files to be created HOT 23
- Today after after this change poetry installs in Docker/Podman containers started to fail (it depends on filelock which was bumped from 3.10.0 to 3.10.12), from our CI log: HOT 5
- Update os.open to preserve mode= for certain edge cases.
- filelock_test does not catch faulty lock
- Test `test_filelock.py::test_lock_mode_soft` fails if default umask is 002 HOT 1
- document generation failing HOT 1
- filelock 3.11 breaks our multi-threaded parallel processing use case HOT 24
- 3.12.0: test_bad_lock_file[current_directory-UnixFileLock] fails HOT 6
- sdist is missing tox.ini HOT 1
- The type annotation for the `lock_file` `__init__` parameter is too narrow HOT 1
- Why can I acquire the same lock twice? HOT 2
- python 3.11 support HOT 1
- [regression] 12 tests fail with version 3.12.3, 0 tests were failing with version 3.12.2 HOT 1
- typing-extensions is a dependency but is not needed at runtime HOT 5
- Bug: Reentrant behavior does not work with distinct lock objects on the same thread HOT 4
- Using filelock in docker HOT 1
- Python 3.7 support dropoff at version 3.12.3 not reflected in 'Security' section HOT 1
- Request add `RwLock` HOT 1
- Add cancellation tokens support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filelock.