Namedatomiclock

Latest version: v1.1.3

Safety actively analyzes 621329 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1.3

- Add unit tests
- Better handle the case where a lock expires and another process acquires the expired lock, where version <= 1.1.2 both would think they held the lock. There is still some hairy-ness on reacquisition in this case, which will be handled in 1.2 (requires a design change)

1.1.2

- Fix isHeld method throwing exception when maxLockAge=None (the default)

1.1.1

- Update to note compatible with python 3.5 and python 3.6

1.1.0

- Add "isHeld" property to test if anyone holds the lock
- Don't raise FileNotFoundError in the rare case that the lock is removed
between call to os.path.exists and os.stat

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.