lockfile 0.6 supports Python 2.x and 3.x

skip at pobox.com skip at pobox.com
Sat Dec 6 21:01:25 CET 2008


I've just released lockfile 0.6.  This version supports Python 2.4, 2.5, 2.6
and 3.0.  It also expands the unit tests a bit.

What is lockfile?  

    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.

Where can I get lockfile?

    The lockfile module is available from the Python Package Index:

        http://pypi.python.org/pypi/lockfile

Please send feedback, questions and bug reports to me.

-- 
Skip Montanaro - skip at pobox.com - http://smontanaro.dyndns.org/


More information about the Python-announce-list mailing list