python-portalocker
https://github.com/WoLpH/portalocker
Portalocker is a library to provide an easy API to file locking.
An important detail to note is that on Linux and Unix systems the locks are
advisory by default. By specifying the `-o mand` option to the mount command it
is possible to enable mandatory file locking on Linux. This is generally not
recommended however.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
3
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Rebuild/python-portalocker && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
python-portalocker.changes | 0000003242 3.17 KB | |
python-portalocker.spec | 0000002063 2.01 KB | |
v2.7.0.tar.gz | 0000029787 29.1 KB |
Revision 9 (latest revision is 10)
Dominique Leuenberger (dimstar_suse)
accepted
request 1084960
from
Daniel Garcia (dgarcia)
(revision 9)
- Update to 2.7.0: * Added fail_when_locked=False support to BoundedSemaphore thanks to @flaviens - 2.6.0: * Added fileno() support. Fixes #80 on posix systems - 2.5.1: * Added clear warning when locking in non-blocking mode without specifying either EXCLUSIVE or SHARED mode. Fixes #77 - 2.5.0: * Fixed shared locks on Windows and simplified locking mechanism - 2.4.0: * Added warning when trying to use a timeout in blocking mode. And removed deprecated testing code and checks - 2.3.2: * Added semver indicator and specified needed Python release thanks to @rayluo v2.3.2 - 2.3.1: * Removed Python 2 classifier thanks to @rayluo v2.3.1 - 2.3.0: * enabled PEP 561 compliance v2.3.0 - 2.2.1: * removed debug statement v2.2.1 - 2.2.0: * updated travis location - 2.1.0: * Added Redis based distributed lock which gracefully handles connection loss and dying applications. Added full type hinting support. Fixed bug where the file handle was not always explicitly closed with errors - v2.0.0: * Removed support for old Python versions. Versions 3.5 and above are supported. Added BoundedSemaphore class - 1.7.1: * removed tests from wheel file
Comments 0