Platform-independent file locking module
The lockfile module exports a FileLock class which provides a simple API for locking files.
Unlike the Windows msvcrt.locking function, the Unix fcntl.flock, fcntl.lockf and the
deprecated posixfile module, the API is identical across both Unix (including Linux and
Mac) and Windows platforms. The lock mechanism relies on the atomic nature of the link
(on Unix) and mkdir (on Windows) system calls.
- Sources inherited from project SUSE:SLE-12-SP5:GA
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout SUSE:SLE-12-SP5:Update/python-lockfile && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
lockfile-0.10.2.tar.gz | 0000020662 20.2 KB | |
python-lockfile-empty_ident.patch | 0000000546 546 Bytes | |
python-lockfile.changes | 0000002264 2.21 KB | |
python-lockfile.spec | 0000002360 2.3 KB |
Latest Revision
Lubos Kocman (lkocman)
committed
(revision 2)
- jsc#SLE-5706 Required for new package python-python-daemon to SLE:12-SP5. - singlespec auto-conversion - update to version 0.10.2: * Fix package name - additional changes from version 0.10.1: * Add missing cover env in tox - additional changes from version 0.10.0: * Fix documentation bug report address * Add py34 in tox * Remove old diff file * Add .gitreview, tox targets and use pbr * fix for timeout=0 * remove 2.5, 3.1 and 3.4 from the list for the time being - may get added back later * Bugfix: locking two different files in the same directory caused an error during unlocking the last unlocking * typo - update project URL - point the source URL to pypi - add new build dependencies: python-nose, python-pbr and python-setuptools - run the tests during build with nosetests
Comments 0