|
|
Log in / Subscribe / Register

lockfile 0.4 announced

From:  skip-AT-pobox.com
To:  python-announce-list-AT-python.org
Subject:  lockfile 0.4
Date:  Sun, 30 Nov 2008 20:01:40 -0600
Message-ID:  <18739.17796.760998.594343@montanaro-dyndns-org.local>

I've just released lockfile 0.4.  I separated the test code from the
lockfile module so the module itself should work on Python 2.4.

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.

-- 
Skip Montanaro - skip@pobox.com - http://smontanaro.dyndns.org/
--
http://mail.python.org/mailman/listinfo/python-announce-list

        Support the Python Software Foundation:
        http://www.python.org/psf/donations.html




to post comments

Where to download

Posted Dec 8, 2008 20:17 UTC (Mon) by chrish (guest, #351) [Link]

For people looking to download said library (since the announcement didn't seem to bother with such mundane details :-) ), here is the relevant url:

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


Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds