lockfile 0.3

skip at pobox.com skip at pobox.com
Fri Jun 20 04:23:04 CEST 2008

Lockfile 0.3 is now available from PyPI:


This version fixed a problem in the 2.4 adapter file and expands the
documentation slightly.  Functionally it is unchanged from 0.2.

What is lockfile?

The lockfile module exports a FileLock class that provides a simple API for
locking files.  Unlike the Windows msvcrt.locking function, the Unix
fcntl.flock and fcntl.lockf functions 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 at pobox.com - http://www.webfast.com/~skip/
"Be different, express yourself like everyone else."

More information about the Python-announce-list mailing list